Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001692/0.001692, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.236/1.236, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007046/0.0007048, allocations: 85.48 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004584, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1847, allocations: 47.57 MB / 374.6 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.0009584/0.1857, allocations: 1.057 MB / 375.6 MB, free: 44.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008315/0.194, allocations: 11.12 MB / 386.7 MB, free: 35.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.18e-05/0.1941, allocations: 1.406 kB / 386.7 MB, free: 35.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.1941, allocations: 11.92 kB / 386.7 MB, free: 35.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001843/0.196, allocations: 0.7985 MB / 387.5 MB, free: 34.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.197, allocations: 472.1 kB / 388 MB, free: 34.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.023e-05/0.1971, allocations: 59.58 kB / 388.1 MB, free: 34.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.415e-05/0.1972, allocations: 5.531 kB / 388.1 MB, free: 34.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.583e-05/0.1972, allocations: 21.36 kB / 388.1 MB, free: 34.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.202e-05/0.1973, allocations: 31.66 kB / 388.1 MB, free: 34.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1973, allocations: 2.25 kB / 388.1 MB, free: 34.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.1995, allocations: 1.377 MB / 389.5 MB, free: 33.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.1996, allocations: 11.98 kB / 389.5 MB, free: 33.84 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.1996, allocations: 29.7 kB / 389.5 MB, free: 33.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007483/0.2004, allocations: 0.6792 MB / 390.2 MB, free: 33.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2004, allocations: 0 / 390.2 MB, free: 33.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2004, allocations: 3.938 kB / 390.2 MB, free: 33.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.2004, allocations: 0 / 390.2 MB, free: 33.12 MB / 298.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.0005134/0.2009, allocations: 0.53 MB / 390.8 MB, free: 32.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.2009, allocations: 12.03 kB / 390.8 MB, free: 32.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.813e-05/0.201, allocations: 7.906 kB / 390.8 MB, free: 32.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.231e-05/0.2011, allocations: 179 kB / 390.9 MB, free: 32.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.2012, allocations: 4 kB / 391 MB, free: 32.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.2012, allocations: 11.98 kB / 391 MB, free: 32.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.2013, allocations: 59.39 kB / 391 MB, free: 32.22 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.2013, allocations: 4 kB / 391 MB, free: 32.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2013, allocations: 4 kB / 391 MB, free: 32.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2013, allocations: 0 / 391 MB, free: 32.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.344e-05/0.2014, allocations: 27.91 kB / 391.1 MB, free: 32.19 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001218/0.2016, allocations: 182.6 kB / 391.2 MB, free: 31.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.2018, allocations: 77.12 kB / 391.3 MB, free: 31.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/0.2019, allocations: 21.78 kB / 391.3 MB, free: 31.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005271/0.2071, allocations: 3.309 MB / 394.6 MB, free: 28.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.2072, allocations: 34.5 kB / 394.7 MB, free: 28.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.2072, allocations: 0 / 394.7 MB, free: 28.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002486/0.2074, allocations: 85.5 kB / 394.8 MB, free: 27.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.2075, allocations: 77.11 kB / 394.8 MB, free: 27.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.277e-05/0.2075, allocations: 117.8 kB / 394.9 MB, free: 27.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.2076, allocations: 29.7 kB / 395 MB, free: 27.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.757e-05/0.2076, allocations: 84.14 kB / 395.1 MB, free: 27.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.2076, allocations: 19.66 kB / 395.1 MB, free: 27.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.2076, allocations: 4 kB / 395.1 MB, free: 27.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.742e-05/0.2077, allocations: 314.8 kB / 395.4 MB, free: 27.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.676e-05/0.2077, allocations: 12 kB / 395.4 MB, free: 27.26 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.473e-05/0.2078, allocations: 29.64 kB / 395.4 MB, free: 27.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.701e-05/0.2078, allocations: 15.98 kB / 395.4 MB, free: 27.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2078, allocations: 3.953 kB / 395.4 MB, free: 27.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001295/0.208, allocations: 66.14 kB / 395.5 MB, free: 27.13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.208, allocations: 4 kB / 395.5 MB, free: 27.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.208, allocations: 0 / 395.5 MB, free: 27.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.208, allocations: 7.938 kB / 395.5 MB, free: 27.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.836e-05/0.2081, allocations: 8 kB / 395.5 MB, free: 27.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.2081, allocations: 0 / 395.5 MB, free: 27.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.865e-05/0.2081, allocations: 8 kB / 395.5 MB, free: 27.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.2081, allocations: 3.984 kB / 395.5 MB, free: 27.1 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/0.2082, allocations: 113.8 kB / 395.7 MB, free: 26.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.2082, allocations: 11.86 kB / 395.7 MB, free: 26.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.2084, allocations: 109.7 kB / 395.8 MB, free: 26.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.2084, allocations: 0 / 395.8 MB, free: 26.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.2085, allocations: 4 kB / 395.8 MB, free: 26.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2085, allocations: 0 / 395.8 MB, free: 26.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.823e-05/0.2085, allocations: 173.4 kB / 395.9 MB, free: 26.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2085, allocations: 0 / 395.9 MB, free: 26.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.486e-05/0.2086, allocations: 19.94 kB / 396 MB, free: 26.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2086, allocations: 0 / 396 MB, free: 26.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.2086, allocations: 4 kB / 396 MB, free: 26.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2086, allocations: 0 / 396 MB, free: 26.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2086, allocations: 4 kB / 396 MB, free: 26.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.2088, allocations: 97.95 kB / 396.1 MB, free: 26.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.2088, allocations: 93 kB / 396.2 MB, free: 26.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.2089, allocations: 4.141 kB / 396.2 MB, free: 26.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.2089, allocations: 8 kB / 396.2 MB, free: 26.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.209, allocations: 11.98 kB / 396.2 MB, free: 26.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.209, allocations: 4 kB / 396.2 MB, free: 26.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.2e-05/0.209, allocations: 95.25 kB / 396.3 MB, free: 26.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.209, allocations: 7.938 kB / 396.3 MB, free: 26.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005661/0.2096, allocations: 315.6 kB / 396.6 MB, free: 25.95 MB / 298.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 (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.0008546/0.2105, allocations: 0.5572 MB / 397.2 MB, free: 25.38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.2106, allocations: 47.91 kB / 397.2 MB, free: 25.33 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2106, allocations: 0 / 397.2 MB, free: 25.33 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.012e-05/0.2107, allocations: 12 kB / 397.2 MB, free: 25.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/0.2109, allocations: 15.98 kB / 397.2 MB, free: 25.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.2112, allocations: 219 kB / 397.4 MB, free: 25.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.131e-05/0.2113, allocations: 0.6809 MB / 398.1 MB, free: 24.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.814e-05/0.2113, allocations: 23.42 kB / 398.1 MB, free: 24.32 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2113, allocations: 0 / 398.1 MB, free: 24.32 MB / 298.7 MB Notification: Performance of Templates: time 0.006456/0.2178, allocations: 5.94 MB / 404.1 MB, free: 18.38 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches