Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 95.2 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 184.2 kB / 17.89 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 223.3 MB / 241.9 MB, free: 60 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2066/0.2066, allocations: 44.26 MB / 337.3 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003604, allocations: 8 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1668, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.004661/0.1715, allocations: 2.19 MB / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.173, allocations: 0.6198 MB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002785/0.1733, allocations: 11.88 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.1735, allocations: 27.72 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.1738, allocations: 79.39 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.1741, allocations: 67.92 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.1745, allocations: 298.6 kB / 474.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.1748, allocations: 73.41 kB / 474.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000262/0.1751, allocations: 107.5 kB / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.1753, allocations: 119.5 kB / 475.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.26e-05/0.1754, allocations: 12 kB / 475.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.978e-05/0.1754, allocations: 12 kB / 475.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.1755, allocations: 43.78 kB / 475.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.877e-05/0.1756, allocations: 77.58 kB / 475.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.1759, allocations: 211.7 kB / 475.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.1759, allocations: 0 / 475.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1759, allocations: 0 / 475.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.1759, allocations: 0 / 475.5 MB, free: 9.758 MB / 350.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.0009969/0.1769, allocations: 0.5494 MB / 476.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.177, allocations: 8.562 kB / 476.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.789e-05/0.1771, allocations: 31.62 kB / 476.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.1775, allocations: 255.6 kB / 476.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.1775, allocations: 20.5 kB / 476.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.784e-05/0.1776, allocations: 35.98 kB / 476.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.1781, allocations: 282 kB / 476.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.1782, allocations: 3.906 kB / 476.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.1782, allocations: 15.94 kB / 476.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.1782, allocations: 12 kB / 476.7 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/0.1787, allocations: 195.7 kB / 476.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.1805, allocations: 1.325 MB / 478.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.181, allocations: 254.3 kB / 478.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.1812, allocations: 103.4 kB / 478.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.1812, allocations: 11.98 kB / 478.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.1813, allocations: 38.69 kB / 478.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.994e-06/0.1813, allocations: 0 / 478.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002781/0.1841, allocations: 1.631 MB / 480.3 MB, free: 4.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.093e-05/0.1842, allocations: 136.5 kB / 480.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.1844, allocations: 217 kB / 480.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.1844, allocations: 29.7 kB / 480.6 MB, free: 4.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.1846, allocations: 176.3 kB / 480.8 MB, free: 3.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.1847, allocations: 118.3 kB / 480.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.532e-05/0.1847, allocations: 4 kB / 480.9 MB, free: 3.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1849, allocations: 342.8 kB / 481.3 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.1851, allocations: 108.8 kB / 481.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.1855, allocations: 257.4 kB / 481.6 MB, free: 3.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.1859, allocations: 144.9 kB / 481.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.1859, allocations: 4 kB / 481.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000807/0.1867, allocations: 410 kB / 482.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.1867, allocations: 16.02 kB / 482.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.1867, allocations: 4 kB / 482.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.1868, allocations: 8 kB / 482.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.1872, allocations: 103.8 kB / 482.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.1872, allocations: 11.98 kB / 482.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.1875, allocations: 36.08 kB / 482.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.1875, allocations: 19.94 kB / 482.4 MB, free: 2.301 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000175/0.1877, allocations: 157.7 kB / 482.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.1878, allocations: 31.56 kB / 482.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.14e-05/0.1879, allocations: 41.66 kB / 482.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.1879, allocations: 4 kB / 482.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1879, allocations: 0 / 482.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.188, allocations: 3.984 kB / 482.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.1895, allocations: 1.013 MB / 483.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1895, allocations: 0 / 483.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.1899, allocations: 79.89 kB / 483.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.1899, allocations: 4 kB / 483.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.1899, allocations: 12.42 kB / 483.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.19, allocations: 8.062 kB / 483.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.19, allocations: 0 / 483.7 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.191, allocations: 0.7719 MB / 484.5 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.1911, allocations: 100.8 kB / 484.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.1912, allocations: 8.062 kB / 484.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.1915, allocations: 27.98 kB / 484.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.743e-05/0.1916, allocations: 31.91 kB / 484.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.1916, allocations: 12 kB / 484.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.1917, allocations: 152.5 kB / 484.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.1917, allocations: 0 / 484.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000509/0.1923, allocations: 67.94 kB / 484.9 MB, free: 15.67 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001139/0.1924, allocations: 111 kB / 485 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006515/0.193, allocations: 292.6 kB / 485.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1931, allocations: 8 kB / 485.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.1934, allocations: 144.3 kB / 485.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007623/0.1941, allocations: 36.59 kB / 485.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.1957, allocations: 1.07 MB / 486.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.1961, allocations: 0.7725 MB / 487.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000154/0.1963, allocations: 34.95 kB / 487.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.489e-05/0.1964, allocations: 31.42 kB / 487.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1964, allocations: 0 / 487.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of Templates: time 0.00558/0.202, allocations: 2.099 MB / 489.5 MB, free: 11.01 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches