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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002159/0.002159, allocations: 181.3 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 47.92 kB / 370.4 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2656, allocations: 52.2 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002492/0.2681, allocations: 1.366 MB / 424 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01421/0.2823, allocations: 12.18 MB / 436.2 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.144e-05/0.2824, allocations: 0 / 436.2 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.052e-05/0.2824, allocations: 7.922 kB / 436.2 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003097/0.2855, allocations: 1.042 MB / 437.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.2872, allocations: 0.633 MB / 437.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.2873, allocations: 75.64 kB / 437.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.2874, allocations: 0 / 437.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.198e-05/0.2874, allocations: 27.92 kB / 438 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.402e-05/0.2875, allocations: 35.89 kB / 438 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.2875, allocations: 4 kB / 438 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003088/0.2906, allocations: 1.643 MB / 439.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.2906, allocations: 11.92 kB / 439.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.2907, allocations: 27.86 kB / 439.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.2926, allocations: 1.072 MB / 440.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2926, allocations: 0 / 440.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2926, allocations: 4 kB / 440.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.2927, allocations: 3.938 kB / 440.8 MB, free: 12.39 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.0007526/0.2934, allocations: 488.2 kB / 441.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.2934, allocations: 8.031 kB / 441.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.2935, allocations: 38.73 kB / 441.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.2936, allocations: 8.938 kB / 441.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.2937, allocations: 122.5 kB / 441.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.2938, allocations: 384 / 441.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.2938, allocations: 4.359 kB / 441.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.2939, allocations: 79.27 kB / 441.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.294, allocations: 0 / 441.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.294, allocations: 0 / 441.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.294, allocations: 0 / 441.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.2941, allocations: 19.98 kB / 441.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.2943, allocations: 141.6 kB / 441.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002901/0.2946, allocations: 81.22 kB / 441.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.29e-05/0.2946, allocations: 33.77 kB / 441.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00586/0.3005, allocations: 1.506 MB / 443.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.3005, allocations: 42.5 kB / 443.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.913e-06/0.3005, allocations: 0 / 443.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003581/0.3009, allocations: 81.61 kB / 443.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.301, allocations: 81.05 kB / 443.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.3011, allocations: 117.8 kB / 443.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.3011, allocations: 25.7 kB / 443.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.3011, allocations: 88.14 kB / 443.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.3012, allocations: 15.8 kB / 443.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.3012, allocations: 25.64 kB / 443.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3014, allocations: 318.8 kB / 444.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.579e-05/0.3014, allocations: 11.98 kB / 444.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-05/0.3015, allocations: 29.7 kB / 444.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.3016, allocations: 42.06 kB / 444.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3016, allocations: 3.938 kB / 444.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001664/0.3018, allocations: 61.62 kB / 444.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3018, allocations: 7.984 kB / 444.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3018, allocations: 4 kB / 444.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3018, allocations: 0 / 444.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.289e-05/0.3019, allocations: 12 kB / 444.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3019, allocations: 3.938 kB / 444.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.019e-05/0.302, allocations: 12.08 kB / 444.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.302, allocations: 7.984 kB / 444.2 MB, free: 8.676 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.088e-05/0.3021, allocations: 109.8 kB / 444.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.3021, allocations: 7.938 kB / 444.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.3024, allocations: 101.9 kB / 444.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3024, allocations: 4 kB / 444.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.3024, allocations: 0 / 444.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3024, allocations: 0 / 444.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.3025, allocations: 144.7 kB / 444.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.3025, allocations: 7.938 kB / 444.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.225e-05/0.3026, allocations: 15.92 kB / 444.6 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3026, allocations: 0 / 444.6 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.3026, allocations: 7.938 kB / 444.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3026, allocations: 4 kB / 444.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3026, allocations: 0 / 444.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.3028, allocations: 97.97 kB / 444.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.3029, allocations: 11.88 kB / 444.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.3029, allocations: 4 kB / 444.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.303, allocations: 4 kB / 444.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.303, allocations: 11.98 kB / 444.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.303, allocations: 7.938 kB / 444.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.685e-05/0.3031, allocations: 95.25 kB / 444.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3031, allocations: 0 / 444.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009444/0.3041, allocations: 334.8 kB / 445.2 MB, free: 7.645 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.001699/0.3058, allocations: 1.108 MB / 446.3 MB, free: 6.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.306, allocations: 39.91 kB / 446.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.306, allocations: 0 / 446.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.485e-05/0.306, allocations: 19.94 kB / 446.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.3062, allocations: 19.2 kB / 446.4 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.3081, allocations: 1.454 MB / 447.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.3085, allocations: 0.6846 MB / 448.5 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.3086, allocations: 52.08 kB / 448.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.405e-05/0.3087, allocations: 27.42 kB / 448.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3087, allocations: 0 / 448.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03928/0.3479, allocations: 10.65 MB / 459.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.44, allocations: 0 / 459.3 MB, free: 9.547 MB / 366.1 MB " [Timeout remaining time 648] (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.00019992 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) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable s2 in file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv. Warning: Get data of variable s2 from file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.54104234499755]