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.001683/0.001683, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001442/0.001442, allocations: 195 kB / 23.71 MB, free: 4.406 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.421/1.421, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.001629/0.001629, allocations: 47.92 kB / 370.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2532, allocations: 52.18 MB / 422.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002597/0.2558, allocations: 1.339 MB / 423.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01329/0.2691, allocations: 10.68 MB / 434.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.2692, allocations: 4 kB / 434.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.2692, allocations: 3.938 kB / 434.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003279/0.2725, allocations: 1.02 MB / 435.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.2743, allocations: 0.6411 MB / 436.2 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.2744, allocations: 59.73 kB / 436.3 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.778e-05/0.2745, allocations: 3.984 kB / 436.3 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.686e-05/0.2745, allocations: 31.92 kB / 436.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.088e-05/0.2746, allocations: 31.89 kB / 436.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.2746, allocations: 4 kB / 436.4 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002977/0.2776, allocations: 1.487 MB / 437.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.2776, allocations: 11.92 kB / 437.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.2777, allocations: 19.92 kB / 437.9 MB, free: 15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.2799, allocations: 1.056 MB / 439 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.28, allocations: 0 / 439 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.28, allocations: 0 / 439 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.28, allocations: 0 / 439 MB, free: 13.95 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.0008899/0.2809, allocations: 492.2 kB / 439.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2809, allocations: 8.031 kB / 439.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.097e-05/0.2809, allocations: 34.75 kB / 439.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.2811, allocations: 8.938 kB / 439.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.2812, allocations: 118.5 kB / 439.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.2812, allocations: 8.312 kB / 439.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.2812, allocations: 4.359 kB / 439.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.2815, allocations: 122.7 kB / 439.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2815, allocations: 0 / 439.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.2815, allocations: 0 / 439.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.2815, allocations: 4 kB / 439.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.2816, allocations: 27.97 kB / 439.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.2818, allocations: 145.6 kB / 439.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.2821, allocations: 73.19 kB / 440 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.806e-05/0.2821, allocations: 25.78 kB / 440 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005674/0.2878, allocations: 1.51 MB / 441.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.2879, allocations: 38.5 kB / 441.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.325e-06/0.2879, allocations: 0 / 441.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003527/0.2882, allocations: 85.55 kB / 441.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.709e-05/0.2883, allocations: 81.11 kB / 441.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.2884, allocations: 117.8 kB / 441.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.2884, allocations: 25.7 kB / 441.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.514e-05/0.2885, allocations: 88.14 kB / 441.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.2885, allocations: 31.77 kB / 442 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.2886, allocations: 21.66 kB / 442 MB, free: 10.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2887, allocations: 322.8 kB / 442.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.379e-05/0.2888, allocations: 8 kB / 442.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.476e-05/0.2889, allocations: 25.7 kB / 442.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.289, allocations: 46 kB / 442.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.289, allocations: 0 / 442.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000173/0.2892, allocations: 65.61 kB / 442.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.2892, allocations: 8 kB / 442.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2892, allocations: 4 kB / 442.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2892, allocations: 0 / 442.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.508e-05/0.2893, allocations: 15.92 kB / 442.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.2893, allocations: 4 kB / 442.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.985e-05/0.2893, allocations: 7.953 kB / 442.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.2893, allocations: 4 kB / 442.5 MB, free: 10.16 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.614e-05/0.2894, allocations: 105.8 kB / 442.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.2895, allocations: 11.88 kB / 442.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.2897, allocations: 105.6 kB / 442.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2898, allocations: 0 / 442.7 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2898, allocations: 3.938 kB / 442.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2898, allocations: 0 / 442.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.2899, allocations: 140.7 kB / 442.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.2899, allocations: 3.938 kB / 442.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.978e-05/0.29, allocations: 11.98 kB / 442.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.29, allocations: 4 kB / 442.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.29, allocations: 4 kB / 442.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.29, allocations: 0 / 442.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.29, allocations: 0 / 442.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.2902, allocations: 97.97 kB / 443 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.2903, allocations: 15.88 kB / 443 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.2903, allocations: 8.125 kB / 443 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.2904, allocations: 8 kB / 443 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.2904, allocations: 7.984 kB / 443 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.2904, allocations: 0 / 443 MB, free: 9.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.292e-05/0.2905, allocations: 99.27 kB / 443.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2905, allocations: 4 kB / 443.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009142/0.2914, allocations: 330.8 kB / 443.4 MB, free: 9.137 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.001794/0.2932, allocations: 1.112 MB / 444.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.2934, allocations: 31.97 kB / 444.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2934, allocations: 4 kB / 444.6 MB, free: 7.957 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.674e-05/0.2935, allocations: 23.86 kB / 444.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.2937, allocations: 16.48 kB / 444.6 MB, free: 7.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.2956, allocations: 1.452 MB / 446.1 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.277e-05/0.2957, allocations: 67.34 kB / 446.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.2958, allocations: 51.84 kB / 446.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.706e-05/0.2959, allocations: 27.42 kB / 446.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2959, allocations: 0 / 446.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04146/0.3373, allocations: 11.13 MB / 457.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.87, allocations: 11.94 kB / 457.4 MB, free: 11.19 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.958302684128284]