Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00163/0.00163, allocations: 118.6 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001968/0.001968, allocations: 214.6 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2414/0.2414, allocations: 46.89 MB / 357.4 MB, free: 10.53 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003377/0.003377, allocations: 75.66 kB / 0.4912 GB, free: 26.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1541, allocations: 65.98 MB / 0.5556 GB, free: 9.176 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004577/0.1587, allocations: 2.652 MB / 0.5582 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.1603, allocations: 0.7206 MB / 0.5589 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.1605, allocations: 11.94 kB / 0.5589 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.1607, allocations: 47.52 kB / 0.559 GB, free: 5.719 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.1609, allocations: 83.2 kB / 0.5591 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.1613, allocations: 107.8 kB / 0.5592 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004149/0.1617, allocations: 330.6 kB / 0.5595 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.1619, allocations: 66.14 kB / 0.5595 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00027/0.1622, allocations: 147.4 kB / 0.5597 GB, free: 4.988 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.1623, allocations: 123.4 kB / 0.5598 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.364e-05/0.1624, allocations: 24 kB / 0.5598 GB, free: 4.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.341e-05/0.1625, allocations: 28 kB / 0.5598 GB, free: 4.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.186e-05/0.1625, allocations: 55.77 kB / 0.5599 GB, free: 4.762 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.1627, allocations: 147.2 kB / 0.56 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004898/0.1632, allocations: 310.6 kB / 0.5603 GB, free: 4.312 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1632, allocations: 4 kB / 0.5603 GB, free: 4.309 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1632, allocations: 0 / 0.5603 GB, free: 4.309 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1632, allocations: 0 / 0.5603 GB, free: 4.309 MB / 414.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.001142/0.1644, allocations: 0.6077 MB / 0.5609 GB, free: 3.652 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.1644, allocations: 8.031 kB / 0.5609 GB, free: 3.645 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.664e-05/0.1645, allocations: 62.73 kB / 0.561 GB, free: 3.574 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002904/0.1648, allocations: 52.72 kB / 0.561 GB, free: 3.523 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.1653, allocations: 276.9 kB / 0.5613 GB, free: 3.215 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.1653, allocations: 16.94 kB / 0.5613 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.056e-05/0.1653, allocations: 36.27 kB / 0.5614 GB, free: 3.164 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/0.1659, allocations: 274.1 kB / 0.5616 GB, free: 2.871 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.1659, allocations: 7.953 kB / 0.5616 GB, free: 2.863 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.1659, allocations: 12 kB / 0.5616 GB, free: 2.852 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.1659, allocations: 4 kB / 0.5616 GB, free: 2.848 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004146/0.1663, allocations: 191.7 kB / 0.5618 GB, free: 2.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.1682, allocations: 1.306 MB / 0.5631 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004435/0.1686, allocations: 246.2 kB / 0.5633 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.1688, allocations: 91.39 kB / 0.5634 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.1689, allocations: 4 kB / 0.5634 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.1689, allocations: 50.62 kB / 0.5635 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.324e-06/0.1689, allocations: 0 / 0.5635 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002737/0.1716, allocations: 1.573 MB / 0.565 GB, free: 15.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.113e-05/0.1717, allocations: 132.5 kB / 0.5651 GB, free: 14.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.172, allocations: 228.9 kB / 0.5654 GB, free: 14.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.172, allocations: 29.7 kB / 0.5654 GB, free: 14.6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.1722, allocations: 180.5 kB / 0.5656 GB, free: 14.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.1723, allocations: 123 kB / 0.5657 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.1724, allocations: 62.14 kB / 0.5657 GB, free: 14.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.1726, allocations: 350.7 kB / 0.5661 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.1729, allocations: 98.03 kB / 0.5662 GB, free: 13.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.1732, allocations: 245.4 kB / 0.5664 GB, free: 13.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000633/0.1738, allocations: 365.1 kB / 0.5667 GB, free: 13.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1738, allocations: 7.938 kB / 0.5668 GB, free: 13.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008016/0.1746, allocations: 401 kB / 0.5671 GB, free: 12.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1747, allocations: 6.031 kB / 0.5671 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.1747, allocations: 8.781 kB / 0.5672 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1747, allocations: 4 kB / 0.5672 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/0.1751, allocations: 99.88 kB / 0.5673 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/0.1751, allocations: 15.92 kB / 0.5673 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.1753, allocations: 24.23 kB / 0.5673 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.1754, allocations: 20 kB / 0.5673 GB, free: 12.49 MB / 430.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.0001905/0.1755, allocations: 149.8 kB / 0.5675 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.1757, allocations: 31.81 kB / 0.5675 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.734e-05/0.1757, allocations: 33.7 kB / 0.5675 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.1757, allocations: 8 kB / 0.5675 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.1758, allocations: 7.938 kB / 0.5675 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1758, allocations: 3.984 kB / 0.5675 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.1774, allocations: 0.9778 MB / 0.5685 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1774, allocations: 0 / 0.5685 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/0.1778, allocations: 83.94 kB / 0.5686 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.1778, allocations: 4 kB / 0.5686 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.1778, allocations: 11.94 kB / 0.5686 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.1778, allocations: 4 kB / 0.5686 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1778, allocations: 0 / 0.5686 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.1788, allocations: 0.7255 MB / 0.5693 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1789, allocations: 108.9 kB / 0.5694 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.179, allocations: 15.94 kB / 0.5694 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.1793, allocations: 23.97 kB / 0.5694 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.1793, allocations: 27.91 kB / 0.5695 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.1794, allocations: 8 kB / 0.5695 GB, free: 10.15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.1795, allocations: 164.4 kB / 0.5696 GB, free: 9.988 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1795, allocations: 0 / 0.5696 GB, free: 9.988 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005281/0.1801, allocations: 64 kB / 0.5697 GB, free: 9.926 MB / 430.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.001425/0.1815, allocations: 1.282 MB / 0.5709 GB, free: 8.609 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006577/0.1821, allocations: 269.1 kB / 0.5712 GB, free: 8.348 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1822, allocations: 0 / 0.5712 GB, free: 8.348 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.1824, allocations: 124.2 kB / 0.5713 GB, free: 8.227 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006803/0.1831, allocations: 54.14 kB / 0.5714 GB, free: 8.176 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005093/0.1882, allocations: 3.507 MB / 0.5748 GB, free: 4.445 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.1886, allocations: 0.7719 MB / 0.5755 GB, free: 3.648 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001547/0.1888, allocations: 34.95 kB / 0.5756 GB, free: 3.613 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.189, allocations: 99.41 kB / 0.5757 GB, free: 3.516 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/0.189, allocations: 0 / 0.5757 GB, free: 3.516 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.2215, allocations: 5.429 MB / 0.581 GB, free: 14.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.678/8.9, allocations: 0 / 0.581 GB, free: 14.18 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.921527835074812] Failed to read output from testmodel.py, exit status != 0: ['time', 'speed1.phi', 'speed1.w', 'speed2.phi', 'speed3.s', 'speed3.v', 'speed4.s'] 8.974111196119338 8.98964022 8.823341484 Calling exit ...