Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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.001178/0.001178, 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.001303/0.001303, 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 1.225/1.225, 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.2099/0.2099, allocations: 32.37 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.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 299 MB, free: 2.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.846e-05, allocations: 2.312 kB / 299 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001224/0.001252, allocations: 0.4975 MB / 299.5 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.168/0.1693, allocations: 2.041 MB / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.754e-05/0.1693, allocations: 0 / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.421e-05/0.1693, allocations: 1.125 kB / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.733e-05/0.1693, allocations: 5.328 kB / 301.6 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.1709, allocations: 387.1 kB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.046e-05/0.171, allocations: 4 kB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.093e-05/0.171, allocations: 2.016 kB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.999e-05/0.1711, allocations: 2.922 kB / 302 MB, free: 19.21 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01229/0.1834, allocations: 4.861 MB / 306.8 MB, free: 17.03 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.1834, allocations: 0 / 306.8 MB, free: 17.03 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.1835, allocations: 4.328 kB / 306.8 MB, free: 17.03 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.1835, allocations: 2.406 kB / 306.8 MB, free: 17.03 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.1835, allocations: 0 / 306.8 MB, free: 17.03 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.1837, allocations: 16.03 kB / 306.9 MB, free: 17.03 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1837, allocations: 1.281 kB / 306.9 MB, free: 17.03 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1837, allocations: 0 / 306.9 MB, free: 17.03 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1837, allocations: 0 / 306.9 MB, free: 17.03 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002273/0.184, allocations: 216.8 kB / 307.1 MB, free: 16.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.184, allocations: 13.12 kB / 307.1 MB, free: 16.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.1842, allocations: 92.36 kB / 307.2 MB, free: 16.73 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.807e-05/0.1843, allocations: 183.8 kB / 307.3 MB, free: 16.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1843, allocations: 152.2 kB / 307.5 MB, free: 16.38 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.1843, allocations: 160.9 kB / 307.7 MB, free: 16.22 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.848e-05/0.1843, allocations: 103.1 kB / 307.8 MB, free: 16.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1844, allocations: 77.94 kB / 307.8 MB, free: 16.04 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.1844, allocations: 156.2 kB / 308 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.1844, allocations: 151.9 kB / 308.1 MB, free: 15.74 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.792e-05/0.1844, allocations: 159.2 kB / 308.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001104/0.1845, allocations: 351.7 kB / 308.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.466e-05/0.1846, allocations: 171.7 kB / 308.8 MB, free: 15.06 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.401e-05/0.1846, allocations: 84.12 kB / 308.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.1846, allocations: 77.17 kB / 309 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.1846, allocations: 111.7 kB / 309.1 MB, free: 14.78 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/0.1846, allocations: 0 / 309.1 MB, free: 14.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 5.749e-05/0.1847, allocations: 27.52 kB / 309.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.1847, allocations: 183.2 kB / 309.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.372e-05/0.1848, allocations: 108.7 kB / 309.4 MB, free: 14.44 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.1848, allocations: 25.7 kB / 309.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.514e-05/0.1848, allocations: 81.98 kB / 309.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.52e-07/0.1848, allocations: 0 / 309.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/0.1849, allocations: 13.19 kB / 309.5 MB, free: 14.31 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.305e-05/0.1849, allocations: 312.6 kB / 309.8 MB, free: 14 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.477e-06/0.1849, allocations: 1.344 kB / 309.8 MB, free: 14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.827e-05/0.1849, allocations: 67.33 kB / 309.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.515e-05/0.1849, allocations: 76.7 kB / 309.9 MB, free: 13.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.1849, allocations: 76.47 kB / 310 MB, free: 13.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.292e-05/0.185, allocations: 37.17 kB / 310.1 MB, free: 13.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.185, allocations: 85.08 kB / 310.1 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.185, allocations: 79.58 kB / 310.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.1851, allocations: 155.9 kB / 310.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.417e-05/0.1851, allocations: 77.19 kB / 310.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.1851, allocations: 155.3 kB / 310.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.881e-05/0.1851, allocations: 80.59 kB / 310.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.1851, allocations: 84.09 kB / 310.8 MB, free: 13.05 MB / 282.7 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 5.954e-05/0.1852, allocations: 262.6 kB / 311 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.1852, allocations: 107.7 kB / 311.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/0.1853, allocations: 109.3 kB / 311.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/0.1853, allocations: 182.4 kB / 311.4 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/0.1853, allocations: 185.6 kB / 311.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/0.1853, allocations: 182.9 kB / 311.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.608e-05/0.1854, allocations: 317.6 kB / 312.1 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.1854, allocations: 103.1 kB / 312.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.406e-05/0.1854, allocations: 106.7 kB / 312.3 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.126e-05/0.1854, allocations: 182.4 kB / 312.5 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.1855, allocations: 182.3 kB / 312.6 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.94e-05/0.1855, allocations: 181.7 kB / 312.8 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-05/0.1855, allocations: 178.8 kB / 313 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.11e-05/0.1856, allocations: 311.3 kB / 313.3 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.1856, allocations: 107.5 kB / 313.4 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.1856, allocations: 184.3 kB / 313.6 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.749e-05/0.1857, allocations: 102.5 kB / 313.7 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.1857, allocations: 186.9 kB / 313.9 MB, free: 9.848 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.1857, allocations: 103.6 kB / 314 MB, free: 9.742 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.812e-05/0.1858, allocations: 6.734 kB / 314 MB, free: 9.734 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1858, allocations: 0 / 314 MB, free: 9.734 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001379/0.1859, allocations: 2.312 kB / 314 MB, free: 9.734 MB / 282.7 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.0001181/0.186, allocations: 152 kB / 314.1 MB, free: 9.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.351e-05/0.1861, allocations: 10.16 kB / 314.1 MB, free: 9.582 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.1861, allocations: 0 / 314.1 MB, free: 9.582 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.1861, allocations: 1.062 kB / 314.1 MB, free: 9.582 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.1863, allocations: 467.4 kB / 314.6 MB, free: 9.129 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001988/0.1865, allocations: 153 kB / 314.7 MB, free: 8.961 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.413e-05/0.1865, allocations: 52.72 kB / 314.8 MB, free: 8.891 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.968e-05/0.1865, allocations: 1.125 kB / 314.8 MB, free: 8.891 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.187e-05/0.1866, allocations: 55.5 kB / 314.8 MB, free: 8.844 MB / 282.7 MB Notification: Performance of SimCode: time 1.503e-06/0.1866, allocations: 0 / 314.8 MB, free: 8.844 MB / 282.7 MB Notification: Performance of Templates: time 0.002758/0.1893, allocations: 380.5 kB / 315.2 MB, free: 8.762 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.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: 3.50660850526765]