Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001264/0.001264, allocations: 194.7 kB / 16.25 MB, free: 6.625 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.576/1.576, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3452/0.3452, allocations: 37.98 MB / 307.4 MB, free: 10.1 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.1. 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.001518/0.001517, allocations: 70.25 kB / 374.7 MB, free: 15.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1328, allocations: 56.46 MB / 431.2 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003978/0.1369, allocations: 2.648 MB / 433.8 MB, free: 4.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1381, allocations: 0.6982 MB / 434.5 MB, free: 3.621 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.1383, allocations: 7.938 kB / 434.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.1385, allocations: 27.72 kB / 434.6 MB, free: 3.586 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.1387, allocations: 75.39 kB / 434.6 MB, free: 3.512 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.139, allocations: 79.92 kB / 434.7 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003712/0.1393, allocations: 326.6 kB / 435 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002296/0.1396, allocations: 90.05 kB / 435.1 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.1398, allocations: 119.5 kB / 435.2 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.14, allocations: 139.3 kB / 435.4 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.41e-05/0.14, allocations: 23.94 kB / 435.4 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.508e-05/0.1401, allocations: 24 kB / 435.4 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.1402, allocations: 55.77 kB / 435.5 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.1403, allocations: 139.3 kB / 435.6 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.1406, allocations: 298.8 kB / 435.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1407, allocations: 0 / 435.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1407, allocations: 0 / 435.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.1407, allocations: 4 kB / 435.9 MB, free: 2.238 MB / 366.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.0009519/0.1416, allocations: 0.5808 MB / 436.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1417, allocations: 11.89 kB / 436.5 MB, free: 1.598 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.971e-05/0.1418, allocations: 32.56 kB / 436.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.1421, allocations: 268.4 kB / 436.8 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.1421, allocations: 24.94 kB / 436.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.1422, allocations: 28.38 kB / 436.9 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000488/0.1427, allocations: 278.2 kB / 437.1 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.1427, allocations: 3.906 kB / 437.1 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.1427, allocations: 19.98 kB / 437.2 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.1427, allocations: 11.98 kB / 437.2 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004054/0.1432, allocations: 179.8 kB / 437.3 MB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.1449, allocations: 1.306 MB / 438.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.1453, allocations: 246.4 kB / 438.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.1455, allocations: 103.5 kB / 439 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.1456, allocations: 0 / 439 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.1456, allocations: 42.56 kB / 439 MB, free: 14.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.112e-06/0.1456, allocations: 0 / 439 MB, free: 14.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002554/0.1482, allocations: 1.575 MB / 440.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.744e-05/0.1483, allocations: 136.5 kB / 440.7 MB, free: 12.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002992/0.1486, allocations: 217 kB / 440.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.1486, allocations: 29.7 kB / 441 MB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.1487, allocations: 180.2 kB / 441.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.607e-05/0.1489, allocations: 118.3 kB / 441.3 MB, free: 12.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.787e-05/0.149, allocations: 70.05 kB / 441.3 MB, free: 12.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1491, allocations: 338.8 kB / 441.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.1494, allocations: 100.8 kB / 441.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003008/0.1497, allocations: 237.5 kB / 442 MB, free: 11.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005659/0.1502, allocations: 370.3 kB / 442.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1503, allocations: 4 kB / 442.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007138/0.151, allocations: 401.7 kB / 442.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.151, allocations: 8 kB / 442.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.151, allocations: 4 kB / 442.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.1511, allocations: 8 kB / 442.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.1514, allocations: 99.81 kB / 442.9 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.1514, allocations: 8 kB / 442.9 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.1516, allocations: 31.81 kB / 442.9 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/0.1517, allocations: 20.31 kB / 442.9 MB, free: 10.54 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.0001513/0.1519, allocations: 157.7 kB / 443.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.152, allocations: 27.66 kB / 443.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.118e-05/0.1521, allocations: 37.7 kB / 443.1 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1521, allocations: 4 kB / 443.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.1521, allocations: 4.234 kB / 443.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1521, allocations: 0 / 443.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.1535, allocations: 0.9894 MB / 444.1 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.1535, allocations: 3.984 kB / 444.2 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.1539, allocations: 79.89 kB / 444.2 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.1539, allocations: 4 kB / 444.2 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.1539, allocations: 7.938 kB / 444.2 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.1539, allocations: 7.984 kB / 444.2 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.1539, allocations: 4 kB / 444.3 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009721/0.1549, allocations: 0.729 MB / 445 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-05/0.155, allocations: 96.83 kB / 445.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.155, allocations: 12 kB / 445.1 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.1553, allocations: 15.98 kB / 445.1 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.556e-05/0.1554, allocations: 23.97 kB / 445.1 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-05/0.1555, allocations: 12.27 kB / 445.1 MB, free: 8.215 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001482/0.1556, allocations: 160.5 kB / 445.3 MB, free: 8.055 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1556, allocations: 0 / 445.3 MB, free: 8.055 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005059/0.1561, allocations: 67.94 kB / 445.4 MB, free: 7.988 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.0001594/0.1563, allocations: 115.2 kB / 445.5 MB, free: 7.867 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00068/0.157, allocations: 296.1 kB / 445.8 MB, free: 7.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.157, allocations: 0 / 445.8 MB, free: 7.578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002686/0.1573, allocations: 123.8 kB / 445.9 MB, free: 7.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000709/0.158, allocations: 45.02 kB / 445.9 MB, free: 7.418 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.1599, allocations: 0.9885 MB / 446.9 MB, free: 6.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005599/0.1605, allocations: 0.7681 MB / 447.7 MB, free: 5.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001769/0.1607, allocations: 34.91 kB / 447.7 MB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.551e-05/0.1608, allocations: 27.42 kB / 447.7 MB, free: 5.527 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.1608, allocations: 0 / 447.7 MB, free: 5.527 MB / 382.1 MB Notification: Performance of Templates: time 0.006194/0.167, allocations: 2.299 MB / 450 MB, free: 3.23 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe 2>&1)