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.0008231/0.0008231, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0008911/0.0008911, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.3518/0.3518, allocations: 40 MB / 310.4 MB, free: 9.992 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.0005203/0.0005204, allocations: 15.94 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1395, allocations: 57.95 MB / 436.8 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002996/0.1426, allocations: 2.198 MB / 439 MB, free: 372 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1439, allocations: 0.6635 MB / 439.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.144, allocations: 7.938 kB / 439.7 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.1442, allocations: 35.64 kB / 439.7 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.1443, allocations: 79.39 kB / 439.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.1446, allocations: 63.92 kB / 439.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.1449, allocations: 298.6 kB / 440.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.1451, allocations: 73.41 kB / 440.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.1453, allocations: 111.6 kB / 440.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.1455, allocations: 111.5 kB / 440.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.1455, allocations: 8 kB / 440.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.947e-05/0.1455, allocations: 12 kB / 440.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.155e-05/0.1456, allocations: 51.75 kB / 440.5 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.1458, allocations: 73.58 kB / 440.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.146, allocations: 215.7 kB / 440.8 MB, free: 14.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.443e-06/0.1461, allocations: 7.938 kB / 440.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1461, allocations: 0 / 440.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.1461, allocations: 0 / 440.8 MB, free: 14.55 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.0008616/0.1469, allocations: 0.5456 MB / 441.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.147, allocations: 8.031 kB / 441.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.467e-05/0.1471, allocations: 31.62 kB / 441.4 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.1474, allocations: 254.5 kB / 441.6 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.1474, allocations: 20.56 kB / 441.6 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.1475, allocations: 24 kB / 441.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005476/0.148, allocations: 285.9 kB / 441.9 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.1481, allocations: 15.8 kB / 441.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.1481, allocations: 12 kB / 442 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.1481, allocations: 7.938 kB / 442 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004102/0.1485, allocations: 207.8 kB / 442.2 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.1503, allocations: 1.314 MB / 443.5 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/0.1508, allocations: 258.3 kB / 443.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.1509, allocations: 103.4 kB / 443.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.151, allocations: 8 kB / 443.8 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.151, allocations: 42.69 kB / 443.9 MB, free: 11.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 3.156e-06/0.1511, allocations: 3.984 kB / 443.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002573/0.1536, allocations: 1.628 MB / 445.5 MB, free: 9.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.084e-05/0.1537, allocations: 136.5 kB / 445.6 MB, free: 9.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.154, allocations: 217 kB / 445.9 MB, free: 8.938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.154, allocations: 33.7 kB / 445.9 MB, free: 8.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.1541, allocations: 172.2 kB / 446.1 MB, free: 8.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.977e-05/0.1542, allocations: 118.3 kB / 446.2 MB, free: 8.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.367e-05/0.1542, allocations: 4 kB / 446.2 MB, free: 8.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1544, allocations: 342.8 kB / 446.5 MB, free: 8.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.1546, allocations: 108.8 kB / 446.6 MB, free: 8.156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.155, allocations: 249.4 kB / 446.9 MB, free: 7.855 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/0.1553, allocations: 156.1 kB / 447 MB, free: 7.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1553, allocations: 4 kB / 447 MB, free: 7.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007386/0.156, allocations: 408.8 kB / 447.4 MB, free: 7.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.1561, allocations: 8 kB / 447.4 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.1561, allocations: 4.375 kB / 447.4 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.1561, allocations: 15.95 kB / 447.4 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.1565, allocations: 115.7 kB / 447.6 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.1565, allocations: 4 kB / 447.6 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.1567, allocations: 31.98 kB / 447.6 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.1568, allocations: 20 kB / 447.6 MB, free: 7.098 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001691/0.1569, allocations: 153.7 kB / 447.8 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1571, allocations: 35.61 kB / 447.8 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.938e-05/0.1571, allocations: 26.23 kB / 447.8 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.1572, allocations: 8.266 kB / 447.8 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1572, allocations: 4 kB / 447.8 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1572, allocations: 3.984 kB / 447.8 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.1586, allocations: 1.017 MB / 448.9 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/0.1587, allocations: 3.984 kB / 448.9 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.159, allocations: 83.88 kB / 448.9 MB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.159, allocations: 4 kB / 448.9 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/0.1591, allocations: 8 kB / 449 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1591, allocations: 288 / 449 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1591, allocations: 8.062 kB / 449 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009654/0.16, allocations: 0.7756 MB / 449.7 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.606e-05/0.1601, allocations: 96.83 kB / 449.8 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.1602, allocations: 8.062 kB / 449.8 MB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.1604, allocations: 27.97 kB / 449.9 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.654e-05/0.1605, allocations: 23.97 kB / 449.9 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.1606, allocations: 8 kB / 449.9 MB, free: 4.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.1607, allocations: 164.4 kB / 450.1 MB, free: 4.527 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1607, allocations: 0 / 450.1 MB, free: 4.527 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000475/0.1612, allocations: 67.95 kB / 450.1 MB, free: 4.461 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000141/0.1614, allocations: 107.2 kB / 450.2 MB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006374/0.162, allocations: 292.2 kB / 450.5 MB, free: 4.062 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.162, allocations: 0 / 450.5 MB, free: 4.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.1623, allocations: 140.1 kB / 450.7 MB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006884/0.163, allocations: 44.06 kB / 450.7 MB, free: 3.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.1646, allocations: 1.078 MB / 451.8 MB, free: 2.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.1649, allocations: 0.7644 MB / 452.5 MB, free: 1.973 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.1651, allocations: 30.97 kB / 452.6 MB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.464e-05/0.1651, allocations: 27.42 kB / 452.6 MB, free: 1.914 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1652, allocations: 0.5625 kB / 452.6 MB, free: 1.914 MB / 382.1 MB Notification: Performance of Templates: time 0.2152/0.3804, allocations: 2.093 MB / 454.7 MB, free: 48.63 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: