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.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.001301/0.001301, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.001466/0.001466, allocations: 218.8 kB / 23 MB, free: 4.965 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.8448/0.8448, allocations: 134 MB / 447.2 MB, free: 9.965 MB / 350.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.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_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: 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.001991/0.001991, allocations: 66.45 kB / 0.6197 GB, free: 6.418 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.157, allocations: 85.91 MB / 0.7036 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003322/0.1603, allocations: 1.916 MB / 0.7055 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1616, allocations: 0.7013 MB / 0.7061 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.426e-05/0.1617, allocations: 4 kB / 0.7062 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000245/0.162, allocations: 87.64 kB / 0.7062 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.1621, allocations: 91.56 kB / 0.7063 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005866/0.1627, allocations: 187.4 kB / 0.7065 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.163, allocations: 255.4 kB / 0.7067 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.1632, allocations: 53.91 kB / 0.7068 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.1633, allocations: 123.6 kB / 0.7069 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.1636, allocations: 147.5 kB / 0.7071 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.254e-05/0.1636, allocations: 28 kB / 0.7071 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.1638, allocations: 87.94 kB / 0.7072 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.628e-05/0.1638, allocations: 59.75 kB / 0.7072 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.164, allocations: 83.48 kB / 0.7073 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.1644, allocations: 314.7 kB / 0.7076 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1644, allocations: 0 / 0.7076 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1644, allocations: 0 / 0.7076 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.1644, allocations: 0 / 0.7076 GB, free: 12.47 MB / 0.5294 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.0008681/0.1652, allocations: 0.518 MB / 0.7081 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1653, allocations: 12.03 kB / 0.7081 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.58e-05/0.1653, allocations: 28.75 kB / 0.7081 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.1658, allocations: 245.2 kB / 0.7084 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.1658, allocations: 20.12 kB / 0.7084 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.1659, allocations: 15.94 kB / 0.7084 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000461/0.1663, allocations: 304.3 kB / 0.7087 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1664, allocations: 3.984 kB / 0.7087 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1664, allocations: 4 kB / 0.7087 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.1664, allocations: 4 kB / 0.7087 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000277/0.1667, allocations: 162 kB / 0.7089 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008141/0.1675, allocations: 0.5791 MB / 0.7094 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003922/0.1679, allocations: 188.2 kB / 0.7096 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.1681, allocations: 118.7 kB / 0.7097 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.1681, allocations: 0 / 0.7097 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000339/0.1684, allocations: 202.8 kB / 0.7099 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.1684, allocations: 0 / 0.7099 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0008459/0.1693, allocations: 445 kB / 0.7103 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.1694, allocations: 132.5 kB / 0.7105 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.1697, allocations: 269.8 kB / 0.7107 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.1697, allocations: 33.69 kB / 0.7108 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.1699, allocations: 160.3 kB / 0.7109 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.1699, allocations: 39.62 kB / 0.711 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.565e-05/0.17, allocations: 45.66 kB / 0.711 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.1702, allocations: 342.7 kB / 0.7113 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.1704, allocations: 121.7 kB / 0.7114 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.1707, allocations: 207.9 kB / 0.7116 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.1711, allocations: 252.8 kB / 0.7119 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1711, allocations: 0 / 0.7119 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006024/0.1717, allocations: 380.6 kB / 0.7122 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/0.1717, allocations: 37.7 kB / 0.7123 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1717, allocations: 4.094 kB / 0.7123 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.1718, allocations: 0 / 0.7123 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.1719, allocations: 28.02 kB / 0.7123 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1719, allocations: 7.922 kB / 0.7123 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.172, allocations: 19.94 kB / 0.7123 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.1721, allocations: 15.92 kB / 0.7123 GB, free: 7.234 MB / 0.5294 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.0002112/0.1723, allocations: 187.5 kB / 0.7125 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.1723, allocations: 23.86 kB / 0.7126 GB, free: 7.012 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.79e-05/0.1724, allocations: 33.77 kB / 0.7126 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.1724, allocations: 4 kB / 0.7126 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1724, allocations: 0 / 0.7126 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.1724, allocations: 7.922 kB / 0.7126 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.1726, allocations: 197.2 kB / 0.7128 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1726, allocations: 0 / 0.7128 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.915e-05/0.1727, allocations: 15.98 kB / 0.7128 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1727, allocations: 0 / 0.7128 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.851e-05/0.1727, allocations: 4 kB / 0.7128 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1727, allocations: 0 / 0.7128 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1727, allocations: 4 kB / 0.7128 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008127/0.1736, allocations: 0.5406 MB / 0.7133 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.1736, allocations: 15.89 kB / 0.7133 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.35e-05/0.1736, allocations: 16 kB / 0.7134 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1737, allocations: 11.98 kB / 0.7134 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.1738, allocations: 23.95 kB / 0.7134 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.1738, allocations: 8 kB / 0.7134 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001948/0.174, allocations: 193.2 kB / 0.7136 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.174, allocations: 4.062 kB / 0.7136 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002855/0.1743, allocations: 55.92 kB / 0.7136 GB, free: 5.82 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.0001907/0.1745, allocations: 131.1 kB / 0.7138 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005495/0.1751, allocations: 326.6 kB / 0.7141 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1751, allocations: 0 / 0.7141 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.1753, allocations: 193.2 kB / 0.7143 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.1756, allocations: 31.83 kB / 0.7143 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008806/0.1765, allocations: 0.5074 MB / 0.7148 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.1767, allocations: 148.7 kB / 0.7149 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/0.1767, allocations: 15.44 kB / 0.715 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of SimCode: time 3.4e-07/0.1767, allocations: 3.938 kB / 0.715 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of Templates: time 0.005499/0.1822, allocations: 3.022 MB / 0.7179 GB, free: 1.359 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.989899745211005] Failed to read output from testmodel.py, exit status != 0: 0.18959920899942517 0.20561853300000002 0.038208009 Calling exit ...