Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00232/0.00232, allocations: 209.9 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_4_1_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_1_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.001782/0.001782, allocations: 47.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2683, allocations: 53.36 MB / 431.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002554/0.2709, allocations: 1.351 MB / 432.4 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01352/0.2844, allocations: 10.7 MB / 443.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.532e-05/0.2844, allocations: 0 / 443.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/0.2845, allocations: 3.984 kB / 443.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003231/0.2877, allocations: 1.024 MB / 444.2 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.2895, allocations: 0.6489 MB / 444.8 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.2896, allocations: 55.78 kB / 444.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.2896, allocations: 11.88 kB / 444.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.667e-05/0.2897, allocations: 27.91 kB / 444.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.2898, allocations: 39.83 kB / 444.9 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.2898, allocations: 8 kB / 444.9 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.2925, allocations: 1.479 MB / 446.4 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.2925, allocations: 7.984 kB / 446.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.2926, allocations: 23.92 kB / 446.5 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.2944, allocations: 1.048 MB / 447.5 MB, free: 6.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.2944, allocations: 0 / 447.5 MB, free: 6.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2944, allocations: 0 / 447.5 MB, free: 6.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.2944, allocations: 0 / 447.5 MB, free: 6.125 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.0007569/0.2951, allocations: 488.2 kB / 448 MB, free: 5.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2952, allocations: 12.03 kB / 448 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.2952, allocations: 42.73 kB / 448 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.2953, allocations: 8.891 kB / 448 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.2955, allocations: 122.5 kB / 448.2 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.2955, allocations: 4.312 kB / 448.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.2955, allocations: 8.359 kB / 448.2 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.2957, allocations: 122.7 kB / 448.3 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2957, allocations: 0 / 448.3 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.2957, allocations: 4 kB / 448.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2957, allocations: 0 / 448.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.2958, allocations: 27.91 kB / 448.3 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.296, allocations: 149.7 kB / 448.5 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.2963, allocations: 77.12 kB / 448.5 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.555e-05/0.2964, allocations: 21.78 kB / 448.6 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005528/0.3019, allocations: 1.506 MB / 450.1 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.3019, allocations: 38.56 kB / 450.1 MB, free: 3.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.3019, allocations: 0 / 450.1 MB, free: 3.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003435/0.3023, allocations: 81.59 kB / 450.2 MB, free: 3.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.3023, allocations: 81.11 kB / 450.3 MB, free: 3.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3024, allocations: 109.8 kB / 450.4 MB, free: 3.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.3025, allocations: 29.7 kB / 450.4 MB, free: 3.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.3025, allocations: 84.14 kB / 450.5 MB, free: 2.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.3026, allocations: 27.78 kB / 450.5 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.3026, allocations: 17.72 kB / 450.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3028, allocations: 314.8 kB / 450.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.692e-05/0.3028, allocations: 15.98 kB / 450.9 MB, free: 2.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.389e-05/0.3029, allocations: 25.64 kB / 450.9 MB, free: 2.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.303, allocations: 46.06 kB / 450.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.303, allocations: 0 / 450.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001723/0.3032, allocations: 77.5 kB / 451 MB, free: 2.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.3032, allocations: 7.938 kB / 451 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3032, allocations: 3.938 kB / 451 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3032, allocations: 4 kB / 451 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.051e-05/0.3033, allocations: 12 kB / 451 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3033, allocations: 0 / 451 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/0.3033, allocations: 7.984 kB / 451 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.3034, allocations: 128 / 451 MB, free: 2.344 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.212e-05/0.3034, allocations: 113.8 kB / 451.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.3035, allocations: 15.89 kB / 451.2 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.3037, allocations: 105.5 kB / 451.3 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3038, allocations: 4 kB / 451.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3038, allocations: 0 / 451.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3038, allocations: 0 / 451.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.3039, allocations: 132.7 kB / 451.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3039, allocations: 7.938 kB / 451.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.855e-05/0.304, allocations: 11.98 kB / 451.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.304, allocations: 0 / 451.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.304, allocations: 4 kB / 451.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.304, allocations: 4 kB / 451.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.304, allocations: 4 kB / 451.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.3042, allocations: 101.9 kB / 451.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.3042, allocations: 19.86 kB / 451.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.3042, allocations: 0 / 451.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.75e-05/0.3043, allocations: 4 kB / 451.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.3043, allocations: 7.984 kB / 451.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.3044, allocations: 4 kB / 451.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.178e-05/0.3044, allocations: 91.58 kB / 451.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3044, allocations: 0 / 451.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008146/0.3052, allocations: 326.8 kB / 452 MB, free: 1.324 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.001552/0.3068, allocations: 1.128 MB / 453.1 MB, free: 168 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.307, allocations: 39.91 kB / 453.1 MB, free: 128 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.307, allocations: 0 / 453.1 MB, free: 128 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.748e-05/0.307, allocations: 19.98 kB / 453.2 MB, free: 108 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.3072, allocations: 8 kB / 453.2 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.3091, allocations: 1.466 MB / 454.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.119e-05/0.3091, allocations: 71.33 kB / 454.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.3092, allocations: 43.88 kB / 454.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.3093, allocations: 23.42 kB / 454.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3093, allocations: 4 kB / 454.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04315/0.3525, allocations: 11.14 MB / 465.9 MB, free: 3.355 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.92, allocations: 8.734 kB / 465.9 MB, free: 3.348 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv. Warning: Get data of variable s2 from file Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.155601904261857]