Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001632/0.001632, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001519/0.001519, allocations: 193.6 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.903/0.903, allocations: 134 MB / 440.1 MB, free: 0.875 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 64.84 kB / 0.6104 GB, free: 14.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1538, allocations: 84.67 MB / 0.6931 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003897/0.1577, allocations: 1.986 MB / 0.695 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1591, allocations: 0.7167 MB / 0.6957 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.1593, allocations: 4 kB / 0.6957 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.1596, allocations: 91.62 kB / 0.6958 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.1597, allocations: 83.62 kB / 0.6959 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006841/0.1604, allocations: 192.1 kB / 0.6961 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004259/0.1609, allocations: 255.5 kB / 0.6963 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.161, allocations: 53.89 kB / 0.6964 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.1612, allocations: 123.6 kB / 0.6965 GB, free: 6 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.1615, allocations: 159.5 kB / 0.6966 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.499e-05/0.1615, allocations: 20 kB / 0.6967 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.1617, allocations: 95.86 kB / 0.6968 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.306e-05/0.1618, allocations: 55.78 kB / 0.6968 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.1619, allocations: 103.4 kB / 0.6969 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004501/0.1623, allocations: 318.7 kB / 0.6972 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1623, allocations: 0 / 0.6972 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1623, allocations: 4 kB / 0.6972 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.1624, allocations: 0 / 0.6972 GB, free: 5.258 MB / 0.5137 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.0009994/0.1634, allocations: 0.5894 MB / 0.6978 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1634, allocations: 16.03 kB / 0.6978 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.425e-05/0.1635, allocations: 28.75 kB / 0.6978 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005914/0.1641, allocations: 307 kB / 0.6981 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.1641, allocations: 16.12 kB / 0.6981 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.1641, allocations: 12 kB / 0.6982 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.1646, allocations: 227.1 kB / 0.6984 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.1646, allocations: 0 / 0.6984 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.1646, allocations: 4 kB / 0.6984 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1646, allocations: 4 kB / 0.6984 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.1649, allocations: 136.3 kB / 0.6985 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009553/0.1658, allocations: 0.6809 MB / 0.6992 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.1662, allocations: 162.6 kB / 0.6993 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.1664, allocations: 80.83 kB / 0.6994 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.1664, allocations: 4 kB / 0.6994 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003138/0.1667, allocations: 169 kB / 0.6996 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.1667, allocations: 3.938 kB / 0.6996 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0007954/0.1675, allocations: 381.6 kB / 0.6999 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/0.1676, allocations: 132.5 kB / 0.7001 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.1679, allocations: 282.7 kB / 0.7003 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.168, allocations: 25.7 kB / 0.7004 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.1681, allocations: 168.3 kB / 0.7005 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.1682, allocations: 39.64 kB / 0.7006 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.946e-05/0.1683, allocations: 37.72 kB / 0.7006 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.1684, allocations: 342.8 kB / 0.7009 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.1686, allocations: 87.95 kB / 0.701 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.1688, allocations: 137 kB / 0.7011 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.1692, allocations: 237.2 kB / 0.7014 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1692, allocations: 0 / 0.7014 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005665/0.1698, allocations: 340.7 kB / 0.7017 GB, free: 356 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.159e-05/0.1698, allocations: 33.7 kB / 0.7017 GB, free: 316 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1698, allocations: 0 / 0.7017 GB, free: 316 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1699, allocations: 4 kB / 0.7017 GB, free: 312 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.17, allocations: 24.08 kB / 0.7017 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.17, allocations: 7.938 kB / 0.7018 GB, free: 280 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.1701, allocations: 31.77 kB / 0.7018 GB, free: 248 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.1702, allocations: 8 kB / 0.7018 GB, free: 240 kB / 0.5137 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.0002014/0.1704, allocations: 186.8 kB / 0.702 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/0.1704, allocations: 27.95 kB / 0.702 GB, free: 12 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.519e-05/0.1705, allocations: 33.77 kB / 0.702 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1705, allocations: 4 kB / 0.702 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.1705, allocations: 8 kB / 0.702 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1705, allocations: 3.938 kB / 0.702 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.1708, allocations: 289.4 kB / 0.7023 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1708, allocations: 0 / 0.7023 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.1709, allocations: 23.86 kB / 0.7023 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1709, allocations: 0 / 0.7023 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.1709, allocations: 8 kB / 0.7024 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1709, allocations: 0 / 0.7024 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1709, allocations: 0 / 0.7024 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008261/0.1718, allocations: 474.3 kB / 0.7028 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-05/0.1719, allocations: 96.94 kB / 0.7029 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.1719, allocations: 12 kB / 0.7029 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.172, allocations: 15.98 kB / 0.7029 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.46e-05/0.1721, allocations: 35.81 kB / 0.703 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.1721, allocations: 8.062 kB / 0.703 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002069/0.1723, allocations: 202 kB / 0.7032 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1723, allocations: 0 / 0.7032 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003104/0.1727, allocations: 63.88 kB / 0.7032 GB, free: 14.67 MB / 0.5294 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.0002088/0.1729, allocations: 134.2 kB / 0.7033 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004964/0.1734, allocations: 259.4 kB / 0.7036 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1734, allocations: 0 / 0.7036 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002469/0.1736, allocations: 155.3 kB / 0.7037 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.1739, allocations: 25.53 kB / 0.7038 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.175, allocations: 492.6 kB / 0.7042 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.1754, allocations: 0.7568 MB / 0.705 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.41e-05/0.1755, allocations: 21.81 kB / 0.705 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.1756, allocations: 19.44 kB / 0.705 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.1756, allocations: 0 / 0.705 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of Templates: time 0.0073/0.1829, allocations: 2.885 MB / 0.7078 GB, free: 9.891 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.620219391770661] Failed to read output from testmodel.py, exit status != 0: 0.19054998876526952 0.207504138 0.041889765 Calling exit ...