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.001267/0.001267, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001851/0.001851, allocations: 190.7 kB / 16.14 MB, free: 6.703 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.865/1.865, allocations: 205.1 MB / 222 MB, free: 4.758 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.3404/0.3404, allocations: 39.93 MB / 309.3 MB, free: 9.285 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.00139/0.00139, allocations: 67.91 kB / 376.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1558, allocations: 56.88 MB / 433.8 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.005643/0.1615, allocations: 2.652 MB / 436.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.1632, allocations: 0.6826 MB / 437.1 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.1634, allocations: 11.94 kB / 437.1 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.1636, allocations: 31.72 kB / 437.2 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.1639, allocations: 71.39 kB / 437.2 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.1643, allocations: 71.92 kB / 437.3 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004977/0.1648, allocations: 314.6 kB / 437.6 MB, free: 296 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002686/0.1651, allocations: 78.08 kB / 437.7 MB, free: 220 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00027/0.1653, allocations: 123.4 kB / 437.8 MB, free: 96 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.1656, allocations: 127.4 kB / 437.9 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.675e-05/0.1657, allocations: 16 kB / 438 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.849e-05/0.1657, allocations: 12 kB / 438 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.758e-05/0.1658, allocations: 47.78 kB / 438 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.1661, allocations: 139.2 kB / 438.2 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004791/0.1665, allocations: 278.9 kB / 438.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.1666, allocations: 0 / 438.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1666, allocations: 0 / 438.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.1666, allocations: 4 kB / 438.4 MB, free: 15.48 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.001411/0.168, allocations: 0.5846 MB / 439 MB, free: 14.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.456e-05/0.1681, allocations: 8.031 kB / 439 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.1682, allocations: 40.47 kB / 439.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005016/0.1688, allocations: 263.7 kB / 439.3 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.1688, allocations: 16.94 kB / 439.3 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.781e-05/0.1689, allocations: 28.28 kB / 439.4 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000757/0.1697, allocations: 290.2 kB / 439.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/0.1697, allocations: 4 kB / 439.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.1698, allocations: 8 kB / 439.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.1698, allocations: 8 kB / 439.7 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006092/0.1704, allocations: 191.5 kB / 439.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/0.1728, allocations: 1.31 MB / 441.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006187/0.1735, allocations: 250.4 kB / 441.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.1738, allocations: 99.39 kB / 441.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.1739, allocations: 7.938 kB / 441.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/0.1739, allocations: 42.5 kB / 441.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.834e-06/0.1739, allocations: 0 / 441.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.003898/0.1778, allocations: 1.552 MB / 443.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.178, allocations: 140.5 kB / 443.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.1783, allocations: 221 kB / 443.5 MB, free: 9.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.1783, allocations: 33.7 kB / 443.5 MB, free: 9.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.1785, allocations: 176.2 kB / 443.7 MB, free: 9.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.1786, allocations: 122.3 kB / 443.8 MB, free: 9.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.1788, allocations: 66.12 kB / 443.8 MB, free: 9.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.179, allocations: 344 kB / 444.2 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.1794, allocations: 104.8 kB / 444.3 MB, free: 9.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004657/0.1798, allocations: 233.4 kB / 444.5 MB, free: 8.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008707/0.1807, allocations: 373 kB / 444.9 MB, free: 8.359 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1807, allocations: 0 / 444.9 MB, free: 8.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001031/0.1818, allocations: 396.6 kB / 445.3 MB, free: 7.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.1818, allocations: 8 kB / 445.3 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.1818, allocations: 4.406 kB / 445.3 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.931e-05/0.1819, allocations: 12 kB / 445.3 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005436/0.1824, allocations: 99.81 kB / 445.4 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.1825, allocations: 12.72 kB / 445.4 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.1828, allocations: 23.98 kB / 445.4 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/0.1828, allocations: 19.98 kB / 445.4 MB, free: 7.789 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.0002412/0.1831, allocations: 149.7 kB / 445.6 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.1832, allocations: 27.66 kB / 445.6 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.1834, allocations: 41.7 kB / 445.7 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.1834, allocations: 4 kB / 445.7 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.1834, allocations: 320 / 445.7 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.1834, allocations: 0 / 445.7 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.1854, allocations: 0.9932 MB / 446.7 MB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.1854, allocations: 4.062 kB / 446.7 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004968/0.1859, allocations: 79.89 kB / 446.7 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/0.186, allocations: 4 kB / 446.7 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.186, allocations: 11.94 kB / 446.8 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.615e-06/0.186, allocations: 3.984 kB / 446.8 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.186, allocations: 4 kB / 446.8 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.1874, allocations: 0.7212 MB / 447.5 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.86e-05/0.1876, allocations: 108.7 kB / 447.6 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.046e-05/0.1876, allocations: 12 kB / 447.6 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004857/0.1881, allocations: 15.98 kB / 447.6 MB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.1882, allocations: 27.91 kB / 447.6 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.1883, allocations: 15.98 kB / 447.7 MB, free: 5.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002223/0.1885, allocations: 152.5 kB / 447.8 MB, free: 5.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1885, allocations: 0 / 447.8 MB, free: 5.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008719/0.1894, allocations: 68 kB / 447.9 MB, free: 5.238 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.0001549/0.1896, allocations: 119 kB / 448 MB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009219/0.1905, allocations: 276.7 kB / 448.3 MB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1905, allocations: 0 / 448.3 MB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004334/0.191, allocations: 135.7 kB / 448.4 MB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.1921, allocations: 44.62 kB / 448.4 MB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.1944, allocations: 0.9751 MB / 449.4 MB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006123/0.195, allocations: 0.7683 MB / 450.2 MB, free: 2.855 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002543/0.1953, allocations: 34.95 kB / 450.2 MB, free: 2.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.1954, allocations: 23.44 kB / 450.2 MB, free: 2.797 MB / 382.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1954, allocations: 0 / 450.2 MB, free: 2.797 MB / 382.1 MB Notification: Performance of Templates: time 0.008119/0.2036, allocations: 2.198 MB / 452.4 MB, free: 0.6055 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.TestSpeed.makefile (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)