Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000927/0.000927, allocations: 183.4 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 225.7 MB / 243.2 MB, free: 8.465 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007682/0.0007682, allocations: 93.22 kB / 294.4 MB, free: 9.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002566/0.0002566, allocations: 8 kB / 354.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1876, allocations: 50.42 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.0009652/0.1886, allocations: 1.061 MB / 405.6 MB, free: 30.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008678/0.1973, allocations: 15.83 MB / 421.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.1974, allocations: 0 / 421.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.55e-05/0.1974, allocations: 4 kB / 421.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.1992, allocations: 0.8571 MB / 422.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008293/0.2, allocations: 0.5288 MB / 422.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.891e-05/0.2001, allocations: 67.64 kB / 422.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.98e-05/0.2001, allocations: 8 kB / 422.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.587e-05/0.2002, allocations: 23.92 kB / 422.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.329e-05/0.2002, allocations: 35.89 kB / 423 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.2002, allocations: 7.938 kB / 423 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.2021, allocations: 1.506 MB / 424.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.2021, allocations: 11.98 kB / 424.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.2021, allocations: 49.56 kB / 424.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.2033, allocations: 1.057 MB / 425.6 MB, free: 9.215 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2033, allocations: 0 / 425.6 MB, free: 9.215 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2033, allocations: 3.938 kB / 425.6 MB, free: 9.211 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.2033, allocations: 0 / 425.6 MB, free: 9.211 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.0004851/0.2038, allocations: 0.5341 MB / 426.1 MB, free: 8.629 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.2039, allocations: 12.03 kB / 426.2 MB, free: 8.617 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.583e-05/0.204, allocations: 12.84 kB / 426.2 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.21e-05/0.2041, allocations: 172.3 kB / 426.3 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.2041, allocations: 8.375 kB / 426.4 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.517e-06/0.2041, allocations: 384 / 426.4 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.2042, allocations: 67.52 kB / 426.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.2043, allocations: 4 kB / 426.4 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.2043, allocations: 4 kB / 426.4 MB, free: 8.305 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2043, allocations: 0 / 426.4 MB, free: 8.305 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.049e-05/0.2044, allocations: 23.91 kB / 426.4 MB, free: 8.281 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001242/0.2045, allocations: 178.6 kB / 426.6 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.2047, allocations: 81.12 kB / 426.7 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.2048, allocations: 21.78 kB / 426.7 MB, free: 7.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004945/0.2097, allocations: 3.294 MB / 430 MB, free: 4.191 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.2098, allocations: 38.5 kB / 430.1 MB, free: 4.145 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.2098, allocations: 0 / 430.1 MB, free: 4.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002647/0.2101, allocations: 85.92 kB / 430.1 MB, free: 4.055 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.2101, allocations: 81.09 kB / 430.2 MB, free: 3.957 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.267e-05/0.2102, allocations: 113.8 kB / 430.3 MB, free: 3.836 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.2102, allocations: 25.7 kB / 430.4 MB, free: 3.805 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.95e-05/0.2102, allocations: 84.14 kB / 430.4 MB, free: 3.719 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.2102, allocations: 27.66 kB / 430.5 MB, free: 3.691 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.2103, allocations: 0 / 430.5 MB, free: 3.691 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.05e-05/0.2103, allocations: 314.8 kB / 430.8 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.561e-05/0.2104, allocations: 12 kB / 430.8 MB, free: 3.363 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.443e-05/0.2104, allocations: 29.64 kB / 430.8 MB, free: 3.328 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.586e-05/0.2105, allocations: 33.7 kB / 430.8 MB, free: 3.289 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2105, allocations: 4 kB / 430.8 MB, free: 3.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001253/0.2106, allocations: 77.45 kB / 430.9 MB, free: 3.203 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.2107, allocations: 4 kB / 430.9 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2107, allocations: 4 kB / 430.9 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2107, allocations: 0 / 430.9 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.937e-05/0.2107, allocations: 11.98 kB / 430.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.2108, allocations: 3.938 kB / 430.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.71e-05/0.2108, allocations: 4 kB / 431 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.2108, allocations: 0 / 431 MB, free: 3.176 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.2109, allocations: 121.8 kB / 431.1 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.2109, allocations: 7.938 kB / 431.1 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.2111, allocations: 109.2 kB / 431.2 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2111, allocations: 4 kB / 431.2 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.2111, allocations: 0 / 431.2 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2111, allocations: 7.984 kB / 431.2 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.58e-05/0.2112, allocations: 169.6 kB / 431.4 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2112, allocations: 0 / 431.4 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.106e-05/0.2113, allocations: 15.94 kB / 431.4 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2113, allocations: 0 / 431.4 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.2113, allocations: 0 / 431.4 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2113, allocations: 4 kB / 431.4 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2113, allocations: 3.938 kB / 431.4 MB, free: 2.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.2114, allocations: 101.9 kB / 431.5 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.2115, allocations: 96.92 kB / 431.6 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.2115, allocations: 240 / 431.6 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.407e-05/0.2116, allocations: 8 kB / 431.6 MB, free: 2.438 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.2116, allocations: 8.172 kB / 431.6 MB, free: 2.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.2116, allocations: 11.98 kB / 431.6 MB, free: 2.418 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.968e-05/0.2117, allocations: 91.58 kB / 431.7 MB, free: 2.328 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2117, allocations: 0 / 431.7 MB, free: 2.328 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005989/0.2123, allocations: 323.6 kB / 432 MB, free: 2.012 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 (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.000856/0.2131, allocations: 0.5698 MB / 432.6 MB, free: 1.434 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.2133, allocations: 43.89 kB / 432.6 MB, free: 1.391 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2133, allocations: 0 / 432.6 MB, free: 1.391 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.962e-05/0.2133, allocations: 23.92 kB / 432.6 MB, free: 1.367 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.2135, allocations: 11.94 kB / 432.7 MB, free: 1.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.2138, allocations: 183.4 kB / 432.8 MB, free: 1.141 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.65e-05/0.2139, allocations: 0.6887 MB / 433.5 MB, free: 436 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.976e-05/0.214, allocations: 39.89 kB / 433.6 MB, free: 396 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.2141, allocations: 23.42 kB / 433.6 MB, free: 372 kB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2141, allocations: 0 / 433.6 MB, free: 372 kB / 298.7 MB Notification: Performance of Templates: time 0.01128/0.2254, allocations: 8.88 MB / 442.5 MB, free: 7.473 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches