Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.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.001383/0.001383, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] 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.001607/0.001607, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 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.492/1.492, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.208/1.208, allocations: 154.8 MB / 414.3 MB, free: 472 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.5198 GB, free: 2.301 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.369e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.297 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003858/0.003892, allocations: 1.919 MB / 0.5217 GB, free: 396 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.005419, allocations: 0.7002 MB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.005536, allocations: 7.938 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.005837, allocations: 84.36 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.006015, allocations: 94.19 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.006639, allocations: 184.3 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.007032, allocations: 255.4 kB / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.007195, allocations: 55.33 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.007436, allocations: 159.6 kB / 0.5232 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.007678, allocations: 137 kB / 0.5233 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.91e-05/0.007727, allocations: 20 kB / 0.5233 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.007915, allocations: 95.84 kB / 0.5234 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 9.737e-05/0.008012, allocations: 64.55 kB / 0.5235 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.44e-05/0.008107, allocations: 51.86 kB / 0.5235 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004883/0.008595, allocations: 336.4 kB / 0.5239 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.008598, allocations: 0 / 0.5239 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.52e-07/0.008599, allocations: 0 / 0.5239 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.008605, allocations: 0 / 0.5239 GB, free: 14.18 MB / 0.4948 GB 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.001001/0.009606, allocations: 0.5126 MB / 0.5244 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.009645, allocations: 8.031 kB / 0.5244 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.009748, allocations: 36.8 kB / 0.5244 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006048/0.01035, allocations: 254.8 kB / 0.5247 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.01038, allocations: 12.38 kB / 0.5247 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/0.01043, allocations: 17.34 kB / 0.5247 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005496/0.01098, allocations: 309.7 kB / 0.525 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.01099, allocations: 192 / 0.525 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.01102, allocations: 12.12 kB / 0.525 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.01103, allocations: 0.9375 kB / 0.525 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003329/0.01136, allocations: 166 kB / 0.5252 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009618/0.01232, allocations: 0.5776 MB / 0.5257 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004535/0.01277, allocations: 188.9 kB / 0.5259 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.013, allocations: 124.3 kB / 0.526 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.01301, allocations: 0 / 0.526 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003799/0.01339, allocations: 214.7 kB / 0.5262 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.01339, allocations: 0 / 0.5262 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0009156/0.01431, allocations: 441.5 kB / 0.5266 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.01443, allocations: 135 kB / 0.5268 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.01479, allocations: 269.8 kB / 0.527 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.01483, allocations: 33.7 kB / 0.5271 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.01498, allocations: 152.4 kB / 0.5272 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.02e-05/0.01504, allocations: 51.62 kB / 0.5273 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.853e-05/0.01513, allocations: 37.7 kB / 0.5273 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000213/0.01534, allocations: 334.8 kB / 0.5276 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.01557, allocations: 124.7 kB / 0.5277 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/0.01589, allocations: 221.5 kB / 0.5279 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/0.0163, allocations: 243.9 kB / 0.5282 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.0163, allocations: 1.562 kB / 0.5282 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006689/0.01697, allocations: 385.3 kB / 0.5285 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.399e-05/0.01703, allocations: 41.69 kB / 0.5286 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01703, allocations: 0 / 0.5286 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.01706, allocations: 4 kB / 0.5286 GB, free: 9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.01719, allocations: 23.92 kB / 0.5286 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.0172, allocations: 4 kB / 0.5286 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.01733, allocations: 22.62 kB / 0.5286 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.01735, allocations: 12 kB / 0.5286 GB, free: 8.941 MB / 0.4948 GB 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.0002281/0.01758, allocations: 190.7 kB / 0.5288 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.058e-05/0.01765, allocations: 35.8 kB / 0.5289 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.871e-05/0.01771, allocations: 29.77 kB / 0.5289 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.01771, allocations: 5.188 kB / 0.5289 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.01772, allocations: 4 kB / 0.5289 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.01772, allocations: 0 / 0.5289 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.01799, allocations: 202.1 kB / 0.5291 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.01799, allocations: 0 / 0.5291 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.0181, allocations: 17.86 kB / 0.5291 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.01811, allocations: 7.938 kB / 0.5291 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.01813, allocations: 7.984 kB / 0.5291 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.01814, allocations: 4 kB / 0.5291 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.01814, allocations: 0 / 0.5291 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009461/0.01909, allocations: 0.5202 MB / 0.5296 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.01913, allocations: 27.77 kB / 0.5297 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.01917, allocations: 8.656 kB / 0.5297 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.01929, allocations: 17.48 kB / 0.5297 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.907e-05/0.01939, allocations: 23.95 kB / 0.5297 GB, free: 7.781 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.01941, allocations: 7.984 kB / 0.5297 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002398/0.01965, allocations: 193.2 kB / 0.5299 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01965, allocations: 0.8438 kB / 0.5299 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003176/0.01997, allocations: 59.89 kB / 0.53 GB, free: 7.531 MB / 0.4948 GB 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.0002524/0.02022, allocations: 136.7 kB / 0.5301 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006129/0.02083, allocations: 327.5 kB / 0.5304 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.02084, allocations: 0 / 0.5304 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.02112, allocations: 185.9 kB / 0.5306 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.02147, allocations: 40.06 kB / 0.5306 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.02277, allocations: 493.9 kB / 0.5311 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.02299, allocations: 140 kB / 0.5312 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001041/0.02309, allocations: 16.64 kB / 0.5312 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/0.02316, allocations: 20.5 kB / 0.5313 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of SimCode: time 1.664e-06/0.02316, allocations: 0 / 0.5313 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of Templates: time 0.009012/0.03217, allocations: 2.884 MB / 0.5341 GB, free: 3.383 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.934125186991878]