Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.00108/0.001079, allocations: 107.8 kB / 17.06 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 195.9 kB / 18 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 43.94 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.24, allocations: 49.43 MB / 400.2 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002247/0.2423, allocations: 1.36 MB / 401.6 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01203/0.2544, allocations: 12.07 MB / 413.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.2545, allocations: 0 / 413.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.377e-05/0.2545, allocations: 3.938 kB / 413.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002565/0.2571, allocations: 1.056 MB / 414.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.2584, allocations: 0.6256 MB / 415.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.437e-05/0.2585, allocations: 67.64 kB / 415.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.2585, allocations: 4 kB / 415.4 MB, free: 9.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.454e-05/0.2586, allocations: 31.91 kB / 415.4 MB, free: 9.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.37e-05/0.2587, allocations: 35.84 kB / 415.5 MB, free: 9.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.2587, allocations: 4 kB / 415.5 MB, free: 9.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.2612, allocations: 1.608 MB / 417.1 MB, free: 7.895 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.2613, allocations: 7.984 kB / 417.1 MB, free: 7.887 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.876e-05/0.2613, allocations: 35.8 kB / 417.1 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.2629, allocations: 1.064 MB / 418.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2629, allocations: 0 / 418.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.438e-06/0.2629, allocations: 0 / 418.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.2629, allocations: 3.938 kB / 418.2 MB, free: 6.781 MB / 334.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.000668/0.2636, allocations: 0.556 MB / 418.8 MB, free: 6.176 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2636, allocations: 8.031 kB / 418.8 MB, free: 6.168 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.2637, allocations: 38.75 kB / 418.8 MB, free: 6.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.2638, allocations: 8.922 kB / 418.8 MB, free: 6.113 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.264, allocations: 184.3 kB / 419 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.264, allocations: 12.36 kB / 419 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.264, allocations: 384 / 419 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.2642, allocations: 75.27 kB / 419.1 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2642, allocations: 0 / 419.1 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.2642, allocations: 0 / 419.1 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2642, allocations: 0 / 419.1 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.2643, allocations: 19.98 kB / 419.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.2645, allocations: 174.6 kB / 419.3 MB, free: 5.555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.2648, allocations: 77.19 kB / 419.3 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.891e-05/0.2649, allocations: 33.7 kB / 419.4 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006291/0.2712, allocations: 3.305 MB / 422.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.2712, allocations: 38.55 kB / 422.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.2712, allocations: 7.938 kB / 422.7 MB, free: 1.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003043/0.2715, allocations: 77.95 kB / 422.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.2716, allocations: 81.05 kB / 422.9 MB, free: 1.438 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.885e-05/0.2717, allocations: 113.8 kB / 423 MB, free: 1.316 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.2717, allocations: 25.7 kB / 423 MB, free: 1.285 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.2718, allocations: 92.12 kB / 423.1 MB, free: 1.191 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.2718, allocations: 15.8 kB / 423.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.2718, allocations: 25.72 kB / 423.1 MB, free: 1.145 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.272, allocations: 318.8 kB / 423.5 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.401e-05/0.272, allocations: 8 kB / 423.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.687e-05/0.2721, allocations: 25.7 kB / 423.5 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.2722, allocations: 45.67 kB / 423.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2722, allocations: 0 / 423.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001651/0.2724, allocations: 73.55 kB / 423.6 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2724, allocations: 4 kB / 423.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2724, allocations: 4 kB / 423.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2724, allocations: 0 / 423.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.2725, allocations: 11.98 kB / 423.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2725, allocations: 0 / 423.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.436e-05/0.2726, allocations: 15.89 kB / 423.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.2726, allocations: 0 / 423.6 MB, free: 0.6211 MB / 334.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 6.876e-05/0.2727, allocations: 113.8 kB / 423.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.2727, allocations: 7.938 kB / 423.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.2729, allocations: 97.47 kB / 423.9 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.273, allocations: 4 kB / 423.9 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.273, allocations: 0 / 423.9 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.273, allocations: 3.984 kB / 423.9 MB, free: 396 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.2731, allocations: 177.6 kB / 424 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.2731, allocations: 7.938 kB / 424 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-05/0.2732, allocations: 12.06 kB / 424.1 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2732, allocations: 4 kB / 424.1 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.2732, allocations: 3.938 kB / 424.1 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2732, allocations: 4 kB / 424.1 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2732, allocations: 0 / 424.1 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.2734, allocations: 97.97 kB / 424.2 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.292e-05/0.2735, allocations: 92.98 kB / 424.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.2735, allocations: 4 kB / 424.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.2736, allocations: 7.984 kB / 424.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.2736, allocations: 4 kB / 424.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.2737, allocations: 4 kB / 424.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.983e-05/0.2737, allocations: 91.27 kB / 424.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2737, allocations: 3.938 kB / 424.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007511/0.2745, allocations: 330.8 kB / 424.7 MB, free: 15.47 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.001428/0.2759, allocations: 1.128 MB / 425.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.2761, allocations: 35.92 kB / 425.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2761, allocations: 4 kB / 425.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.368e-05/0.2762, allocations: 20.11 kB / 425.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.2764, allocations: 12.17 kB / 425.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.278, allocations: 1.461 MB / 427.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.2783, allocations: 0.6807 MB / 428 MB, free: 11.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.2785, allocations: 47.88 kB / 428.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/0.2785, allocations: 23.42 kB / 428.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2785, allocations: 0 / 428.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/0.3085, allocations: 10.53 MB / 438.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/8.291, allocations: 8.5 kB / 438.6 MB, free: 1.441 MB / 350.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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