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.001426/0.001426, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001482/0.001482, allocations: 205.8 kB / 23.73 MB, free: 4.379 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.565/1.565, 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.002527/0.002527, allocations: 51.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3076, allocations: 53.36 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.00237/0.31, allocations: 1.351 MB / 432.4 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.3229, allocations: 10.71 MB / 443.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.3229, allocations: 0 / 443.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.3229, allocations: 7.922 kB / 443.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002963/0.3259, allocations: 1.02 MB / 444.2 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.3275, allocations: 0.6373 MB / 444.8 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.3276, allocations: 67.64 kB / 444.9 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.064e-05/0.3277, allocations: 4 kB / 444.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.495e-05/0.3277, allocations: 27.91 kB / 444.9 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.458e-05/0.3278, allocations: 35.91 kB / 444.9 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.3278, allocations: 0 / 444.9 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/0.3304, allocations: 1.565 MB / 446.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.3304, allocations: 7.984 kB / 446.5 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.914e-05/0.3305, allocations: 27.86 kB / 446.5 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.3322, allocations: 1.045 MB / 447.6 MB, free: 6.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3322, allocations: 4 kB / 447.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3322, allocations: 0 / 447.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.3322, allocations: 0 / 447.6 MB, free: 6.066 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.0006893/0.3329, allocations: 488.2 kB / 448.1 MB, free: 5.559 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3329, allocations: 12.03 kB / 448.1 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.122e-05/0.333, allocations: 34.75 kB / 448.1 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.3331, allocations: 12.88 kB / 448.1 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.3332, allocations: 126.5 kB / 448.2 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3332, allocations: 4.312 kB / 448.2 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.3332, allocations: 4.375 kB / 448.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.3334, allocations: 126.7 kB / 448.4 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.3334, allocations: 0 / 448.4 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3335, allocations: 4 kB / 448.4 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3335, allocations: 0 / 448.4 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.3336, allocations: 27.92 kB / 448.4 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.3338, allocations: 145.7 kB / 448.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.334, allocations: 73.19 kB / 448.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.061e-05/0.3341, allocations: 29.7 kB / 448.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00549/0.3396, allocations: 1.513 MB / 450.2 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.3396, allocations: 34.56 kB / 450.2 MB, free: 3.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.3396, allocations: 0 / 450.2 MB, free: 3.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003492/0.34, allocations: 81.61 kB / 450.3 MB, free: 3.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.34, allocations: 77.11 kB / 450.3 MB, free: 3.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.3401, allocations: 113.8 kB / 450.5 MB, free: 2.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.3402, allocations: 25.7 kB / 450.5 MB, free: 2.953 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.3402, allocations: 92.12 kB / 450.6 MB, free: 2.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.3402, allocations: 23.73 kB / 450.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.3403, allocations: 25.7 kB / 450.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3404, allocations: 310.8 kB / 450.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.669e-05/0.3405, allocations: 15.98 kB / 450.9 MB, free: 2.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.739e-05/0.3405, allocations: 17.72 kB / 451 MB, free: 2.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.3406, allocations: 41.64 kB / 451 MB, free: 2.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.3406, allocations: 4 kB / 451 MB, free: 2.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001713/0.3408, allocations: 77.56 kB / 451.1 MB, free: 2.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3408, allocations: 7.938 kB / 451.1 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3408, allocations: 0 / 451.1 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3408, allocations: 0 / 451.1 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-05/0.3409, allocations: 15.98 kB / 451.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3409, allocations: 0 / 451.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.134e-05/0.341, allocations: 0 / 451.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.341, allocations: 4 kB / 451.1 MB, free: 2.293 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 8.417e-05/0.3411, allocations: 113.8 kB / 451.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.3411, allocations: 15.88 kB / 451.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.3413, allocations: 101.5 kB / 451.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.3414, allocations: 4.547 kB / 451.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3414, allocations: 4 kB / 451.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3414, allocations: 0 / 451.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.3415, allocations: 132.7 kB / 451.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3415, allocations: 7.938 kB / 451.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.879e-05/0.3416, allocations: 12 kB / 451.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3416, allocations: 3.938 kB / 451.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.3416, allocations: 4 kB / 451.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3416, allocations: 3.984 kB / 451.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3416, allocations: 4 kB / 451.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.3418, allocations: 106 kB / 451.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.3418, allocations: 15.86 kB / 451.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.3418, allocations: 4 kB / 451.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.939e-05/0.3419, allocations: 3.984 kB / 451.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.3419, allocations: 15.98 kB / 451.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.342, allocations: 4 kB / 451.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.184e-05/0.342, allocations: 91.58 kB / 451.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.342, allocations: 0 / 451.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008623/0.3429, allocations: 334.8 kB / 452.1 MB, free: 1.25 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.001509/0.3444, allocations: 1.115 MB / 453.2 MB, free: 104 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.3446, allocations: 31.98 kB / 453.2 MB, free: 72 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3446, allocations: 0 / 453.2 MB, free: 72 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.007e-05/0.3446, allocations: 23.92 kB / 453.2 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.3448, allocations: 12.11 kB / 453.3 MB, free: 36 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.3465, allocations: 1.469 MB / 454.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.035e-05/0.3466, allocations: 63.34 kB / 454.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.3467, allocations: 48.11 kB / 454.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.735e-05/0.3468, allocations: 27.36 kB / 454.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3468, allocations: 0 / 454.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03932/0.3861, allocations: 11.17 MB / 466 MB, free: 3.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.81, allocations: 12.78 kB / 466 MB, free: 3.258 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.081285452994052]