Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.0008375/0.0008375, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008846/0.0008846, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8883/0.8883, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2475/0.2475, allocations: 34.24 MB / 294.8 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 442.1 MB, free: 1.602 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.508e-05, allocations: 4.391 kB / 442.1 MB, free: 1.598 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.169/0.1691, allocations: 2.486 MB / 444.6 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008818/0.17, allocations: 0.6901 MB / 445.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.1701, allocations: 13.25 kB / 445.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.1702, allocations: 39.86 kB / 445.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.1703, allocations: 94.16 kB / 445.4 MB, free: 42.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.1706, allocations: 107.2 kB / 445.6 MB, free: 42.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.1708, allocations: 350.9 kB / 445.9 MB, free: 42.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.1709, allocations: 56.8 kB / 446 MB, free: 42.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.1711, allocations: 195.5 kB / 446.1 MB, free: 42.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.402e-05/0.1712, allocations: 96.53 kB / 446.2 MB, free: 42.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.1712, allocations: 23.38 kB / 446.3 MB, free: 42.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.289e-05/0.1713, allocations: 26.75 kB / 446.3 MB, free: 42.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.1713, allocations: 61.88 kB / 446.3 MB, free: 42.06 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.266e-05/0.1714, allocations: 98.11 kB / 446.4 MB, free: 42.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.1716, allocations: 305.9 kB / 446.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1716, allocations: 0 / 446.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1716, allocations: 0 / 446.7 MB, free: 41.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1716, allocations: 0 / 446.7 MB, free: 41.99 MB / 410.7 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.0005558/0.1722, allocations: 0.529 MB / 447.3 MB, free: 41.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1722, allocations: 11.41 kB / 447.3 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.1722, allocations: 59.08 kB / 447.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.1724, allocations: 54.14 kB / 447.4 MB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.1726, allocations: 211.4 kB / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1727, allocations: 19.56 kB / 447.6 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.1727, allocations: 30.58 kB / 447.6 MB, free: 41.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.173, allocations: 284 kB / 447.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.173, allocations: 2.781 kB / 447.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.173, allocations: 13.59 kB / 447.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.173, allocations: 8.406 kB / 447.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.1732, allocations: 179.9 kB / 448.1 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008006/0.174, allocations: 1.203 MB / 449.3 MB, free: 40.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.1742, allocations: 241.6 kB / 449.6 MB, free: 40.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.556e-05/0.1743, allocations: 94.23 kB / 449.7 MB, free: 40.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.1743, allocations: 6.094 kB / 449.7 MB, free: 40.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.435e-05/0.1744, allocations: 37.38 kB / 449.7 MB, free: 40.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.703e-06/0.1744, allocations: 7.125 kB / 449.7 MB, free: 40.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.001189/0.1756, allocations: 1.202 MB / 450.9 MB, free: 39.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.1756, allocations: 138 kB / 451 MB, free: 39.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.1757, allocations: 232 kB / 451.3 MB, free: 38.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.1757, allocations: 32.48 kB / 451.3 MB, free: 38.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.1758, allocations: 181.1 kB / 451.5 MB, free: 38.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.1758, allocations: 120.9 kB / 451.6 MB, free: 38.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.1758, allocations: 74.2 kB / 451.7 MB, free: 38.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.538e-05/0.1759, allocations: 346.1 kB / 452 MB, free: 38.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.176, allocations: 96.81 kB / 452.1 MB, free: 38.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.1761, allocations: 235.8 kB / 452.3 MB, free: 38.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.1764, allocations: 369.1 kB / 452.7 MB, free: 37.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1764, allocations: 0 / 452.7 MB, free: 37.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003651/0.1768, allocations: 390 kB / 453.1 MB, free: 37.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1768, allocations: 12.56 kB / 453.1 MB, free: 37.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1768, allocations: 2.938 kB / 453.1 MB, free: 37.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.1769, allocations: 8.281 kB / 453.1 MB, free: 37.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.1771, allocations: 102.1 kB / 453.2 MB, free: 37.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.1771, allocations: 9.328 kB / 453.2 MB, free: 37.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.651e-05/0.1772, allocations: 22.14 kB / 453.2 MB, free: 37.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.1772, allocations: 22.28 kB / 453.2 MB, free: 37.65 MB / 410.7 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 7.242e-05/0.1773, allocations: 155.3 kB / 453.4 MB, free: 37.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.1773, allocations: 38.12 kB / 453.4 MB, free: 37.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.1774, allocations: 36.95 kB / 453.5 MB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1774, allocations: 2.844 kB / 453.5 MB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1774, allocations: 2.906 kB / 453.5 MB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1774, allocations: 0 / 453.5 MB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000702/0.1781, allocations: 0.9313 MB / 454.4 MB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.1781, allocations: 2.969 kB / 454.4 MB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.1782, allocations: 73.92 kB / 454.5 MB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1782, allocations: 2.812 kB / 454.5 MB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.1783, allocations: 10.06 kB / 454.5 MB, free: 36.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1783, allocations: 7 kB / 454.5 MB, free: 36.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1783, allocations: 6.938 kB / 454.5 MB, free: 36.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004739/0.1787, allocations: 0.7377 MB / 455.2 MB, free: 36.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.1788, allocations: 20.33 kB / 455.3 MB, free: 36.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.1788, allocations: 10.25 kB / 455.3 MB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.1789, allocations: 18.28 kB / 455.3 MB, free: 36.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.179, allocations: 33.75 kB / 455.3 MB, free: 36.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.179, allocations: 11.98 kB / 455.3 MB, free: 36.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.969e-05/0.179, allocations: 156.7 kB / 455.5 MB, free: 36.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.179, allocations: 0 / 455.5 MB, free: 36.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002877/0.1793, allocations: 69.53 kB / 455.6 MB, free: 36.13 MB / 410.7 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.0005348/0.1799, allocations: 1.271 MB / 456.8 MB, free: 35.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003194/0.1802, allocations: 277.8 kB / 457.1 MB, free: 35.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1802, allocations: 2.75 kB / 457.1 MB, free: 35.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.1803, allocations: 117.2 kB / 457.2 MB, free: 35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.1807, allocations: 38.89 kB / 457.3 MB, free: 34.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.183, allocations: 3.374 MB / 460.6 MB, free: 32.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.1831, allocations: 162.9 kB / 460.8 MB, free: 32.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.362e-05/0.1831, allocations: 34.91 kB / 460.8 MB, free: 32.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.1832, allocations: 93.56 kB / 460.9 MB, free: 32.35 MB / 410.7 MB Notification: Performance of SimCode: time 1.643e-06/0.1832, allocations: 0 / 460.9 MB, free: 32.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.2022, allocations: 6.149 MB / 467.1 MB, free: 31.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.945/7.147, allocations: 3.984 kB / 467.1 MB, free: 31.04 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.117508658207953]