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.000747/0.000747, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007488/0.0007488, allocations: 203.9 kB / 23 MB, free: 3.125 MB / 13.93 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 0.901/0.901, allocations: 230.6 MB / 256.8 MB, free: 3.559 MB / 202.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-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 0.7509/0.7509, allocations: 203.8 MB / 0.5049 GB, free: 0.6914 MB / 410.7 MB " [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: 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.0009427/0.0009427, allocations: 59.91 kB / 0.7195 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4241, allocations: 102 MB / 0.8191 GB, free: 25.3 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002478/0.4265, allocations: 1.988 MB / 0.821 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.4275, allocations: 0.7558 MB / 0.8218 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.4276, allocations: 8.312 kB / 0.8218 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.4279, allocations: 78.66 kB / 0.8218 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.428, allocations: 92.34 kB / 0.8219 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005056/0.4285, allocations: 185.2 kB / 0.8221 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.4288, allocations: 257.9 kB / 0.8224 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.4289, allocations: 61.84 kB / 0.8224 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.4291, allocations: 117.8 kB / 0.8225 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.4293, allocations: 158.6 kB / 0.8227 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.414e-05/0.4293, allocations: 22.25 kB / 0.8227 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.4294, allocations: 98.98 kB / 0.8228 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.852e-05/0.4295, allocations: 55.84 kB / 0.8228 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.025e-05/0.4296, allocations: 107.6 kB / 0.8229 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.4299, allocations: 311.7 kB / 0.8232 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4299, allocations: 1.094 kB / 0.8232 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4299, allocations: 0.9375 kB / 0.8232 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.4299, allocations: 0 / 0.8232 GB, free: 22.75 MB / 0.6355 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.0006486/0.4306, allocations: 0.5134 MB / 0.8237 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.4306, allocations: 11.39 kB / 0.8238 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/0.4307, allocations: 32.08 kB / 0.8238 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.4311, allocations: 252.6 kB / 0.824 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.4311, allocations: 11.72 kB / 0.824 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.4312, allocations: 13.84 kB / 0.8241 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.4314, allocations: 237.5 kB / 0.8243 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4315, allocations: 3.984 kB / 0.8243 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.4315, allocations: 6.219 kB / 0.8243 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.4315, allocations: 3.219 kB / 0.8243 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.4316, allocations: 128.3 kB / 0.8244 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.4322, allocations: 0.6493 MB / 0.825 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.4325, allocations: 161.3 kB / 0.8252 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.4326, allocations: 89.61 kB / 0.8253 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.4326, allocations: 1.344 kB / 0.8253 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.4328, allocations: 168.8 kB / 0.8254 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.4328, allocations: 0 / 0.8254 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004556/0.4332, allocations: 372.1 kB / 0.8258 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.4333, allocations: 137.5 kB / 0.8259 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.4335, allocations: 278.1 kB / 0.8262 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.4335, allocations: 33.23 kB / 0.8262 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.112e-05/0.4335, allocations: 163.8 kB / 0.8264 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.4336, allocations: 45.22 kB / 0.8264 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.4336, allocations: 45.47 kB / 0.8265 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.693e-05/0.4337, allocations: 334.3 kB / 0.8268 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.4338, allocations: 90.86 kB / 0.8269 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.4339, allocations: 136.2 kB / 0.827 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.4341, allocations: 238.2 kB / 0.8272 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4341, allocations: 3.938 kB / 0.8272 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003306/0.4344, allocations: 341.5 kB / 0.8276 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.4345, allocations: 39.34 kB / 0.8276 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4345, allocations: 1.312 kB / 0.8276 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4345, allocations: 2.25 kB / 0.8276 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.83e-05/0.4346, allocations: 23.09 kB / 0.8276 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.4346, allocations: 1.312 kB / 0.8276 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.913e-05/0.4347, allocations: 23.11 kB / 0.8277 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.4347, allocations: 9.594 kB / 0.8277 GB, free: 19.75 MB / 0.6355 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.0001108/0.4348, allocations: 197.8 kB / 0.8279 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.4348, allocations: 25.27 kB / 0.8279 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.4348, allocations: 29.59 kB / 0.8279 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.4348, allocations: 2.125 kB / 0.8279 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4348, allocations: 0.6094 kB / 0.8279 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.4349, allocations: 1.797 kB / 0.8279 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.435, allocations: 258.9 kB / 0.8282 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.435, allocations: 5 kB / 0.8282 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.305e-05/0.4351, allocations: 15.3 kB / 0.8282 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4351, allocations: 0 / 0.8282 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.4351, allocations: 8.719 kB / 0.8282 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.4351, allocations: 1.688 kB / 0.8282 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4351, allocations: 3.938 kB / 0.8282 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/0.4356, allocations: 478.1 kB / 0.8286 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.4356, allocations: 23.67 kB / 0.8287 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.4357, allocations: 8.516 kB / 0.8287 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.233e-05/0.4357, allocations: 15.44 kB / 0.8287 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.4358, allocations: 25.28 kB / 0.8287 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.4358, allocations: 9.656 kB / 0.8287 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001219/0.4359, allocations: 202.4 kB / 0.8289 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4359, allocations: 0 / 0.8289 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002153/0.4361, allocations: 60.88 kB / 0.829 GB, free: 18.96 MB / 0.6355 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.0001409/0.4363, allocations: 132.3 kB / 0.8291 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003025/0.4366, allocations: 268.1 kB / 0.8294 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4366, allocations: 0 / 0.8294 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.4367, allocations: 152.9 kB / 0.8295 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.4369, allocations: 39.8 kB / 0.8295 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005839/0.4375, allocations: 486.7 kB / 0.83 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.4376, allocations: 0.7524 MB / 0.8307 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.4377, allocations: 19.7 kB / 0.8308 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/0.4377, allocations: 0 / 0.8308 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of Templates: time 0.005017/0.4427, allocations: 3.008 MB / 0.8337 GB, free: 17.29 MB / 0.6355 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.935386214172468] Failed to read output from testmodel.py, exit status != 0: 0.44901617686264217 0.458788078 0.026991995 Calling exit ...