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.001433/0.001433, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.762/1.762, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.3815/0.3815, allocations: 38 MB / 307.8 MB, free: 10.01 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.001552/0.001552, allocations: 79.88 kB / 375.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1427, allocations: 56.45 MB / 431.7 MB, free: 6.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004233/0.147, allocations: 2.607 MB / 434.3 MB, free: 4.004 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1482, allocations: 0.6942 MB / 435 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.1484, allocations: 7.938 kB / 435 MB, free: 3.293 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.1486, allocations: 51.45 kB / 435 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.1488, allocations: 87.2 kB / 435.1 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.149, allocations: 79.89 kB / 435.2 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.1494, allocations: 322.6 kB / 435.5 MB, free: 2.762 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.1496, allocations: 98.05 kB / 435.6 MB, free: 2.668 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.1498, allocations: 123.5 kB / 435.7 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.1499, allocations: 135.3 kB / 435.9 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.15, allocations: 23.94 kB / 435.9 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.573e-05/0.15, allocations: 24 kB / 435.9 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.1501, allocations: 55.77 kB / 436 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.1503, allocations: 143.3 kB / 436.1 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.1506, allocations: 298.8 kB / 436.4 MB, free: 1.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.1506, allocations: 4 kB / 436.4 MB, free: 1.875 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1506, allocations: 0 / 436.4 MB, free: 1.875 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1506, allocations: 0 / 436.4 MB, free: 1.875 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.0008937/0.1515, allocations: 0.5808 MB / 437 MB, free: 1.246 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1515, allocations: 11.89 kB / 437 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.1516, allocations: 32.56 kB / 437 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.1519, allocations: 267.5 kB / 437.3 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1519, allocations: 20.94 kB / 437.3 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.568e-05/0.152, allocations: 24.38 kB / 437.3 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.1525, allocations: 286.2 kB / 437.6 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.1526, allocations: 11.89 kB / 437.6 MB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.1526, allocations: 8 kB / 437.6 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.1526, allocations: 4 kB / 437.6 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/0.153, allocations: 183.8 kB / 437.8 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.1546, allocations: 1.306 MB / 439.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.155, allocations: 242.4 kB / 439.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.1552, allocations: 111.5 kB / 439.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.1553, allocations: 12.12 kB / 439.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1553, allocations: 34.56 kB / 439.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.502e-06/0.1553, allocations: 0 / 439.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.002489/0.1578, allocations: 1.568 MB / 441.1 MB, free: 12.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.1579, allocations: 136.5 kB / 441.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.1581, allocations: 221 kB / 441.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.1581, allocations: 29.7 kB / 441.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.1583, allocations: 184.2 kB / 441.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.366e-05/0.1583, allocations: 115.5 kB / 441.8 MB, free: 11.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.1585, allocations: 74.05 kB / 441.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1586, allocations: 338.8 kB / 442.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.1589, allocations: 96.81 kB / 442.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/0.1592, allocations: 233.5 kB / 442.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/0.1598, allocations: 376.8 kB / 442.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1598, allocations: 0 / 442.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007561/0.1605, allocations: 401.2 kB / 443.2 MB, free: 10.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1606, allocations: 8 kB / 443.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.1606, allocations: 4 kB / 443.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.1606, allocations: 8 kB / 443.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003765/0.161, allocations: 96.19 kB / 443.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.161, allocations: 15.98 kB / 443.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.1612, allocations: 31.83 kB / 443.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.1613, allocations: 20 kB / 443.4 MB, free: 10.18 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.1614, allocations: 149.7 kB / 443.6 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.1615, allocations: 31.66 kB / 443.6 MB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.708e-05/0.1616, allocations: 33.7 kB / 443.6 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1616, allocations: 8 kB / 443.6 MB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.1616, allocations: 0 / 443.6 MB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.1616, allocations: 7.984 kB / 443.6 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.163, allocations: 0.9816 MB / 444.6 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.163, allocations: 0 / 444.6 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000345/0.1634, allocations: 75.89 kB / 444.7 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.1634, allocations: 0 / 444.7 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.1634, allocations: 19.98 kB / 444.7 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.1634, allocations: 4 kB / 444.7 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1634, allocations: 288 / 444.7 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009381/0.1644, allocations: 0.733 MB / 445.5 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.192e-05/0.1645, allocations: 96.83 kB / 445.6 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.1645, allocations: 12 kB / 445.6 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.1648, allocations: 19.98 kB / 445.6 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/0.1649, allocations: 27.95 kB / 445.6 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.1649, allocations: 12 kB / 445.6 MB, free: 7.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.1651, allocations: 156.5 kB / 445.8 MB, free: 7.699 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1651, allocations: 0 / 445.8 MB, free: 7.699 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004585/0.1656, allocations: 68 kB / 445.8 MB, free: 7.633 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.0001353/0.1657, allocations: 107.1 kB / 446 MB, free: 7.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000672/0.1664, allocations: 295.7 kB / 446.2 MB, free: 7.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1664, allocations: 0.8125 kB / 446.2 MB, free: 7.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.1667, allocations: 127.9 kB / 446.4 MB, free: 7.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007239/0.1674, allocations: 47.94 kB / 446.4 MB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.1688, allocations: 0.8757 MB / 447.3 MB, free: 6.145 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.1692, allocations: 0.7681 MB / 448.1 MB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001333/0.1693, allocations: 38.89 kB / 448.1 MB, free: 5.305 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.389e-05/0.1694, allocations: 31.98 kB / 448.1 MB, free: 5.273 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1694, allocations: 0 / 448.1 MB, free: 5.273 MB / 382.1 MB Notification: Performance of Templates: time 0.005811/0.1753, allocations: 2.399 MB / 450.5 MB, free: 2.883 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)