Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008761/0.0008765, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007124/0.007124, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3878/0.3878, allocations: 40 MB / 310.7 MB, free: 9.59 MB / 254.1 MB 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: ModelicaTest 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.0005797/0.0005798, allocations: 16 kB / 379.4 MB, free: 12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1385, allocations: 57.95 MB / 437.4 MB, free: 1.938 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002856/0.1414, allocations: 2.29 MB / 439.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1427, allocations: 0.6865 MB / 440.4 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.1429, allocations: 7.938 kB / 440.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.1431, allocations: 27.78 kB / 440.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.1433, allocations: 71.39 kB / 440.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.1436, allocations: 79.86 kB / 440.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004255/0.144, allocations: 310.6 kB / 440.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002823/0.1443, allocations: 78.06 kB / 440.9 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.1446, allocations: 107.5 kB / 441 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.1448, allocations: 127.3 kB / 441.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.1448, allocations: 12 kB / 441.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.889e-05/0.1449, allocations: 12 kB / 441.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.303e-05/0.145, allocations: 47.77 kB / 441.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.1452, allocations: 149 kB / 441.4 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003842/0.1456, allocations: 282.8 kB / 441.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.1456, allocations: 4 kB / 441.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.1456, allocations: 4 kB / 441.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.1456, allocations: 0 / 441.7 MB, free: 13.64 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001094/0.1467, allocations: 0.5379 MB / 442.2 MB, free: 13.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/0.1468, allocations: 11.97 kB / 442.2 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.755e-05/0.1469, allocations: 36.56 kB / 442.2 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.1473, allocations: 259.7 kB / 442.5 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.1473, allocations: 20.94 kB / 442.5 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.95e-05/0.1474, allocations: 32.28 kB / 442.6 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/0.1479, allocations: 290.2 kB / 442.8 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.1479, allocations: 4 kB / 442.8 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.148, allocations: 8 kB / 442.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.148, allocations: 11.98 kB / 442.9 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004605/0.1484, allocations: 199.8 kB / 443.1 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.1502, allocations: 1.321 MB / 444.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004153/0.1506, allocations: 254.5 kB / 444.6 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.1508, allocations: 107.4 kB / 444.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.1508, allocations: 7.984 kB / 444.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.1509, allocations: 42.56 kB / 444.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.273e-06/0.1509, allocations: 3.938 kB / 444.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002622/0.1535, allocations: 1.627 MB / 446.4 MB, free: 8.406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.383e-05/0.1536, allocations: 144.5 kB / 446.6 MB, free: 8.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.1539, allocations: 220.9 kB / 446.8 MB, free: 8.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.1539, allocations: 33.7 kB / 446.8 MB, free: 7.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.1541, allocations: 172.2 kB / 447 MB, free: 7.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.169e-05/0.1542, allocations: 122.3 kB / 447.1 MB, free: 7.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/0.1542, allocations: 37.7 kB / 447.1 MB, free: 7.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1544, allocations: 338.8 kB / 447.5 MB, free: 7.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.1547, allocations: 112.8 kB / 447.6 MB, free: 7.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/0.1551, allocations: 245.5 kB / 447.8 MB, free: 6.883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00068/0.1558, allocations: 397.7 kB / 448.2 MB, free: 6.434 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.1558, allocations: 0 / 448.2 MB, free: 6.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007762/0.1566, allocations: 429.2 kB / 448.6 MB, free: 6.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.1567, allocations: 8.094 kB / 448.6 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.1567, allocations: 7.938 kB / 448.6 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.1567, allocations: 11.98 kB / 448.6 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.1571, allocations: 103.8 kB / 448.7 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.1571, allocations: 8 kB / 448.7 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.1573, allocations: 36.17 kB / 448.8 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.1574, allocations: 16 kB / 448.8 MB, free: 5.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (48): * Single equations (assignments): 48 * 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 0.0001587/0.1575, allocations: 153.7 kB / 448.9 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1576, allocations: 31.64 kB / 449 MB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.555e-05/0.1577, allocations: 33.72 kB / 449 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1577, allocations: 4 kB / 449 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.1578, allocations: 7.984 kB / 449 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1578, allocations: 0 / 449 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.1593, allocations: 1.017 MB / 450 MB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1593, allocations: 4 kB / 450 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/0.1596, allocations: 83.88 kB / 450.1 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1596, allocations: 4.062 kB / 450.1 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.1597, allocations: 11.94 kB / 450.1 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1597, allocations: 4 kB / 450.1 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1597, allocations: 0 / 450.1 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.1608, allocations: 0.7678 MB / 450.9 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.1609, allocations: 100.7 kB / 451 MB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.294e-05/0.1609, allocations: 19.98 kB / 451 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.1612, allocations: 23.98 kB / 451.1 MB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.699e-05/0.1613, allocations: 23.97 kB / 451.1 MB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.1613, allocations: 8 kB / 451.1 MB, free: 3.406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.1615, allocations: 160.5 kB / 451.2 MB, free: 3.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1615, allocations: 4.125 kB / 451.2 MB, free: 3.246 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004541/0.1619, allocations: 68 kB / 451.3 MB, free: 3.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * 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.0001264/0.1621, allocations: 107.1 kB / 451.4 MB, free: 3.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006258/0.1627, allocations: 300.3 kB / 451.7 MB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1627, allocations: 0 / 451.7 MB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.163, allocations: 143.9 kB / 451.9 MB, free: 2.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007117/0.1637, allocations: 48.14 kB / 451.9 MB, free: 2.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.1652, allocations: 1.109 MB / 453 MB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.1656, allocations: 0.7683 MB / 453.8 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.1657, allocations: 34.95 kB / 453.8 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.1658, allocations: 31.42 kB / 453.8 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1658, allocations: 0 / 453.8 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of Templates: time 0.2471/0.4129, allocations: 2.155 MB / 456 MB, free: 47.71 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) Environment - environmentSimulation: