Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.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.001334/0.001334, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001735/0.001735, allocations: 191.6 kB / 22.11 MB, free: 4.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 207.6 MB / 232.8 MB, free: 2.785 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4754/0.4754, allocations: 55.68 MB / 340.7 MB, free: 11.52 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower") translateModel(Annex60.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002568/0.002568, allocations: 77.67 kB / 482 MB, free: 36.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1539, allocations: 62.88 MB / 0.5321 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.RegNonZeroPower): time 0.003155/0.157, allocations: 1.432 MB / 0.5335 GB, free: 9.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007991/0.1578, allocations: 358.7 kB / 0.5339 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.17e-05/0.1579, allocations: 0 / 0.5339 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.079e-05/0.1579, allocations: 7.922 kB / 0.5339 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.861e-05/0.158, allocations: 3.938 kB / 0.5339 GB, free: 9.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.1585, allocations: 119.6 kB / 0.534 GB, free: 9.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.483e-05/0.1586, allocations: 23.94 kB / 0.534 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1587, allocations: 3.984 kB / 0.534 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.088e-05/0.1587, allocations: 11.94 kB / 0.534 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.148e-05/0.1588, allocations: 15.92 kB / 0.5341 GB, free: 9.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.1588, allocations: 4 kB / 0.5341 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004364/0.1592, allocations: 275.7 kB / 0.5343 GB, free: 8.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.1593, allocations: 7.984 kB / 0.5343 GB, free: 8.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.1593, allocations: 19.92 kB / 0.5344 GB, free: 8.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.1595, allocations: 95.72 kB / 0.5344 GB, free: 8.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1595, allocations: 0 / 0.5344 GB, free: 8.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.1595, allocations: 4 kB / 0.5344 GB, free: 8.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.1595, allocations: 0 / 0.5344 GB, free: 8.668 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000572/0.1601, allocations: 294 kB / 0.5347 GB, free: 8.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.1601, allocations: 8.031 kB / 0.5347 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.619e-05/0.1602, allocations: 4.938 kB / 0.5347 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.1603, allocations: 106.5 kB / 0.5348 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1603, allocations: 4.375 kB / 0.5348 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.1604, allocations: 4.375 kB / 0.5349 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.1606, allocations: 53.61 kB / 0.5349 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1606, allocations: 0 / 0.5349 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1606, allocations: 0 / 0.5349 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.1606, allocations: 0 / 0.5349 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.1608, allocations: 35.95 kB / 0.5349 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.1612, allocations: 235.9 kB / 0.5352 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.1613, allocations: 42.48 kB / 0.5352 GB, free: 7.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1614, allocations: 24.91 kB / 0.5352 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005299/0.162, allocations: 71.92 kB / 0.5353 GB, free: 7.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.162, allocations: 30.56 kB / 0.5353 GB, free: 7.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.162, allocations: 0 / 0.5353 GB, free: 7.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004445/0.1624, allocations: 89.58 kB / 0.5354 GB, free: 7.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.1625, allocations: 51.41 kB / 0.5355 GB, free: 7.492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.1626, allocations: 109.8 kB / 0.5356 GB, free: 7.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.1626, allocations: 25.7 kB / 0.5356 GB, free: 7.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.1627, allocations: 88.14 kB / 0.5357 GB, free: 7.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.1627, allocations: 7.891 kB / 0.5357 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.1627, allocations: 17.72 kB / 0.5357 GB, free: 7.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1629, allocations: 322.9 kB / 0.536 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.925e-05/0.163, allocations: 15.98 kB / 0.536 GB, free: 6.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-05/0.1631, allocations: 15.98 kB / 0.536 GB, free: 6.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.1632, allocations: 40.81 kB / 0.5361 GB, free: 6.824 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1632, allocations: 0 / 0.5361 GB, free: 6.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002247/0.1634, allocations: 73.67 kB / 0.5361 GB, free: 6.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.1635, allocations: 6.344 kB / 0.5362 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1635, allocations: 0 / 0.5362 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.1635, allocations: 3.984 kB / 0.5362 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.544e-05/0.1636, allocations: 8.25 kB / 0.5362 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.1636, allocations: 0 / 0.5362 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.495e-05/0.1636, allocations: 15.94 kB / 0.5362 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.1636, allocations: 0 / 0.5362 GB, free: 6.715 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 8.839e-05/0.1637, allocations: 115.8 kB / 0.5363 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.1638, allocations: 4 kB / 0.5363 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.164, allocations: 73.28 kB / 0.5364 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.164, allocations: 3.984 kB / 0.5364 GB, free: 6.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.164, allocations: 3.984 kB / 0.5364 GB, free: 6.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.164, allocations: 3.938 kB / 0.5364 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.1642, allocations: 132.7 kB / 0.5365 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1642, allocations: 4 kB / 0.5365 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.1643, allocations: 11.92 kB / 0.5365 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1643, allocations: 0 / 0.5365 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1643, allocations: 4 kB / 0.5365 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1643, allocations: 0 / 0.5365 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1643, allocations: 4 kB / 0.5365 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.1646, allocations: 163.5 kB / 0.5367 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-06/0.1646, allocations: 3.953 kB / 0.5367 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.1646, allocations: 4 kB / 0.5367 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.1647, allocations: 7.984 kB / 0.5367 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.1647, allocations: 4 kB / 0.5367 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1647, allocations: 0 / 0.5367 GB, free: 6.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.52e-05/0.1648, allocations: 87.27 kB / 0.5368 GB, free: 6.023 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1648, allocations: 0 / 0.5368 GB, free: 6.023 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.165, allocations: 16.03 kB / 0.5368 GB, free: 6.008 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001696/0.1652, allocations: 107.1 kB / 0.5369 GB, free: 5.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.1654, allocations: 43.89 kB / 0.5369 GB, free: 5.852 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1654, allocations: 3.938 kB / 0.5369 GB, free: 5.848 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.835e-05/0.1655, allocations: 19.98 kB / 0.537 GB, free: 5.828 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.1658, allocations: 4.125 kB / 0.537 GB, free: 5.824 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.1661, allocations: 117.5 kB / 0.5371 GB, free: 5.684 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.1664, allocations: 0.6768 MB / 0.5377 GB, free: 4.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.245e-05/0.1665, allocations: 3.938 kB / 0.5377 GB, free: 4.977 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.1665, allocations: 11.44 kB / 0.5378 GB, free: 4.965 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1665, allocations: 0 / 0.5378 GB, free: 4.965 MB / 398.1 MB Notification: Performance of Templates: time 0.003933/0.1704, allocations: 0.7235 MB / 0.5385 GB, free: 4.242 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.576598218642175] Failed to read output from testmodel.py, exit status != 0: 0.17927848733961582 0.19586597499999994 0.032793986000000004 Calling exit ...