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.001163/0.001163, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.001395/0.001395, allocations: 195 kB / 18 MB, free: 5.074 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.308/1.308, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.001021, allocations: 47.92 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2372, 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.002227/0.2395, allocations: 1.359 MB / 401.6 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.2521, allocations: 12.08 MB / 413.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.484e-05/0.2522, allocations: 0 / 413.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.497e-05/0.2522, allocations: 3.938 kB / 413.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002944/0.2552, allocations: 1.045 MB / 414.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.2568, allocations: 0.6256 MB / 415.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.257, allocations: 71.64 kB / 415.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/0.257, allocations: 4 kB / 415.4 MB, free: 9.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.625e-05/0.2571, allocations: 23.92 kB / 415.4 MB, free: 9.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.591e-05/0.2571, allocations: 35.89 kB / 415.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.2572, allocations: 4 kB / 415.5 MB, free: 9.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003391/0.2606, allocations: 1.612 MB / 417.1 MB, free: 7.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.2606, allocations: 15.98 kB / 417.1 MB, free: 7.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/0.2607, allocations: 27.84 kB / 417.1 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003189/0.2639, allocations: 1.064 MB / 418.2 MB, free: 6.773 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.2639, allocations: 7.875 kB / 418.2 MB, free: 6.766 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.264, allocations: 4 kB / 418.2 MB, free: 6.762 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.264, allocations: 0 / 418.2 MB, free: 6.762 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.0009134/0.2649, allocations: 0.5482 MB / 418.7 MB, free: 6.164 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.2649, allocations: 12.03 kB / 418.8 MB, free: 6.152 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.528e-05/0.265, allocations: 34.75 kB / 418.8 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.2651, allocations: 16.92 kB / 418.8 MB, free: 6.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.2653, allocations: 176.3 kB / 419 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.2653, allocations: 4.375 kB / 419 MB, free: 5.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.2653, allocations: 4.375 kB / 419 MB, free: 5.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.2655, allocations: 67.33 kB / 419.1 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.2655, allocations: 3.938 kB / 419.1 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.2655, allocations: 0 / 419.1 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2655, allocations: 4 kB / 419.1 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.2657, allocations: 23.98 kB / 419.1 MB, free: 5.766 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.2659, allocations: 170.5 kB / 419.3 MB, free: 5.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.2662, allocations: 81.22 kB / 419.3 MB, free: 5.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.777e-05/0.2662, allocations: 33.77 kB / 419.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006449/0.2727, allocations: 3.313 MB / 422.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.2728, allocations: 34.56 kB / 422.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.2728, allocations: 0 / 422.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003352/0.2731, allocations: 81.56 kB / 422.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.2732, allocations: 81.09 kB / 422.9 MB, free: 1.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.485e-05/0.2733, allocations: 117.8 kB / 423 MB, free: 1.301 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.2733, allocations: 25.7 kB / 423 MB, free: 1.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.2734, allocations: 84.14 kB / 423.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.2734, allocations: 23.8 kB / 423.1 MB, free: 1.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.2735, allocations: 21.7 kB / 423.1 MB, free: 1.133 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2736, allocations: 318.8 kB / 423.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.71e-05/0.2736, allocations: 11.98 kB / 423.5 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.046e-05/0.2737, allocations: 25.7 kB / 423.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.2738, allocations: 41.64 kB / 423.5 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2738, allocations: 4 kB / 423.5 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001709/0.274, allocations: 69.56 kB / 423.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.274, allocations: 7.984 kB / 423.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2741, allocations: 0 / 423.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.2741, allocations: 0 / 423.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.048e-05/0.2742, allocations: 12 kB / 423.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.2742, allocations: 0 / 423.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.798e-05/0.2743, allocations: 7.953 kB / 423.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.2743, allocations: 7.984 kB / 423.6 MB, free: 0.6094 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 8.226e-05/0.2744, allocations: 113.8 kB / 423.7 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.2744, allocations: 7.938 kB / 423.8 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.2747, allocations: 110.3 kB / 423.9 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.2747, allocations: 0 / 423.9 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2747, allocations: 4 kB / 423.9 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.2747, allocations: 4 kB / 423.9 MB, free: 372 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.2749, allocations: 173.6 kB / 424 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.2749, allocations: 3.938 kB / 424 MB, free: 144 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.987e-05/0.2749, allocations: 16.05 kB / 424.1 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.2749, allocations: 4 kB / 424.1 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.275, allocations: 4 kB / 424.1 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.275, allocations: 0 / 424.1 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.275, allocations: 3.938 kB / 424.1 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.2752, allocations: 102 kB / 424.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.2753, allocations: 92.98 kB / 424.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.2753, allocations: 0 / 424.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.2754, allocations: 8 kB / 424.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.2754, allocations: 3.984 kB / 424.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.2754, allocations: 4 kB / 424.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.463e-05/0.2755, allocations: 91.27 kB / 424.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2755, allocations: 4 kB / 424.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008147/0.2763, allocations: 330.8 kB / 424.7 MB, free: 15.45 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.001678/0.278, allocations: 1.116 MB / 425.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.2783, allocations: 43.92 kB / 425.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2783, allocations: 0 / 425.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.732e-05/0.2784, allocations: 15.98 kB / 425.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.2786, allocations: 15.98 kB / 425.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.2804, allocations: 1.456 MB / 427.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.2806, allocations: 0.6842 MB / 428 MB, free: 11.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000119/0.2808, allocations: 52.09 kB / 428.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.063e-05/0.2808, allocations: 23.42 kB / 428.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2808, allocations: 3.938 kB / 428.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02899/0.3098, allocations: 10.53 MB / 438.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.25, allocations: 16.31 kB / 438.6 MB, free: 1.426 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