Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 83.89 kB / 21.19 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.913/0.913, allocations: 173.3 MB / 201.1 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 3.984 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.924e-05, allocations: 2.312 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002296/0.002316, allocations: 1.389 MB / 269.4 MB, free: 5.023 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.144/0.1463, allocations: 23.26 MB / 292.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.1463, allocations: 0 / 292.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.1465, allocations: 10.22 kB / 292.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01241/0.1589, allocations: 6.005 MB / 298.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.1595, allocations: 374.1 kB / 299 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.1596, allocations: 80 kB / 299.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.1597, allocations: 2.875 kB / 299.1 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.282e-05/0.1597, allocations: 44.88 kB / 299.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.946e-05/0.1598, allocations: 37.61 kB / 299.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.1599, allocations: 3.344 kB / 299.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01255/0.1724, allocations: 8.385 MB / 307.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.1725, allocations: 17.56 kB / 307.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.1725, allocations: 25.95 kB / 307.6 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009476/0.182, allocations: 5.487 MB / 313.1 MB, free: 8.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.182, allocations: 0 / 313.1 MB, free: 8.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.182, allocations: 0 / 313.1 MB, free: 8.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.182, allocations: 0 / 313.1 MB, free: 8.59 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.002504/0.1845, allocations: 0.9532 MB / 314.1 MB, free: 7.836 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1845, allocations: 10.27 kB / 314.1 MB, free: 7.836 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.1846, allocations: 10.27 kB / 314.1 MB, free: 7.832 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.1847, allocations: 136.3 kB / 314.2 MB, free: 7.684 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.1847, allocations: 4.75 kB / 314.2 MB, free: 7.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.1847, allocations: 4 kB / 314.2 MB, free: 7.676 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.1849, allocations: 141 kB / 314.4 MB, free: 7.512 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1849, allocations: 0 / 314.4 MB, free: 7.512 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1849, allocations: 0 / 314.4 MB, free: 7.512 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.1849, allocations: 0 / 314.4 MB, free: 7.512 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.271e-05/0.185, allocations: 15.98 kB / 314.4 MB, free: 7.496 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.1851, allocations: 136.4 kB / 314.5 MB, free: 7.324 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.1853, allocations: 93.27 kB / 314.6 MB, free: 7.211 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.985e-05/0.1853, allocations: 26.36 kB / 314.6 MB, free: 7.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.648e-05/0.1854, allocations: 12 kB / 314.6 MB, free: 7.168 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.1854, allocations: 48.7 kB / 314.7 MB, free: 7.113 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.1854, allocations: 0 / 314.7 MB, free: 7.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001884/0.1856, allocations: 65.56 kB / 314.7 MB, free: 7.047 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.1856, allocations: 84.02 kB / 314.8 MB, free: 6.949 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.853e-05/0.1857, allocations: 185.9 kB / 315 MB, free: 6.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.1857, allocations: 25.7 kB / 315 MB, free: 6.719 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.1857, allocations: 134.9 kB / 315.2 MB, free: 6.582 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.1858, allocations: 19.8 kB / 315.2 MB, free: 6.562 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.161e-05/0.1858, allocations: 35.36 kB / 315.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.022e-05/0.1858, allocations: 492.1 kB / 315.7 MB, free: 6.027 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.239e-05/0.1859, allocations: 4 kB / 315.7 MB, free: 6.023 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.955e-05/0.1859, allocations: 31.36 kB / 315.7 MB, free: 5.984 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.542e-05/0.186, allocations: 42.34 kB / 315.8 MB, free: 5.941 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.186, allocations: 0 / 315.8 MB, free: 5.941 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.139e-05/0.186, allocations: 64.83 kB / 315.8 MB, free: 5.875 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1861, allocations: 7.938 kB / 315.8 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1861, allocations: 0 / 315.8 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.1861, allocations: 8 kB / 315.8 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.054e-05/0.1862, allocations: 11.98 kB / 315.9 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1862, allocations: 3.359 kB / 315.9 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/0.1862, allocations: 5.125 kB / 315.9 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.1862, allocations: 0 / 315.9 MB, free: 5.844 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 7.126e-05/0.1863, allocations: 163.7 kB / 316 MB, free: 5.676 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.1863, allocations: 11.89 kB / 316 MB, free: 5.664 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.1864, allocations: 76.75 kB / 316.1 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1864, allocations: 0 / 316.1 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1864, allocations: 4 kB / 316.1 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1864, allocations: 0 / 316.1 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.314e-05/0.1865, allocations: 131.8 kB / 316.2 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1865, allocations: 0 / 316.2 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.973e-05/0.1865, allocations: 8 kB / 316.3 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1865, allocations: 4 kB / 316.3 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-06/0.1865, allocations: 3.938 kB / 316.3 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1865, allocations: 7.922 kB / 316.3 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1865, allocations: 0.875 kB / 316.3 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.005e-05/0.1866, allocations: 107.1 kB / 316.4 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.1867, allocations: 19.94 kB / 316.4 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.1867, allocations: 7.938 kB / 316.4 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.149e-05/0.1867, allocations: 0.9375 kB / 316.4 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.1868, allocations: 11.98 kB / 316.4 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1868, allocations: 0 / 316.4 MB, free: 5.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.554e-05/0.1868, allocations: 147.5 kB / 316.6 MB, free: 5.086 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1868, allocations: 0 / 316.6 MB, free: 5.086 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001906/0.1887, allocations: 0.9469 MB / 317.5 MB, free: 4.137 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.002882/0.1916, allocations: 1.48 MB / 319 MB, free: 2.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001266/0.1917, allocations: 34.95 kB / 319 MB, free: 2.734 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1917, allocations: 0 / 319 MB, free: 2.734 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.89e-05/0.1917, allocations: 23.67 kB / 319 MB, free: 2.707 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.1919, allocations: 31.47 kB / 319.1 MB, free: 2.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006299/0.1926, allocations: 186.3 kB / 319.3 MB, free: 2.469 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.452e-05/0.1926, allocations: 59.34 kB / 319.3 MB, free: 2.391 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.715e-05/0.1926, allocations: 15.98 kB / 319.3 MB, free: 2.375 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.1927, allocations: 16.5 kB / 319.3 MB, free: 2.359 MB / 266.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1927, allocations: 0 / 319.3 MB, free: 2.359 MB / 266.7 MB Notification: Performance of Templates: time 0.03062/0.2233, allocations: 28.07 MB / 347.4 MB, free: 6.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.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: 5.296794178895652]