Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009829/0.0009829, allocations: 80.05 kB / 20.72 MB, free: 3.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.973/0.973, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1461/0.1461, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.594e-05, allocations: 6.25 kB / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.1502/0.1502, allocations: 2.635 MB / 301.7 MB, free: 19.22 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001291/0.1515, allocations: 0.6944 MB / 302.4 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.1516, allocations: 8.562 kB / 302.4 MB, free: 19.13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.1518, allocations: 48.16 kB / 302.5 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.1519, allocations: 92.69 kB / 302.6 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.1521, allocations: 90.94 kB / 302.6 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003194/0.1525, allocations: 345.4 kB / 303 MB, free: 18.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.1526, allocations: 53.73 kB / 303 MB, free: 18.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002512/0.1528, allocations: 190.4 kB / 303.2 MB, free: 18.95 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.153, allocations: 96.23 kB / 303.3 MB, free: 18.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/0.153, allocations: 27.03 kB / 303.3 MB, free: 18.93 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.34e-05/0.1531, allocations: 21.84 kB / 303.4 MB, free: 18.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.1531, allocations: 59.42 kB / 303.4 MB, free: 18.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.678e-05/0.1532, allocations: 98.56 kB / 303.5 MB, free: 18.89 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.1534, allocations: 212.2 kB / 303.7 MB, free: 18.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1534, allocations: 3.594 kB / 303.7 MB, free: 18.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1534, allocations: 0 / 303.7 MB, free: 18.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.1535, allocations: 0 / 303.7 MB, free: 18.82 MB / 282.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.0005091/0.154, allocations: 0.491 MB / 304.2 MB, free: 18.44 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.154, allocations: 10.14 kB / 304.2 MB, free: 18.44 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.44e-05/0.1541, allocations: 42.62 kB / 304.3 MB, free: 18.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.1543, allocations: 180 kB / 304.4 MB, free: 18.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.1543, allocations: 20.06 kB / 304.5 MB, free: 18.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.317e-05/0.1543, allocations: 27.39 kB / 304.5 MB, free: 18.26 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.1546, allocations: 243.2 kB / 304.7 MB, free: 18.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.1546, allocations: 6.406 kB / 304.7 MB, free: 18.11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.1546, allocations: 13.06 kB / 304.7 MB, free: 18.1 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.1546, allocations: 9.906 kB / 304.8 MB, free: 18.1 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.1548, allocations: 82.06 kB / 304.8 MB, free: 18.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008905/0.1557, allocations: 1.015 MB / 305.9 MB, free: 17.24 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.1559, allocations: 163.7 kB / 306 MB, free: 17.12 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.18e-05/0.1559, allocations: 53.47 kB / 306.1 MB, free: 17.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.156, allocations: 5.656 kB / 306.1 MB, free: 17.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.156, allocations: 38.62 kB / 306.1 MB, free: 17.04 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.613e-06/0.156, allocations: 0 / 306.1 MB, free: 17.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.001099/0.1571, allocations: 0.8135 MB / 306.9 MB, free: 16.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.1571, allocations: 141.3 kB / 307.1 MB, free: 16.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.1573, allocations: 223.3 kB / 307.3 MB, free: 16.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1573, allocations: 35.89 kB / 307.3 MB, free: 16.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.1574, allocations: 162.2 kB / 307.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.863e-05/0.1574, allocations: 125.9 kB / 307.6 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.537e-05/0.1575, allocations: 74.03 kB / 307.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.1576, allocations: 339 kB / 308 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.109e-05/0.1576, allocations: 30.12 kB / 308 MB, free: 15.46 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.1578, allocations: 176.9 kB / 308.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.158, allocations: 246 kB / 308.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.158, allocations: 0.875 kB / 308.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003142/0.1583, allocations: 231.7 kB / 308.7 MB, free: 15.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1583, allocations: 7.344 kB / 308.7 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1583, allocations: 4.469 kB / 308.7 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.1584, allocations: 8.094 kB / 308.7 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.1586, allocations: 95.75 kB / 308.8 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.1586, allocations: 19.97 kB / 308.8 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.1588, allocations: 21.52 kB / 308.8 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.1588, allocations: 15.41 kB / 308.8 MB, free: 14.99 MB / 282.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 8.023e-05/0.1589, allocations: 134.5 kB / 309 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.851e-05/0.159, allocations: 28.36 kB / 309 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.159, allocations: 35.73 kB / 309 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.159, allocations: 8.078 kB / 309 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.159, allocations: 6.25 kB / 309 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.159, allocations: 2.969 kB / 309 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006997/0.1597, allocations: 0.6652 MB / 309.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1597, allocations: 4.594 kB / 309.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.16, allocations: 75.47 kB / 309.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.16, allocations: 2.312 kB / 309.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.16, allocations: 9.969 kB / 309.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.16, allocations: 2.719 kB / 309.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.16, allocations: 1.094 kB / 309.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.1604, allocations: 0.5252 MB / 310.3 MB, free: 13.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.1604, allocations: 28.36 kB / 310.4 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.1604, allocations: 8.078 kB / 310.4 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.1606, allocations: 14.5 kB / 310.4 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.1607, allocations: 29.31 kB / 310.4 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.1607, allocations: 10.17 kB / 310.4 MB, free: 13.85 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.384e-05/0.1608, allocations: 66.61 kB / 310.5 MB, free: 13.83 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1608, allocations: 0.875 kB / 310.5 MB, free: 13.83 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004447/0.1612, allocations: 68.09 kB / 310.5 MB, free: 13.82 MB / 282.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 8.344e-05/0.1613, allocations: 91.89 kB / 310.6 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002348/0.1616, allocations: 150.6 kB / 310.8 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.1616, allocations: 2.375 kB / 310.8 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.1617, allocations: 82.58 kB / 310.9 MB, free: 13.67 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.1622, allocations: 46.73 kB / 310.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009327/0.1631, allocations: 0.6365 MB / 311.6 MB, free: 13.22 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.092e-05/0.1632, allocations: 92.45 kB / 311.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000112/0.1633, allocations: 33.25 kB / 311.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.1634, allocations: 91.55 kB / 311.8 MB, free: 13.1 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.1634, allocations: 9.031 kB / 311.8 MB, free: 13.09 MB / 282.7 MB Notification: Performance of Templates: time 0.00544/0.1688, allocations: 2.471 MB / 314.2 MB, free: 12.62 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9920629654079676]