Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001453/0.001453, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001613/0.001613, allocations: 156.9 kB / 24.26 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.854e-05, allocations: 6.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002492/0.002521, allocations: 1.363 MB / 273.6 MB, free: 444 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.1407/0.1432, allocations: 21.14 MB / 294.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.1433, allocations: 0 / 294.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.1434, allocations: 8.234 kB / 294.7 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.015/0.1584, allocations: 6.017 MB / 300.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008314/0.1592, allocations: 371.3 kB / 301.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.1593, allocations: 82.19 kB / 301.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.352e-05/0.1594, allocations: 5.562 kB / 301.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.357e-05/0.1594, allocations: 42.33 kB / 301.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.568e-05/0.1595, allocations: 33.3 kB / 301.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.1595, allocations: 4.406 kB / 301.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01433/0.1739, allocations: 8.419 MB / 309.7 MB, free: 9.879 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/0.1739, allocations: 18.45 kB / 309.7 MB, free: 9.867 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.471e-05/0.174, allocations: 23.45 kB / 309.7 MB, free: 9.855 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008858/0.1828, allocations: 5.5 MB / 315.2 MB, free: 5.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1828, allocations: 0 / 315.2 MB, free: 5.273 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1828, allocations: 0 / 315.2 MB, free: 5.273 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1828, allocations: 0 / 315.2 MB, free: 5.273 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001777/0.1846, allocations: 0.8718 MB / 316.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.1846, allocations: 11.98 kB / 316.1 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/0.1847, allocations: 8.891 kB / 316.1 MB, free: 4.348 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.1848, allocations: 135.4 kB / 316.2 MB, free: 4.191 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.1848, allocations: 4.75 kB / 316.2 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.1848, allocations: 4 kB / 316.2 MB, free: 4.184 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.185, allocations: 126.7 kB / 316.4 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.185, allocations: 0.5625 kB / 316.4 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.185, allocations: 0 / 316.4 MB, free: 4.035 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.185, allocations: 4 kB / 316.4 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.1851, allocations: 40.48 kB / 316.4 MB, free: 3.992 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.1853, allocations: 130.8 kB / 316.5 MB, free: 3.832 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.1856, allocations: 97.77 kB / 316.6 MB, free: 3.719 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.421e-05/0.1856, allocations: 29.77 kB / 316.7 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.826e-05/0.1857, allocations: 8 kB / 316.7 MB, free: 3.676 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.1857, allocations: 42.48 kB / 316.7 MB, free: 3.625 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.1857, allocations: 4 kB / 316.7 MB, free: 3.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.000293/0.186, allocations: 108.4 kB / 316.8 MB, free: 3.512 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.983e-05/0.186, allocations: 81.05 kB / 316.9 MB, free: 3.414 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.348e-05/0.1861, allocations: 137.8 kB / 317 MB, free: 3.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.1861, allocations: 25.7 kB / 317.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.938e-05/0.1861, allocations: 88.14 kB / 317.1 MB, free: 3.148 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.1861, allocations: 11.91 kB / 317.2 MB, free: 3.137 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.1862, allocations: 21.7 kB / 317.2 MB, free: 3.109 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.558e-05/0.1862, allocations: 314.8 kB / 317.5 MB, free: 2.793 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.533e-05/0.1863, allocations: 15.98 kB / 317.5 MB, free: 2.777 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.556e-05/0.1863, allocations: 34.77 kB / 317.5 MB, free: 2.738 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.1864, allocations: 59.52 kB / 317.6 MB, free: 2.676 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1864, allocations: 0 / 317.6 MB, free: 2.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001651/0.1866, allocations: 89.5 kB / 317.7 MB, free: 2.582 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.1866, allocations: 7.938 kB / 317.7 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1866, allocations: 0 / 317.7 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1866, allocations: 0 / 317.7 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.317e-05/0.1867, allocations: 15.88 kB / 317.7 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1867, allocations: 7.922 kB / 317.7 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.221e-05/0.1868, allocations: 3.938 kB / 317.7 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1868, allocations: 8 kB / 317.7 MB, free: 2.543 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 4.674e-05/0.1868, allocations: 113.8 kB / 317.8 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.1868, allocations: 12.97 kB / 317.8 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.187, allocations: 101.6 kB / 317.9 MB, free: 2.305 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.187, allocations: 4 kB / 317.9 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.187, allocations: 0 / 317.9 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1871, allocations: 0 / 317.9 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.222e-05/0.1871, allocations: 123.5 kB / 318.1 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1871, allocations: 0 / 318.1 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.581e-05/0.1872, allocations: 11.98 kB / 318.1 MB, free: 2.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1872, allocations: 4 kB / 318.1 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1872, allocations: 11.94 kB / 318.1 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1872, allocations: 0 / 318.1 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1872, allocations: 0 / 318.1 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.1874, allocations: 113.9 kB / 318.2 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.618e-05/0.1874, allocations: 15.94 kB / 318.2 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.1874, allocations: 3.938 kB / 318.2 MB, free: 1.977 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.653e-05/0.1875, allocations: 4 kB / 318.2 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.1875, allocations: 7.984 kB / 318.2 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.1876, allocations: 4 kB / 318.2 MB, free: 1.961 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.703e-05/0.1876, allocations: 115.2 kB / 318.4 MB, free: 1.848 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1876, allocations: 0 / 318.4 MB, free: 1.848 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001897/0.1895, allocations: 0.9586 MB / 319.3 MB, free: 0.8867 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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.003848/0.1933, allocations: 1.463 MB / 320.8 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.1936, allocations: 48.41 kB / 320.8 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1936, allocations: 0 / 320.8 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.338e-05/0.1937, allocations: 27.92 kB / 320.9 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.1939, allocations: 23.92 kB / 320.9 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/0.1944, allocations: 171 kB / 321 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.781e-05/0.1945, allocations: 70 kB / 321.1 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6e-05/0.1945, allocations: 19.88 kB / 321.1 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.1946, allocations: 16.5 kB / 321.1 MB, free: 15.11 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1946, allocations: 0 / 321.1 MB, free: 15.11 MB / 282.7 MB Notification: Performance of Templates: time 0.04552/0.2401, allocations: 27.69 MB / 348.8 MB, free: 3.449 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.27316093200352]