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.001248/0.001248, allocations: 121.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001204/0.001204, allocations: 199.9 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.313/1.313, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.89 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2621, allocations: 50.53 MB / 408.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.0024/0.2645, allocations: 1.382 MB / 410.1 MB, free: 164 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.2772, allocations: 12.09 MB / 422.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.162e-05/0.2773, allocations: 0 / 422.2 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.2774, allocations: 11.92 kB / 422.2 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003092/0.2805, allocations: 1.041 MB / 423.3 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.2821, allocations: 0.6289 MB / 423.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.2823, allocations: 71.64 kB / 424 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.2823, allocations: 8 kB / 424 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.542e-05/0.2824, allocations: 27.91 kB / 424 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.28e-05/0.2825, allocations: 31.91 kB / 424 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.2825, allocations: 4 kB / 424 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/0.2856, allocations: 1.612 MB / 425.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.2857, allocations: 8 kB / 425.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.176e-05/0.2857, allocations: 27.84 kB / 425.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002335/0.2881, allocations: 1.072 MB / 426.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2881, allocations: 0 / 426.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2881, allocations: 4 kB / 426.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.2881, allocations: 4 kB / 426.8 MB, free: 15.45 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.0009057/0.289, allocations: 0.5521 MB / 427.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.2891, allocations: 12.03 kB / 427.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.315e-05/0.2891, allocations: 30.75 kB / 427.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.2892, allocations: 12.89 kB / 427.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.2894, allocations: 180.3 kB / 427.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.2894, allocations: 384 / 427.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.2894, allocations: 8.375 kB / 427.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.2896, allocations: 67.33 kB / 427.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.2896, allocations: 0 / 427.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.2896, allocations: 0 / 427.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.2896, allocations: 11.97 kB / 427.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.2898, allocations: 23.92 kB / 427.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.29, allocations: 174.6 kB / 427.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.2903, allocations: 85.12 kB / 427.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.91e-05/0.2904, allocations: 29.7 kB / 427.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006257/0.2966, allocations: 3.305 MB / 431.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.2967, allocations: 30.56 kB / 431.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.023e-06/0.2967, allocations: 0 / 431.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003467/0.297, allocations: 85.59 kB / 431.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.2971, allocations: 81.11 kB / 431.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.704e-05/0.2972, allocations: 117.8 kB / 431.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.2972, allocations: 25.7 kB / 431.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.2973, allocations: 84.14 kB / 431.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.2973, allocations: 27.78 kB / 431.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.2974, allocations: 17.72 kB / 431.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2975, allocations: 314.8 kB / 432 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.46e-05/0.2976, allocations: 12 kB / 432 MB, free: 9.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-05/0.2976, allocations: 25.7 kB / 432 MB, free: 9.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.2977, allocations: 41.64 kB / 432.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2978, allocations: 128 / 432.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000171/0.2979, allocations: 89.91 kB / 432.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.298, allocations: 4 kB / 432.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.298, allocations: 0 / 432.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.298, allocations: 4 kB / 432.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.035e-05/0.2981, allocations: 15.98 kB / 432.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2981, allocations: 0 / 432.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.2981, allocations: 0 / 432.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.2981, allocations: 4 kB / 432.2 MB, free: 9.297 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 9.265e-05/0.2982, allocations: 113.8 kB / 432.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.2983, allocations: 11.89 kB / 432.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.2986, allocations: 109.4 kB / 432.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2986, allocations: 0 / 432.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2986, allocations: 0 / 432.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/0.2986, allocations: 4 kB / 432.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.2987, allocations: 169.6 kB / 432.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.2988, allocations: 3.938 kB / 432.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.726e-05/0.2988, allocations: 11.98 kB / 432.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2988, allocations: 4 kB / 432.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.2988, allocations: 8 kB / 432.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2989, allocations: 0 / 432.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2989, allocations: 0 / 432.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.2991, allocations: 101.9 kB / 432.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/0.2991, allocations: 93.03 kB / 432.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.2992, allocations: 0 / 432.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.2992, allocations: 8 kB / 432.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.2993, allocations: 7.922 kB / 432.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.2993, allocations: 8 kB / 432.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.359e-05/0.2994, allocations: 91.27 kB / 432.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2994, allocations: 0 / 432.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008333/0.3002, allocations: 330.8 kB / 433.3 MB, free: 8.141 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.001503/0.3017, allocations: 1.124 MB / 434.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.3019, allocations: 35.97 kB / 434.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3019, allocations: 0 / 434.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.696e-05/0.302, allocations: 27.92 kB / 434.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.3022, allocations: 7.984 kB / 434.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.3038, allocations: 1.469 MB / 435.9 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.3041, allocations: 0.6807 MB / 436.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.3042, allocations: 48.34 kB / 436.6 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.36e-05/0.3043, allocations: 23.42 kB / 436.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3043, allocations: 0 / 436.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.3336, allocations: 10.52 MB / 447.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.79/8.123, allocations: 16.42 kB / 447.2 MB, free: 10.11 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.0.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