Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.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.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008441/0.0008442, allocations: 91.61 kB / 17.35 MB, free: 6.371 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.0008493/0.0008494, allocations: 172.4 kB / 18.25 MB, free: 5.527 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.548/1.548, allocations: 223.3 MB / 242.3 MB, free: 260 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.2223/0.2223, allocations: 44.26 MB / 337.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003352, allocations: 8 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1449, allocations: 61.93 MB / 472.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.0007346/0.1457, allocations: 201.2 kB / 472.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003139/0.1489, allocations: 2.027 MB / 474.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.322e-05/0.1489, allocations: 0 / 474.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.336e-05/0.1489, allocations: 0 / 474.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.624e-05/0.1489, allocations: 0 / 474.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008948/0.1498, allocations: 283.3 kB / 474.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.929e-05/0.1499, allocations: 11.92 kB / 474.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.631e-05/0.1499, allocations: 0 / 474.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.036e-05/0.15, allocations: 4 kB / 474.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03408/0.184, allocations: 3.193 MB / 478 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1841, allocations: 0 / 478 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-05/0.1842, allocations: 8 kB / 478 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.1842, allocations: 0 / 478 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.954e-05/0.1842, allocations: 29.69 kB / 478 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.355e-05/0.1843, allocations: 11.98 kB / 478 MB, free: 8.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1843, allocations: 3.938 kB / 478 MB, free: 8.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1844, allocations: 8 kB / 478 MB, free: 8.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1844, allocations: 0 / 478 MB, free: 8.082 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002821/0.1846, allocations: 311.5 kB / 478.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1847, allocations: 12.09 kB / 478.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.1849, allocations: 84.2 kB / 478.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.1851, allocations: 235.7 kB / 478.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.062e-05/0.1851, allocations: 154.9 kB / 478.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.917e-05/0.1852, allocations: 162.7 kB / 479 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.75e-05/0.1853, allocations: 105 kB / 479.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.1853, allocations: 79.22 kB / 479.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.717e-05/0.1854, allocations: 154.6 kB / 479.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-05/0.1855, allocations: 154.5 kB / 479.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.751e-05/0.1855, allocations: 154.6 kB / 479.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.1859, allocations: 442 kB / 480 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.1861, allocations: 169.1 kB / 480.2 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.15e-05/0.1861, allocations: 88.02 kB / 480.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.1862, allocations: 79.28 kB / 480.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.1862, allocations: 105.8 kB / 480.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.1862, allocations: 0 / 480.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.838e-05/0.1863, allocations: 29.7 kB / 480.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.581e-05/0.1864, allocations: 182.1 kB / 480.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.1865, allocations: 93.86 kB / 480.7 MB, free: 5.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.1865, allocations: 25.7 kB / 480.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/0.1866, allocations: 88.27 kB / 480.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.1866, allocations: 0 / 480.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/0.1866, allocations: 9.719 kB / 480.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1867, allocations: 310.8 kB / 481.2 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-06/0.1868, allocations: 3.938 kB / 481.2 MB, free: 4.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.881e-05/0.1868, allocations: 13.72 kB / 481.2 MB, free: 4.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.739e-05/0.1868, allocations: 75.28 kB / 481.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.39e-05/0.1869, allocations: 79.31 kB / 481.3 MB, free: 4.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.608e-05/0.1869, allocations: 37.62 kB / 481.4 MB, free: 4.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/0.187, allocations: 79.28 kB / 481.5 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.39e-05/0.187, allocations: 83.22 kB / 481.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000141/0.1872, allocations: 154.5 kB / 481.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.503e-05/0.1872, allocations: 83.22 kB / 481.8 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001657/0.1874, allocations: 154.5 kB / 481.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.582e-05/0.1875, allocations: 79.28 kB / 482 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.1875, allocations: 83.27 kB / 482.1 MB, free: 3.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0002414/0.1878, allocations: 268.4 kB / 482.3 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.493e-05/0.1878, allocations: 104.9 kB / 482.4 MB, free: 3.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.297e-05/0.1879, allocations: 108.1 kB / 482.5 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.534e-05/0.188, allocations: 184.2 kB / 482.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-05/0.1881, allocations: 176.3 kB / 482.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-05/0.1881, allocations: 184.2 kB / 483.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.1884, allocations: 405.2 kB / 483.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-05/0.1885, allocations: 101 kB / 483.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.672e-05/0.1885, allocations: 108.9 kB / 483.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.695e-05/0.1886, allocations: 180.3 kB / 483.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.607e-05/0.1887, allocations: 184.2 kB / 484 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.34e-05/0.1887, allocations: 180.3 kB / 484.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.674e-05/0.1888, allocations: 184.2 kB / 484.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.1889, allocations: 307.8 kB / 484.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.718e-05/0.189, allocations: 190 kB / 484.9 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.717e-05/0.1891, allocations: 180.3 kB / 485.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.631e-05/0.1892, allocations: 104.9 kB / 485.2 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.804e-05/0.1893, allocations: 184.7 kB / 485.3 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.1893, allocations: 101 kB / 485.4 MB, free: 176 kB / 350.1 MB Notification: Performance of sorting global known variables: time 3.775e-05/0.1894, allocations: 79.28 kB / 485.5 MB, free: 96 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1894, allocations: 0 / 485.5 MB, free: 96 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1897, allocations: 4 kB / 485.5 MB, free: 92 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0001388/0.1898, allocations: 171 kB / 485.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.079e-05/0.1899, allocations: 4 kB / 485.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1899, allocations: 0 / 485.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.1899, allocations: 0 / 485.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.1903, allocations: 0.5287 MB / 486.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.1906, allocations: 162 kB / 486.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.1909, allocations: 0.6692 MB / 487 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.458e-05/0.191, allocations: 3.984 kB / 487 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.468e-05/0.191, allocations: 11.44 kB / 487.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.191, allocations: 4 kB / 487.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of Templates: time 0.002519/0.1935, allocations: 288.4 kB / 487.3 MB, free: 14.2 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestExamplesCalculator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches