Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 229.5 MB / 247.7 MB, free: 6.293 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007532/0.0007532, allocations: 91.66 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002281/0.0002283, allocations: 8 kB / 360.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1941, allocations: 51.42 MB / 412 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.0009718/0.1951, allocations: 1.077 MB / 413.1 MB, free: 24.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009434/0.2046, allocations: 15.99 MB / 429.1 MB, free: 7.738 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.2046, allocations: 3.938 kB / 429.1 MB, free: 7.734 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.2047, allocations: 3.938 kB / 429.1 MB, free: 7.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002315/0.207, allocations: 0.8571 MB / 430 MB, free: 6.871 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.2081, allocations: 0.5366 MB / 430.5 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.117e-05/0.2082, allocations: 63.66 kB / 430.6 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.493e-05/0.2082, allocations: 4 kB / 430.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.758e-05/0.2083, allocations: 23.92 kB / 430.6 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.295e-05/0.2083, allocations: 27.91 kB / 430.6 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.2083, allocations: 4 kB / 430.6 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.2104, allocations: 1.506 MB / 432.1 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.2104, allocations: 11.97 kB / 432.1 MB, free: 4.691 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.2104, allocations: 53.56 kB / 432.2 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.2117, allocations: 1.06 MB / 433.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2117, allocations: 0 / 433.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2117, allocations: 0 / 433.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.2118, allocations: 0 / 433.3 MB, free: 3.57 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.0005231/0.2123, allocations: 0.5341 MB / 433.8 MB, free: 2.988 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2123, allocations: 8.031 kB / 433.8 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.2124, allocations: 16.83 kB / 433.8 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2126, allocations: 176.3 kB / 434 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.2126, allocations: 384 / 434 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.2126, allocations: 4.375 kB / 434 MB, free: 2.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.2127, allocations: 67.52 kB / 434.1 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.2128, allocations: 4 kB / 434.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.2128, allocations: 0 / 434.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2128, allocations: 7.938 kB / 434.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.471e-05/0.2129, allocations: 23.97 kB / 434.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.213, allocations: 174.6 kB / 434.3 MB, free: 2.414 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/0.2133, allocations: 81.12 kB / 434.3 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/0.2133, allocations: 21.78 kB / 434.4 MB, free: 2.289 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005296/0.2187, allocations: 3.29 MB / 437.7 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.2187, allocations: 50.5 kB / 437.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.2187, allocations: 0 / 437.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003124/0.219, allocations: 77.61 kB / 437.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.2191, allocations: 77.11 kB / 437.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.2192, allocations: 113.8 kB / 438 MB, free: 14.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.2192, allocations: 25.7 kB / 438 MB, free: 14.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.2193, allocations: 88.12 kB / 438.1 MB, free: 14.08 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.2193, allocations: 23.66 kB / 438.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.2193, allocations: 0 / 438.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2195, allocations: 322.8 kB / 438.4 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.054e-05/0.2195, allocations: 7.938 kB / 438.4 MB, free: 13.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.785e-05/0.2196, allocations: 29.7 kB / 438.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.841e-05/0.2197, allocations: 41.64 kB / 438.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2197, allocations: 4 kB / 438.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001473/0.2199, allocations: 73.45 kB / 438.6 MB, free: 13.56 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2199, allocations: 4 kB / 438.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2199, allocations: 0 / 438.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2199, allocations: 0 / 438.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.22, allocations: 15.98 kB / 438.6 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.22, allocations: 0 / 438.6 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.295e-05/0.2201, allocations: 4 kB / 438.6 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.2201, allocations: 4 kB / 438.6 MB, free: 13.53 MB / 314.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 8.049e-05/0.2202, allocations: 117.8 kB / 438.7 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.2202, allocations: 3.938 kB / 438.7 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.2205, allocations: 117.7 kB / 438.8 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.2205, allocations: 0 / 438.8 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2205, allocations: 3.938 kB / 438.8 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.2205, allocations: 8 kB / 438.8 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.2207, allocations: 169.6 kB / 439 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2207, allocations: 0 / 439 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.268e-05/0.2208, allocations: 15.92 kB / 439 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2208, allocations: 4 kB / 439 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.2208, allocations: 0 / 439 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2208, allocations: 0 / 439 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2208, allocations: 0 / 439 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.221, allocations: 105.9 kB / 439.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.179e-05/0.2211, allocations: 96.94 kB / 439.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.2211, allocations: 0 / 439.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.939e-05/0.2212, allocations: 7.984 kB / 439.2 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.2212, allocations: 0 / 439.2 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.2212, allocations: 7.984 kB / 439.2 MB, free: 12.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.583e-05/0.2213, allocations: 95.58 kB / 439.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2213, allocations: 4 kB / 439.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007791/0.2221, allocations: 323.6 kB / 439.7 MB, free: 12.37 MB / 314.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.001038/0.2231, allocations: 0.5846 MB / 440.2 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.2233, allocations: 35.97 kB / 440.3 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2233, allocations: 0 / 440.3 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.592e-05/0.2233, allocations: 23.94 kB / 440.3 MB, free: 11.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.2235, allocations: 27.8 kB / 440.3 MB, free: 11.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.2239, allocations: 176.7 kB / 440.5 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.2241, allocations: 0.6848 MB / 441.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.2242, allocations: 51.84 kB / 441.2 MB, free: 10.72 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.2243, allocations: 27.42 kB / 441.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2243, allocations: 3.938 kB / 441.3 MB, free: 10.69 MB / 314.7 MB Notification: Performance of Templates: time 0.01256/0.2368, allocations: 8.866 MB / 450.1 MB, free: 1.812 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches