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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001513/0.001513, allocations: 204.6 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 63.91 kB / 377.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2743, allocations: 53.41 MB / 431.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002745/0.277, allocations: 1.343 MB / 432.5 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01411/0.2911, allocations: 10.71 MB / 443.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.451e-05/0.2912, allocations: 4 kB / 443.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.862e-05/0.2912, allocations: 3.984 kB / 443.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0034/0.2946, allocations: 1.016 MB / 444.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.2964, allocations: 0.6411 MB / 444.9 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.2965, allocations: 67.7 kB / 444.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.2966, allocations: 0 / 444.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.638e-05/0.2966, allocations: 27.92 kB / 445 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.2967, allocations: 31.89 kB / 445 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.2967, allocations: 7.938 kB / 445 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003141/0.2999, allocations: 1.479 MB / 446.5 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.23e-05/0.2999, allocations: 11.98 kB / 446.5 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.3, allocations: 19.92 kB / 446.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002255/0.3022, allocations: 1.06 MB / 447.6 MB, free: 5.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3022, allocations: 4 kB / 447.6 MB, free: 5.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3022, allocations: 3.938 kB / 447.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3022, allocations: 0 / 447.6 MB, free: 5.949 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.0009177/0.3031, allocations: 484.2 kB / 448 MB, free: 5.445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3032, allocations: 11.98 kB / 448.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.372e-05/0.3032, allocations: 30.75 kB / 448.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.3034, allocations: 24.88 kB / 448.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.3035, allocations: 110.5 kB / 448.2 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.3035, allocations: 8.375 kB / 448.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.3035, allocations: 4.375 kB / 448.2 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.3037, allocations: 126.7 kB / 448.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3037, allocations: 0 / 448.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.3038, allocations: 4 kB / 448.4 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3038, allocations: 3.938 kB / 448.4 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.3039, allocations: 19.98 kB / 448.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002022/0.3041, allocations: 141.6 kB / 448.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.3044, allocations: 81.22 kB / 448.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.648e-05/0.3045, allocations: 33.77 kB / 448.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0058/0.3103, allocations: 1.502 MB / 450.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.3103, allocations: 34.56 kB / 450.2 MB, free: 3.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.853e-06/0.3103, allocations: 0 / 450.2 MB, free: 3.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000344/0.3106, allocations: 81.88 kB / 450.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.3107, allocations: 89.09 kB / 450.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.3108, allocations: 117.8 kB / 450.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.3109, allocations: 25.7 kB / 450.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.3109, allocations: 88.12 kB / 450.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.3109, allocations: 19.8 kB / 450.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.311, allocations: 21.7 kB / 450.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3111, allocations: 318.8 kB / 450.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/0.3112, allocations: 7.984 kB / 450.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.143e-05/0.3113, allocations: 25.72 kB / 450.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.3114, allocations: 41.7 kB / 451 MB, free: 2.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3114, allocations: 3.984 kB / 451 MB, free: 2.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001829/0.3116, allocations: 69.52 kB / 451.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3116, allocations: 8 kB / 451.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3116, allocations: 3.984 kB / 451.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3116, allocations: 0 / 451.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.871e-05/0.3117, allocations: 8 kB / 451.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3117, allocations: 0 / 451.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.581e-05/0.3117, allocations: 4 kB / 451.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.3117, allocations: 11.94 kB / 451.1 MB, free: 2.18 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.691e-05/0.3118, allocations: 118.4 kB / 451.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.3119, allocations: 11.89 kB / 451.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.3121, allocations: 109.8 kB / 451.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3121, allocations: 0 / 451.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3122, allocations: 0 / 451.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3122, allocations: 0 / 451.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.3123, allocations: 140.8 kB / 451.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.3123, allocations: 4.062 kB / 451.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.049e-05/0.3124, allocations: 12 kB / 451.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.3124, allocations: 3.984 kB / 451.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.3124, allocations: 7.938 kB / 451.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3124, allocations: 0 / 451.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3124, allocations: 0 / 451.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.3126, allocations: 102.2 kB / 451.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.3126, allocations: 11.88 kB / 451.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.3126, allocations: 3.984 kB / 451.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.3127, allocations: 12 kB / 451.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.3128, allocations: 11.97 kB / 451.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.3128, allocations: 0 / 451.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.666e-05/0.3128, allocations: 95.27 kB / 451.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3128, allocations: 0 / 451.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008373/0.3137, allocations: 326.8 kB / 452 MB, free: 1.148 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.3155, allocations: 1.12 MB / 453.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.3157, allocations: 47.78 kB / 453.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3157, allocations: 0 / 453.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.35e-05/0.3157, allocations: 12 kB / 453.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.3159, allocations: 11.98 kB / 453.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.3179, allocations: 1.461 MB / 454.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.722e-05/0.318, allocations: 70.39 kB / 454.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.3181, allocations: 48.16 kB / 454.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.3182, allocations: 27.36 kB / 454.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3182, allocations: 96 / 454.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04213/0.3603, allocations: 11.15 MB / 466 MB, free: 3.156 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.05, allocations: 0 / 466 MB, free: 3.156 MB / 366.1 MB " [Timeout remaining time 648] (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.00019992 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) [Timeout 52.5] 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.1.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) [Timeout 660] "Error: Could not read variable s2 in file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv. Warning: Get data of variable s2 from file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.257098773960024]