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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008788/0.0008788, allocations: 93.11 kB / 269.9 MB, free: 8.445 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3643/0.3643, allocations: 43.5 MB / 360.7 MB, free: 51.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 55.92 kB / 429.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1419, allocations: 57.79 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.003853/0.1458, allocations: 2.648 MB / 489.7 MB, free: 9.879 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1469, allocations: 0.6826 MB / 490.3 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.1471, allocations: 7.938 kB / 490.3 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.1473, allocations: 39.7 kB / 490.4 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.1475, allocations: 71.39 kB / 490.5 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.1477, allocations: 75.92 kB / 490.5 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.1481, allocations: 322.5 kB / 490.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.1482, allocations: 74.08 kB / 490.9 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.1484, allocations: 119.5 kB / 491 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.1486, allocations: 123.4 kB / 491.2 MB, free: 8.367 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.926e-05/0.1486, allocations: 16 kB / 491.2 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.948e-05/0.1487, allocations: 12 kB / 491.2 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.384e-05/0.1488, allocations: 55.75 kB / 491.2 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.1489, allocations: 131.3 kB / 491.4 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.1492, allocations: 286.8 kB / 491.6 MB, free: 7.875 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1492, allocations: 0 / 491.6 MB, free: 7.875 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1492, allocations: 0 / 491.6 MB, free: 7.875 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.1492, allocations: 0 / 491.6 MB, free: 7.875 MB / 378.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.0009033/0.1501, allocations: 0.5885 MB / 492.2 MB, free: 7.238 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1502, allocations: 8.031 kB / 492.2 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.345e-05/0.1502, allocations: 36.47 kB / 492.3 MB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.1505, allocations: 259.7 kB / 492.5 MB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.1506, allocations: 20.94 kB / 492.5 MB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/0.1506, allocations: 32.22 kB / 492.6 MB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/0.1511, allocations: 286.2 kB / 492.9 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.1511, allocations: 4 kB / 492.9 MB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.1512, allocations: 12 kB / 492.9 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.1512, allocations: 8 kB / 492.9 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003916/0.1516, allocations: 187.7 kB / 493.1 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.1532, allocations: 1.306 MB / 494.4 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.1536, allocations: 254.5 kB / 494.6 MB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.1537, allocations: 99.39 kB / 494.7 MB, free: 4.539 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.1538, allocations: 4 kB / 494.7 MB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.1538, allocations: 46.44 kB / 494.8 MB, free: 4.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.734e-06/0.1538, allocations: 0 / 494.8 MB, free: 4.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002347/0.1562, allocations: 1.557 MB / 496.3 MB, free: 2.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.1563, allocations: 136.5 kB / 496.5 MB, free: 2.551 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.1565, allocations: 221 kB / 496.7 MB, free: 2.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.1565, allocations: 33.7 kB / 496.7 MB, free: 2.281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1566, allocations: 180.3 kB / 496.9 MB, free: 2.102 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.553e-05/0.1567, allocations: 114.3 kB / 497 MB, free: 1.988 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-05/0.1568, allocations: 70.12 kB / 497.1 MB, free: 1.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1569, allocations: 335 kB / 497.4 MB, free: 1.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.1572, allocations: 108.8 kB / 497.5 MB, free: 1.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.1575, allocations: 233.4 kB / 497.7 MB, free: 1.188 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005634/0.1581, allocations: 381 kB / 498.1 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1581, allocations: 0 / 498.1 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006928/0.1588, allocations: 392.7 kB / 498.5 MB, free: 372 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.1588, allocations: 11.98 kB / 498.5 MB, free: 360 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.1588, allocations: 4.406 kB / 498.5 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.1589, allocations: 12 kB / 498.5 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.1593, allocations: 96.12 kB / 498.6 MB, free: 248 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.1593, allocations: 11.94 kB / 498.6 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.1595, allocations: 27.98 kB / 498.6 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.1595, allocations: 20 kB / 498.7 MB, free: 188 kB / 378.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 0.0001357/0.1597, allocations: 157.7 kB / 498.8 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.1598, allocations: 27.83 kB / 498.8 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.447e-05/0.1599, allocations: 41.7 kB / 498.9 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1599, allocations: 4 kB / 498.9 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.1599, allocations: 0 / 498.9 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1599, allocations: 0 / 498.9 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.1614, allocations: 0.9894 MB / 499.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1614, allocations: 0 / 499.9 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/0.1617, allocations: 83.94 kB / 500 MB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1617, allocations: 4 kB / 500 MB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.1618, allocations: 15.94 kB / 500 MB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1618, allocations: 0 / 500 MB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1618, allocations: 4 kB / 500 MB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/0.1645, allocations: 2.156 MB / 0.4904 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.1645, allocations: 96.95 kB / 0.4905 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.1646, allocations: 12.06 kB / 0.4905 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.1648, allocations: 19.97 kB / 0.4905 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/0.1649, allocations: 27.91 kB / 0.4905 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.165, allocations: 15.94 kB / 0.4905 GB, free: 12.28 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.1651, allocations: 160.5 kB / 0.4907 GB, free: 12.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1651, allocations: 0 / 0.4907 GB, free: 12.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005122/0.1656, allocations: 91.84 kB / 0.4908 GB, free: 12.03 MB / 394.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.0001063/0.1657, allocations: 107.9 kB / 0.4909 GB, free: 11.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005829/0.1663, allocations: 276 kB / 0.4911 GB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1663, allocations: 4 kB / 0.4911 GB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.1666, allocations: 127.8 kB / 0.4913 GB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006821/0.1673, allocations: 40.97 kB / 0.4913 GB, free: 11.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.1689, allocations: 1.201 MB / 0.4925 GB, free: 10.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.1693, allocations: 0.7722 MB / 0.4932 GB, free: 9.422 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001486/0.1694, allocations: 42.89 kB / 0.4933 GB, free: 9.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.646e-05/0.1695, allocations: 35.42 kB / 0.4933 GB, free: 9.348 MB / 394.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1695, allocations: 0 / 0.4933 GB, free: 9.348 MB / 394.7 MB Notification: Performance of Templates: time 0.005188/0.1747, allocations: 2.381 MB / 0.4956 GB, free: 6.977 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches