Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Rotational.Drive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 177.2 MB / 199.4 MB, free: 8.453 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 161.4 kB / 256 MB, free: 4.344 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.03985/0.03985, allocations: 6.659 MB / 319 MB, free: 5.406 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") translateModel(HanserModelica.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 445.9 MB, free: 25.24 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.895e-05, allocations: 2.281 kB / 445.9 MB, free: 25.23 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.002389/0.002408, allocations: 2.005 MB / 447.9 MB, free: 23.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.003779, allocations: 1.064 MB / 449 MB, free: 22.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.381e-05/0.003873, allocations: 7.938 kB / 449 MB, free: 22.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.004171, allocations: 127.4 kB / 449.1 MB, free: 22.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003117/0.004483, allocations: 151.2 kB / 449.2 MB, free: 21.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.004684, allocations: 115.5 kB / 449.3 MB, free: 21.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.004886, allocations: 231.1 kB / 449.6 MB, free: 21.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.004993, allocations: 25.8 kB / 449.6 MB, free: 21.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.005122, allocations: 135.7 kB / 449.7 MB, free: 21.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.005259, allocations: 99.81 kB / 449.8 MB, free: 21.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.005287, allocations: 12 kB / 449.8 MB, free: 21.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.152e-05/0.005378, allocations: 59.84 kB / 449.9 MB, free: 21.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.005437, allocations: 43.84 kB / 449.9 MB, free: 21.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.996e-05/0.005497, allocations: 55.78 kB / 450 MB, free: 21.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.005737, allocations: 235.2 kB / 450.2 MB, free: 20.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.00574, allocations: 0 / 450.2 MB, free: 20.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00574, allocations: 0 / 450.2 MB, free: 20.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.005744, allocations: 0 / 450.2 MB, free: 20.87 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005361/0.00628, allocations: 449.1 kB / 450.7 MB, free: 20.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.00631, allocations: 15.98 kB / 450.7 MB, free: 20.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.428e-05/0.006364, allocations: 24.8 kB / 450.7 MB, free: 20.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.006594, allocations: 190.2 kB / 450.9 MB, free: 20.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.006609, allocations: 8.609 kB / 450.9 MB, free: 20.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.006635, allocations: 12.38 kB / 450.9 MB, free: 20.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.006882, allocations: 142 kB / 451 MB, free: 19.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.006899, allocations: 7.891 kB / 451.1 MB, free: 19.97 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.006916, allocations: 15.94 kB / 451.1 MB, free: 19.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.006921, allocations: 0 / 451.1 MB, free: 19.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.007067, allocations: 76.66 kB / 451.1 MB, free: 19.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.007677, allocations: 0.5034 MB / 451.7 MB, free: 19.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.007889, allocations: 94.55 kB / 451.7 MB, free: 19.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.154e-05/0.00796, allocations: 36.84 kB / 451.8 MB, free: 19.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.007977, allocations: 0 / 451.8 MB, free: 19.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.008125, allocations: 91.25 kB / 451.9 MB, free: 19.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.008126, allocations: 0 / 451.9 MB, free: 19.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003413/0.008467, allocations: 161.4 kB / 452 MB, free: 18.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.008492, allocations: 51.41 kB / 452.1 MB, free: 18.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.008687, allocations: 289.7 kB / 452.4 MB, free: 18.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.008699, allocations: 29.7 kB / 452.4 MB, free: 18.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.162e-05/0.008761, allocations: 144.2 kB / 452.5 MB, free: 18.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.008785, allocations: 39.69 kB / 452.6 MB, free: 18.35 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.008828, allocations: 29.7 kB / 452.6 MB, free: 18.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 4.507e-05/0.008873, allocations: 326.8 kB / 452.9 MB, free: 17.99 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.406e-05/0.008947, allocations: 35.98 kB / 453 MB, free: 17.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.681e-05/0.009024, allocations: 64.27 kB / 453 MB, free: 17.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.00917, allocations: 112.2 kB / 453.1 MB, free: 17.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.009172, allocations: 0 / 453.1 MB, free: 17.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002254/0.009398, allocations: 149.4 kB / 453.3 MB, free: 17.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.009409, allocations: 8 kB / 453.3 MB, free: 17.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.009414, allocations: 0 / 453.3 MB, free: 17.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.009427, allocations: 4.125 kB / 453.3 MB, free: 17.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.009566, allocations: 31.92 kB / 453.3 MB, free: 17.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.009572, allocations: 4 kB / 453.3 MB, free: 17.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.533e-05/0.009647, allocations: 15.89 kB / 453.3 MB, free: 17.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.009657, allocations: 4 kB / 453.3 MB, free: 17.53 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.285e-05/0.00974, allocations: 144.9 kB / 453.5 MB, free: 17.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.009766, allocations: 27.8 kB / 453.5 MB, free: 17.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.01003, allocations: 139.4 kB / 453.6 MB, free: 17.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01003, allocations: 7.922 kB / 453.6 MB, free: 17.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.01003, allocations: 0 / 453.6 MB, free: 17.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01004, allocations: 8 kB / 453.7 MB, free: 17.2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.01015, allocations: 173.2 kB / 453.8 MB, free: 17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01015, allocations: 0 / 453.8 MB, free: 17 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.01027, allocations: 19.98 kB / 453.8 MB, free: 16.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.01027, allocations: 0 / 453.8 MB, free: 16.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.01028, allocations: 7.938 kB / 453.9 MB, free: 16.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01028, allocations: 0 / 453.9 MB, free: 16.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01029, allocations: 8 kB / 453.9 MB, free: 16.97 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.01059, allocations: 201 kB / 454.1 MB, free: 16.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.01061, allocations: 19.86 kB / 454.1 MB, free: 16.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.01064, allocations: 16.31 kB / 454.1 MB, free: 16.72 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.363e-05/0.0107, allocations: 4 kB / 454.1 MB, free: 16.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.01074, allocations: 7.984 kB / 454.1 MB, free: 16.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.01075, allocations: 4 kB / 454.1 MB, free: 16.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001291/0.01088, allocations: 217.1 kB / 454.3 MB, free: 16.49 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01088, allocations: 0 / 454.3 MB, free: 16.49 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.01113, allocations: 43.89 kB / 454.4 MB, free: 16.45 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.w,load.phi) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001538/0.01267, allocations: 435 kB / 454.8 MB, free: 16.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.01288, allocations: 87.78 kB / 454.9 MB, free: 16.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.01288, allocations: 4 kB / 454.9 MB, free: 16.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.641e-05/0.01297, allocations: 39.97 kB / 454.9 MB, free: 16.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.01328, allocations: 40.41 kB / 455 MB, free: 16.03 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006915/0.01397, allocations: 458.3 kB / 455.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.759e-05/0.01405, allocations: 132.1 kB / 455.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.438e-05/0.01411, allocations: 17.48 kB / 455.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.01415, allocations: 20.48 kB / 455.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.01415, allocations: 0 / 455.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of Templates: time 0.005166/0.01932, allocations: 2.144 MB / 457.7 MB, free: 13.27 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Rotational.Drive.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Rotational.Drive.pipe ; mkfifo HanserModelica_HanserModelica.Rotational.Drive.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Rotational.Drive.pipe >> ../files/HanserModelica_HanserModelica.Rotational.Drive.sim & ./HanserModelica_HanserModelica.Rotational.Drive -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.Drive.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.436392068862915] Failed to read output from testmodel.py, exit status != 0: 0.025719739496707916 0.036320224000000005 0.028112198 Calling exit ...