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.001998/0.001998, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.003163/0.003163, allocations: 216.1 kB / 22.25 MB, free: 4.855 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 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-531:190: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-531:198: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.28/1.28, allocations: 203.8 MB / 0.5041 GB, free: 4.59 MB / 414.1 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 72.11 kB / 0.7186 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6202/0.6227, allocations: 102 MB / 0.8183 GB, free: 28.9 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003465/0.6261, allocations: 1.917 MB / 0.8201 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.6275, allocations: 0.6995 MB / 0.8208 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.6276, allocations: 6.812 kB / 0.8208 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0002846/0.6279, allocations: 78.98 kB / 0.8209 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.6281, allocations: 90.17 kB / 0.821 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006667/0.6287, allocations: 192.7 kB / 0.8212 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003897/0.6291, allocations: 261.6 kB / 0.8214 GB, free: 26.9 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.6293, allocations: 53.33 kB / 0.8215 GB, free: 26.87 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.6295, allocations: 120.2 kB / 0.8216 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.6298, allocations: 153.2 kB / 0.8217 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.6298, allocations: 20 kB / 0.8217 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.63, allocations: 92.5 kB / 0.8218 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 8.789e-05/0.6301, allocations: 55.11 kB / 0.8219 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 9.953e-05/0.6302, allocations: 83.59 kB / 0.822 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004561/0.6306, allocations: 310.1 kB / 0.8223 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6306, allocations: 6.312 kB / 0.8223 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6306, allocations: 0 / 0.8223 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.6306, allocations: 0 / 0.8223 GB, free: 26.55 MB / 0.6387 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.0008547/0.6315, allocations: 0.5147 MB / 0.8228 GB, free: 26.12 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.6315, allocations: 11.41 kB / 0.8228 GB, free: 26.12 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.361e-05/0.6316, allocations: 32.75 kB / 0.8228 GB, free: 26.11 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005023/0.6321, allocations: 242.6 kB / 0.823 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.6321, allocations: 14.88 kB / 0.8231 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/0.6322, allocations: 18.66 kB / 0.8231 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/0.6326, allocations: 311.1 kB / 0.8234 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.6326, allocations: 5.406 kB / 0.8234 GB, free: 25.67 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.6326, allocations: 11.06 kB / 0.8234 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.6326, allocations: 3.516 kB / 0.8234 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.6329, allocations: 165.1 kB / 0.8235 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007901/0.6337, allocations: 0.5772 MB / 0.8241 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.6341, allocations: 183.4 kB / 0.8243 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.6343, allocations: 122.2 kB / 0.8244 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.6343, allocations: 1.781 kB / 0.8244 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003148/0.6346, allocations: 203.8 kB / 0.8246 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.6346, allocations: 0 / 0.8246 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.0007925/0.6354, allocations: 436.9 kB / 0.825 GB, free: 24.61 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.6355, allocations: 137.9 kB / 0.8251 GB, free: 24.45 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.6357, allocations: 267.1 kB / 0.8254 GB, free: 24.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.6358, allocations: 32.48 kB / 0.8254 GB, free: 24.27 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.735e-05/0.6358, allocations: 162.5 kB / 0.8256 GB, free: 24.13 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.6359, allocations: 42.52 kB / 0.8256 GB, free: 24.1 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.415e-05/0.636, allocations: 46.05 kB / 0.8257 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.636, allocations: 337.5 kB / 0.826 GB, free: 23.74 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.6362, allocations: 114.8 kB / 0.8261 GB, free: 23.69 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.6364, allocations: 219.8 kB / 0.8263 GB, free: 23.51 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.6367, allocations: 246.9 kB / 0.8265 GB, free: 23.37 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6367, allocations: 0 / 0.8265 GB, free: 23.37 MB / 0.6387 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005562/0.6373, allocations: 375.4 kB / 0.8269 GB, free: 23.19 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/0.6373, allocations: 40.42 kB / 0.8269 GB, free: 23.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6373, allocations: 9 kB / 0.827 GB, free: 23.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.6373, allocations: 2.281 kB / 0.827 GB, free: 23.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.6375, allocations: 21.72 kB / 0.827 GB, free: 23.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.6375, allocations: 2.969 kB / 0.827 GB, free: 23.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.6376, allocations: 25.67 kB / 0.827 GB, free: 23.13 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.6376, allocations: 13.67 kB / 0.827 GB, free: 23.12 MB / 0.6387 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.0001471/0.6378, allocations: 198 kB / 0.8272 GB, free: 22.96 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.6378, allocations: 30.16 kB / 0.8272 GB, free: 22.94 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.526e-05/0.6379, allocations: 29.09 kB / 0.8273 GB, free: 22.92 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.6379, allocations: 2.797 kB / 0.8273 GB, free: 22.92 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6379, allocations: 0 / 0.8273 GB, free: 22.92 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6379, allocations: 0.6562 kB / 0.8273 GB, free: 22.92 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.6381, allocations: 206.2 kB / 0.8275 GB, free: 22.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.6381, allocations: 1.703 kB / 0.8275 GB, free: 22.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.6382, allocations: 19.09 kB / 0.8275 GB, free: 22.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.6382, allocations: 0 / 0.8275 GB, free: 22.75 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.6382, allocations: 5.312 kB / 0.8275 GB, free: 22.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.6382, allocations: 96 / 0.8275 GB, free: 22.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.6382, allocations: 4.562 kB / 0.8275 GB, free: 22.75 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007536/0.639, allocations: 0.5304 MB / 0.828 GB, free: 22.47 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.639, allocations: 22.12 kB / 0.828 GB, free: 22.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.639, allocations: 13.89 kB / 0.828 GB, free: 22.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.6392, allocations: 15.31 kB / 0.8281 GB, free: 22.44 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/0.6392, allocations: 25.02 kB / 0.8281 GB, free: 22.44 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.6393, allocations: 9.641 kB / 0.8281 GB, free: 22.43 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001755/0.6394, allocations: 192.2 kB / 0.8283 GB, free: 22.32 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.6394, allocations: 0 / 0.8283 GB, free: 22.32 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003143/0.6398, allocations: 60.19 kB / 0.8283 GB, free: 22.31 MB / 0.6387 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.0001759/0.6399, allocations: 128.1 kB / 0.8285 GB, free: 22.21 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004789/0.6404, allocations: 332.2 kB / 0.8288 GB, free: 22.02 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6404, allocations: 1.375 kB / 0.8288 GB, free: 22.02 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002138/0.6406, allocations: 181.6 kB / 0.8289 GB, free: 21.91 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.641, allocations: 39.78 kB / 0.829 GB, free: 21.89 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007681/0.6417, allocations: 490.7 kB / 0.8294 GB, free: 21.58 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.6419, allocations: 136 kB / 0.8296 GB, free: 21.51 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 8.505e-05/0.6419, allocations: 18 kB / 0.8296 GB, free: 21.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.351e-05/0.642, allocations: 21.55 kB / 0.8296 GB, free: 21.49 MB / 0.6387 GB Notification: Performance of SimCode: time 4.2e-07/0.642, allocations: 0 / 0.8296 GB, free: 21.49 MB / 0.6387 GB Notification: Performance of Templates: time 0.008109/0.6501, allocations: 3.067 MB / 0.8326 GB, free: 21.18 MB / 0.6387 GB " [Timeout remaining time 659] 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: 6.965822499245405] Failed to read output from testmodel.py, exit status != 0: 0.659280814230442 0.67286749 0.039269055000000004 Calling exit ...