Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001389/0.001389, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 63.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2399, allocations: 50.55 MB / 408.8 MB, free: 1.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002612/0.2426, allocations: 1.373 MB / 410.1 MB, free: 140 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0144/0.257, allocations: 12.1 MB / 422.2 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.2571, allocations: 0 / 422.2 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/0.2572, allocations: 3.938 kB / 422.2 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003113/0.2603, allocations: 1.045 MB / 423.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.262, allocations: 0.6295 MB / 423.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.2621, allocations: 59.66 kB / 424 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.2622, allocations: 4 kB / 424 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.968e-05/0.2623, allocations: 31.91 kB / 424 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.18e-05/0.2624, allocations: 43.89 kB / 424 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.2624, allocations: 4 kB / 424 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003212/0.2656, allocations: 1.608 MB / 425.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.2656, allocations: 7.984 kB / 425.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.2657, allocations: 27.86 kB / 425.7 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002101/0.2678, allocations: 1.076 MB / 426.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.2678, allocations: 4 kB / 426.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2679, allocations: 0 / 426.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.2679, allocations: 0 / 426.8 MB, free: 15.42 MB / 350.1 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.0008103/0.2687, allocations: 0.5521 MB / 427.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.2687, allocations: 8.031 kB / 427.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.86e-05/0.2688, allocations: 38.75 kB / 427.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.2689, allocations: 12.88 kB / 427.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.2691, allocations: 176.4 kB / 427.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.2691, allocations: 4.375 kB / 427.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.2691, allocations: 384 / 427.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.2693, allocations: 71.33 kB / 427.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2693, allocations: 7.844 kB / 427.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.2693, allocations: 0 / 427.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.2693, allocations: 3.984 kB / 427.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.2694, allocations: 19.98 kB / 427.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.2697, allocations: 178.6 kB / 427.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.2699, allocations: 81.12 kB / 427.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.153e-05/0.27, allocations: 25.77 kB / 427.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006812/0.2769, allocations: 3.309 MB / 431.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.2769, allocations: 34.56 kB / 431.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.2769, allocations: 0 / 431.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003297/0.2773, allocations: 77.61 kB / 431.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.2773, allocations: 77.11 kB / 431.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.2774, allocations: 121.8 kB / 431.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.2775, allocations: 25.7 kB / 431.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.2775, allocations: 96.06 kB / 431.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.2776, allocations: 15.8 kB / 431.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.2776, allocations: 21.72 kB / 431.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2778, allocations: 318.8 kB / 432 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.559e-05/0.2778, allocations: 8 kB / 432 MB, free: 9.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.607e-05/0.2779, allocations: 29.7 kB / 432.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.278, allocations: 37.7 kB / 432.1 MB, free: 9.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.278, allocations: 0 / 432.1 MB, free: 9.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001858/0.2782, allocations: 77.91 kB / 432.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2782, allocations: 6.812 kB / 432.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2783, allocations: 4 kB / 432.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2783, allocations: 0 / 432.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.462e-05/0.2783, allocations: 15.98 kB / 432.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.2784, allocations: 4 kB / 432.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.2784, allocations: 8.125 kB / 432.2 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.2784, allocations: 0 / 432.2 MB, free: 9.277 MB / 350.1 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.798e-05/0.2785, allocations: 113.8 kB / 432.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.2786, allocations: 19.88 kB / 432.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.2788, allocations: 93.8 kB / 432.4 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.2788, allocations: 4 kB / 432.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.2789, allocations: 3.984 kB / 432.4 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2789, allocations: 3.938 kB / 432.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.279, allocations: 169.6 kB / 432.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.279, allocations: 7.938 kB / 432.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/0.2791, allocations: 8 kB / 432.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.2791, allocations: 0 / 432.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.2791, allocations: 0 / 432.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.2791, allocations: 11.92 kB / 432.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2791, allocations: 7.984 kB / 432.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.2793, allocations: 93.94 kB / 432.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.2794, allocations: 89.03 kB / 432.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.2795, allocations: 8 kB / 432.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.59e-05/0.2795, allocations: 3.984 kB / 432.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.2796, allocations: 8 kB / 432.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.2796, allocations: 7.984 kB / 432.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.956e-05/0.2797, allocations: 91.28 kB / 432.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2797, allocations: 0 / 432.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008685/0.2806, allocations: 330.8 kB / 433.3 MB, free: 8.121 MB / 350.1 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.001648/0.2822, allocations: 1.131 MB / 434.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.2824, allocations: 31.92 kB / 434.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2825, allocations: 0 / 434.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.522e-05/0.2825, allocations: 19.98 kB / 434.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.2827, allocations: 12 kB / 434.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.2846, allocations: 1.461 MB / 435.9 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.285, allocations: 0.6923 MB / 436.6 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.2851, allocations: 40.62 kB / 436.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.2851, allocations: 31.36 kB / 436.7 MB, free: 4.547 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2852, allocations: 4 kB / 436.7 MB, free: 4.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03539/0.3205, allocations: 10.52 MB / 447.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.535/8.856, allocations: 14.55 kB / 447.2 MB, free: 10.08 MB / 366.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches