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.001505/0.001505, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002105/0.002105, allocations: 192.3 kB / 16.13 MB, free: 6.652 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.674/1.674, allocations: 205.1 MB / 222 MB, free: 4.754 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.3422/0.3422, allocations: 37.98 MB / 307.3 MB, free: 10.18 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.001494/0.001494, allocations: 68.53 kB / 374.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1331, allocations: 56.47 MB / 431 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003997/0.1371, allocations: 2.644 MB / 433.6 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1383, allocations: 0.6943 MB / 434.3 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.1385, allocations: 7.938 kB / 434.4 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.1386, allocations: 35.7 kB / 434.4 MB, free: 3.668 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001575/0.1388, allocations: 79.33 kB / 434.5 MB, free: 3.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.1391, allocations: 71.92 kB / 434.5 MB, free: 3.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.1394, allocations: 310.6 kB / 434.8 MB, free: 3.215 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.1396, allocations: 74.08 kB / 434.9 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.1398, allocations: 115.5 kB / 435 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.1399, allocations: 135.3 kB / 435.2 MB, free: 2.898 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.14, allocations: 16 kB / 435.2 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.988e-05/0.14, allocations: 16 kB / 435.2 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.1401, allocations: 47.77 kB / 435.2 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.1402, allocations: 131.3 kB / 435.4 MB, free: 2.691 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.1405, allocations: 298.8 kB / 435.7 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1405, allocations: 0 / 435.7 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1405, allocations: 0 / 435.7 MB, free: 2.398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.1405, allocations: 0 / 435.7 MB, free: 2.398 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.001052/0.1416, allocations: 0.573 MB / 436.2 MB, free: 1.777 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1417, allocations: 16.02 kB / 436.2 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.186e-05/0.1417, allocations: 36.56 kB / 436.3 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.1421, allocations: 264.4 kB / 436.5 MB, free: 1.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.1421, allocations: 16.94 kB / 436.6 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.808e-05/0.1422, allocations: 36.36 kB / 436.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005201/0.1427, allocations: 278.2 kB / 436.9 MB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.1427, allocations: 7.906 kB / 436.9 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.1427, allocations: 8 kB / 436.9 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.1428, allocations: 11.98 kB / 436.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004275/0.1432, allocations: 187.7 kB / 437.1 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.1449, allocations: 1.306 MB / 438.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.1453, allocations: 250.5 kB / 438.6 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.1455, allocations: 95.39 kB / 438.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.1456, allocations: 11.98 kB / 438.7 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.1456, allocations: 38.5 kB / 438.8 MB, free: 15.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.572e-06/0.1456, allocations: 0 / 438.8 MB, free: 15.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002428/0.1481, allocations: 1.565 MB / 440.3 MB, free: 13.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.516e-05/0.1482, allocations: 140.4 kB / 440.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.1484, allocations: 217 kB / 440.7 MB, free: 12.85 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.1485, allocations: 33.7 kB / 440.7 MB, free: 12.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.1486, allocations: 172.3 kB / 440.9 MB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.249e-05/0.1487, allocations: 122.3 kB / 441 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.1488, allocations: 74.03 kB / 441.1 MB, free: 12.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.149, allocations: 338.8 kB / 441.4 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.1492, allocations: 96.81 kB / 441.5 MB, free: 12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.1496, allocations: 241.4 kB / 441.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/0.1502, allocations: 369.1 kB / 442.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.1503, allocations: 4 kB / 442.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007054/0.151, allocations: 388.8 kB / 442.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.151, allocations: 4 kB / 442.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.151, allocations: 4 kB / 442.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.151, allocations: 8 kB / 442.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.1514, allocations: 107.8 kB / 442.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.1515, allocations: 8.406 kB / 442.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.1517, allocations: 32.2 kB / 442.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.1517, allocations: 16 kB / 442.7 MB, free: 10.72 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.0001533/0.1519, allocations: 149.7 kB / 442.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.953e-05/0.152, allocations: 31.64 kB / 442.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.682e-05/0.1521, allocations: 37.66 kB / 442.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.1521, allocations: 4 kB / 442.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.1521, allocations: 0 / 442.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.1521, allocations: 12.16 kB / 442.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.1535, allocations: 0.9819 MB / 443.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1535, allocations: 4 kB / 443.9 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/0.1539, allocations: 83.94 kB / 443.9 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-06/0.1539, allocations: 7.984 kB / 444 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.1539, allocations: 11.94 kB / 444 MB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.154, allocations: 4.844 kB / 444 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.154, allocations: 4 kB / 444 MB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009376/0.1549, allocations: 0.7211 MB / 444.7 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/0.155, allocations: 100.9 kB / 444.8 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.155, allocations: 15.92 kB / 444.8 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.1553, allocations: 19.98 kB / 444.8 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.1554, allocations: 27.91 kB / 444.9 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.1554, allocations: 8 kB / 444.9 MB, free: 8.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.1556, allocations: 156.5 kB / 445 MB, free: 8.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1556, allocations: 0 / 445 MB, free: 8.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004448/0.156, allocations: 72 kB / 445.1 MB, free: 8.156 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.0001179/0.1561, allocations: 103.1 kB / 445.2 MB, free: 8.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005986/0.1568, allocations: 279.8 kB / 445.5 MB, free: 7.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1568, allocations: 0 / 445.5 MB, free: 7.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.157, allocations: 136.8 kB / 445.6 MB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000753/0.1578, allocations: 44.5 kB / 445.6 MB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.1592, allocations: 0.9867 MB / 446.6 MB, free: 6.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.1596, allocations: 0.7722 MB / 447.4 MB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001524/0.1597, allocations: 34.95 kB / 447.4 MB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.1598, allocations: 27.44 kB / 447.5 MB, free: 5.707 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1598, allocations: 0 / 447.5 MB, free: 5.707 MB / 382.1 MB Notification: Performance of Templates: time 0.004969/0.1648, allocations: 2.194 MB / 449.7 MB, free: 3.516 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)