Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002604/0.002604, allocations: 188.8 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 207.6 MB / 232.8 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3031/0.3031, allocations: 55.68 MB / 340.7 MB, free: 13.98 MB / 286.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Annex60.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 78.22 kB / 482 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.4622, allocations: 62.86 MB / 0.5321 GB, free: 7.934 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003982/0.4662, allocations: 1.969 MB / 0.5341 GB, free: 6.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.4676, allocations: 0.7626 MB / 0.5348 GB, free: 6.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.4677, allocations: 7.281 kB / 0.5348 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.468, allocations: 85.92 kB / 0.5349 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.4682, allocations: 87.09 kB / 0.535 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006741/0.4688, allocations: 194.1 kB / 0.5352 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.4692, allocations: 264.3 kB / 0.5354 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.4694, allocations: 49.42 kB / 0.5355 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.4695, allocations: 120.3 kB / 0.5356 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.4698, allocations: 158.8 kB / 0.5357 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.136e-05/0.4699, allocations: 21.25 kB / 0.5357 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.4701, allocations: 95.22 kB / 0.5358 GB, free: 5.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.901e-05/0.4702, allocations: 59.81 kB / 0.5359 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.4703, allocations: 103.4 kB / 0.536 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004783/0.4708, allocations: 314.1 kB / 0.5363 GB, free: 5.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4708, allocations: 1.094 kB / 0.5363 GB, free: 5.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4708, allocations: 0 / 0.5363 GB, free: 5.375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.4708, allocations: 0 / 0.5363 GB, free: 5.375 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009136/0.4717, allocations: 0.521 MB / 0.5368 GB, free: 4.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4717, allocations: 8.812 kB / 0.5368 GB, free: 4.941 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.526e-05/0.4718, allocations: 27.98 kB / 0.5368 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.4724, allocations: 241 kB / 0.5371 GB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.4725, allocations: 19.31 kB / 0.5371 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/0.4725, allocations: 12.94 kB / 0.5371 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/0.4729, allocations: 234 kB / 0.5373 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.473, allocations: 0 / 0.5373 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.473, allocations: 2.25 kB / 0.5373 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.473, allocations: 3.344 kB / 0.5373 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.4733, allocations: 132.1 kB / 0.5374 GB, free: 4.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009477/0.4742, allocations: 0.6502 MB / 0.5381 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004571/0.4747, allocations: 163.8 kB / 0.5382 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.4749, allocations: 86.25 kB / 0.5383 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.4749, allocations: 2.125 kB / 0.5383 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000399/0.4753, allocations: 170 kB / 0.5385 GB, free: 3.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.4753, allocations: 3.938 kB / 0.5385 GB, free: 3.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.00108/0.4764, allocations: 377.8 kB / 0.5389 GB, free: 3.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.386e-05/0.4765, allocations: 132.9 kB / 0.539 GB, free: 3.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/0.4769, allocations: 290.9 kB / 0.5393 GB, free: 3.355 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.477, allocations: 32.11 kB / 0.5393 GB, free: 3.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.4771, allocations: 159.7 kB / 0.5394 GB, free: 3.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.4772, allocations: 41.66 kB / 0.5395 GB, free: 3.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-05/0.4772, allocations: 41.12 kB / 0.5395 GB, free: 3.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.4773, allocations: 341.8 kB / 0.5398 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.4776, allocations: 90.97 kB / 0.5399 GB, free: 2.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.4778, allocations: 130 kB / 0.5401 GB, free: 2.695 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.4782, allocations: 240.2 kB / 0.5403 GB, free: 2.555 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4782, allocations: 0 / 0.5403 GB, free: 2.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007696/0.479, allocations: 341.3 kB / 0.5406 GB, free: 2.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.866e-05/0.4791, allocations: 40.08 kB / 0.5406 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.4791, allocations: 1.219 kB / 0.5406 GB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.4791, allocations: 7.125 kB / 0.5407 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.4793, allocations: 20.66 kB / 0.5407 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.4793, allocations: 6.516 kB / 0.5407 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.4794, allocations: 26.55 kB / 0.5407 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.4795, allocations: 5.719 kB / 0.5407 GB, free: 2.355 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 (ySet.nextEventScaled,ySet.nextEvent,$PRE.ySet.nextEvent,ySet.last,ySet.b,ySet.a,mot.lowHys.y,$PRE.mot.lowHys.y,mot.uppHys.y,$PRE.mot.uppHys.y,$whenCondition1,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002241/0.4797, allocations: 193.7 kB / 0.5409 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.166e-05/0.4797, allocations: 25.17 kB / 0.5409 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.498e-05/0.4798, allocations: 34.73 kB / 0.541 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.4798, allocations: 5.5 kB / 0.541 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.4798, allocations: 0.7031 kB / 0.541 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4798, allocations: 0.5 kB / 0.541 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.4802, allocations: 269.5 kB / 0.5412 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4802, allocations: 3.938 kB / 0.5412 GB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.4803, allocations: 19.11 kB / 0.5412 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4803, allocations: 1.125 kB / 0.5412 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.4803, allocations: 8.891 kB / 0.5412 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4803, allocations: 0 / 0.5412 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4803, allocations: 5.156 kB / 0.5413 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007834/0.4811, allocations: 463.9 kB / 0.5417 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.4811, allocations: 24.25 kB / 0.5417 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.4812, allocations: 9.75 kB / 0.5417 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.4813, allocations: 14.75 kB / 0.5417 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.561e-05/0.4814, allocations: 32.61 kB / 0.5418 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.4814, allocations: 4.969 kB / 0.5418 GB, free: 1.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.4816, allocations: 203.4 kB / 0.542 GB, free: 1.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4816, allocations: 0 / 0.542 GB, free: 1.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003319/0.4819, allocations: 65.3 kB / 0.542 GB, free: 1.555 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * Number of discrete states: 8 (mot.lowHys.y,mot.uppHys.y,ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001793/0.4821, allocations: 123.8 kB / 0.5422 GB, free: 1.461 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005016/0.4826, allocations: 263.3 kB / 0.5424 GB, free: 1.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4826, allocations: 1.344 kB / 0.5424 GB, free: 1.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.4829, allocations: 156.4 kB / 0.5426 GB, free: 1.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.4832, allocations: 30.05 kB / 0.5426 GB, free: 1.242 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.4843, allocations: 488.2 kB / 0.543 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.4846, allocations: 0.7539 MB / 0.5438 GB, free: 272 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.448e-05/0.4847, allocations: 14.48 kB / 0.5438 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.4847, allocations: 18.58 kB / 0.5438 GB, free: 260 kB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4847, allocations: 4 kB / 0.5438 GB, free: 256 kB / 398.1 MB Notification: Performance of Templates: time 0.008504/0.4932, allocations: 2.935 MB / 0.5467 GB, free: 20 kB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8634540075436234] Failed to read output from testmodel.py, exit status != 0: 0.5022826008498669 0.518999338 0.044775856 Calling exit ...