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.0009271/0.0009271, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001468/0.001468, allocations: 173 kB / 23.49 MB, free: 1.055 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.004/1.004, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7911/0.7911, allocations: 154.8 MB / 415.1 MB, free: 0.4961 MB / 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 179] 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 3.447e-06/3.447e-06, allocations: 0 / 0.5206 GB, free: 2.277 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.154e-05/5.498e-05, allocations: 4.672 kB / 0.5206 GB, free: 2.273 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.005119/0.005174, allocations: 1.982 MB / 0.5225 GB, free: 312 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.00714, allocations: 0.7106 MB / 0.5232 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.007348, allocations: 7.938 kB / 0.5232 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.007674, allocations: 81.78 kB / 0.5233 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.007847, allocations: 92.52 kB / 0.5234 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008199/0.008667, allocations: 184.9 kB / 0.5235 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004554/0.009123, allocations: 264.5 kB / 0.5238 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.00932, allocations: 56.2 kB / 0.5238 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/0.009635, allocations: 155.7 kB / 0.524 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003738/0.01001, allocations: 136.5 kB / 0.5241 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.409e-05/0.01008, allocations: 21.28 kB / 0.5241 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.01032, allocations: 87.88 kB / 0.5242 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.01043, allocations: 63.77 kB / 0.5243 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.01054, allocations: 63.77 kB / 0.5243 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005062/0.01104, allocations: 240.6 kB / 0.5246 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.01105, allocations: 0 / 0.5246 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.954e-06/0.01105, allocations: 0 / 0.5246 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.01106, allocations: 0.7812 kB / 0.5246 GB, free: 14.17 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.001083/0.01214, allocations: 0.6041 MB / 0.5252 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.0122, allocations: 8.031 kB / 0.5252 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.01234, allocations: 44.75 kB / 0.5252 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005565/0.01289, allocations: 241.8 kB / 0.5254 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/0.01293, allocations: 16.38 kB / 0.5255 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.01298, allocations: 12.38 kB / 0.5255 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004564/0.01343, allocations: 277.1 kB / 0.5257 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.01344, allocations: 192 / 0.5257 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.01347, allocations: 8.125 kB / 0.5257 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.01348, allocations: 4.969 kB / 0.5258 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.01368, allocations: 94 kB / 0.5258 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.01476, allocations: 0.7138 MB / 0.5265 GB, free: 12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.01501, allocations: 109.5 kB / 0.5266 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.01512, allocations: 70.14 kB / 0.5267 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.01514, allocations: 0.875 kB / 0.5267 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002488/0.01539, allocations: 160.3 kB / 0.5269 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/0.01539, allocations: 1.219 kB / 0.5269 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0005386/0.01593, allocations: 266.6 kB / 0.5271 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/0.01601, allocations: 137 kB / 0.5272 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.01631, allocations: 304.3 kB / 0.5275 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.01634, allocations: 31.48 kB / 0.5276 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.01649, allocations: 207.1 kB / 0.5278 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.01654, allocations: 47.58 kB / 0.5278 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.751e-05/0.01663, allocations: 47.36 kB / 0.5279 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.01684, allocations: 0.5134 MB / 0.5284 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.01694, allocations: 61.59 kB / 0.5284 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.0171, allocations: 177.7 kB / 0.5286 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.01731, allocations: 163.8 kB / 0.5287 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01731, allocations: 0 / 0.5287 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003747/0.01769, allocations: 248.7 kB / 0.529 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.504e-05/0.01774, allocations: 40.31 kB / 0.529 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.01775, allocations: 0 / 0.529 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.01777, allocations: 0 / 0.529 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.01791, allocations: 27.98 kB / 0.529 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.01792, allocations: 3.938 kB / 0.529 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.01803, allocations: 19.88 kB / 0.5291 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.01805, allocations: 8 kB / 0.5291 GB, free: 9.156 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.0001673/0.01822, allocations: 211.6 kB / 0.5293 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.01827, allocations: 35.8 kB / 0.5293 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.351e-05/0.01833, allocations: 25.77 kB / 0.5293 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01833, allocations: 2.906 kB / 0.5293 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.01834, allocations: 4 kB / 0.5293 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.01834, allocations: 3.984 kB / 0.5293 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.01858, allocations: 216.5 kB / 0.5296 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.01858, allocations: 0 / 0.5296 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.01868, allocations: 15.92 kB / 0.5296 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.01869, allocations: 7.938 kB / 0.5296 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.01871, allocations: 6.75 kB / 0.5296 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.01871, allocations: 4 kB / 0.5296 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.01872, allocations: 3.984 kB / 0.5296 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005165/0.01923, allocations: 339.5 kB / 0.5299 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.01927, allocations: 19.8 kB / 0.5299 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.01931, allocations: 8 kB / 0.5299 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.861e-05/0.0194, allocations: 11.98 kB / 0.53 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.01951, allocations: 28.67 kB / 0.53 GB, free: 8.148 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.01953, allocations: 4 kB / 0.53 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002127/0.01974, allocations: 206.6 kB / 0.5302 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.31e-07/0.01974, allocations: 0 / 0.5302 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003887/0.02013, allocations: 63.88 kB / 0.5302 GB, free: 7.887 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.0002704/0.0204, allocations: 127.3 kB / 0.5304 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000394/0.0208, allocations: 231.5 kB / 0.5306 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.0208, allocations: 0 / 0.5306 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.02097, allocations: 149.5 kB / 0.5307 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.02132, allocations: 41.36 kB / 0.5308 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008882/0.02221, allocations: 421.1 kB / 0.5312 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.707e-05/0.02228, allocations: 88.66 kB / 0.5313 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.744e-05/0.02237, allocations: 16.55 kB / 0.5313 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.02243, allocations: 19.25 kB / 0.5313 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of SimCode: time 1.492e-06/0.02243, allocations: 0 / 0.5313 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of Templates: time 0.007325/0.02976, allocations: 2.898 MB / 0.5341 GB, free: 3.969 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.995791604043916]