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.001686/0.001686, allocations: 110 kB / 20.43 MB, free: 1.453 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.002106/0.002106, allocations: 212.5 kB / 23.74 MB, free: 4.66 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.435/1.435, allocations: 230.5 MB / 257.4 MB, free: 7.984 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.001921/0.001921, allocations: 63.89 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2587, allocations: 53.41 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.002495/0.2612, allocations: 1.371 MB / 432.6 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01399/0.2752, allocations: 12.21 MB / 444.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.713e-05/0.2752, allocations: 0 / 444.8 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.584e-05/0.2753, allocations: 7.875 kB / 444.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003403/0.2787, allocations: 1.042 MB / 445.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.2805, allocations: 0.648 MB / 446.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.2807, allocations: 67.59 kB / 446.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.2807, allocations: 4 kB / 446.5 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.515e-05/0.2808, allocations: 27.91 kB / 446.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.2809, allocations: 35.91 kB / 446.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.2809, allocations: 0 / 446.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00338/0.2843, allocations: 1.654 MB / 448.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.2843, allocations: 4 kB / 448.3 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.981e-05/0.2843, allocations: 35.78 kB / 448.3 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.2864, allocations: 1.072 MB / 449.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2864, allocations: 0 / 449.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2864, allocations: 0 / 449.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.2864, allocations: 0 / 449.4 MB, free: 4.445 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.0008148/0.2872, allocations: 488.2 kB / 449.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.2872, allocations: 8.031 kB / 449.8 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.2873, allocations: 38.75 kB / 449.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.2874, allocations: 16.88 kB / 449.9 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.2876, allocations: 114.5 kB / 450 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.2876, allocations: 4.375 kB / 450 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.2876, allocations: 4.375 kB / 450 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.2878, allocations: 71.27 kB / 450.1 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2878, allocations: 0 / 450.1 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.2878, allocations: 4 kB / 450.1 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.2878, allocations: 8 kB / 450.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.2879, allocations: 15.98 kB / 450.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002085/0.2881, allocations: 153.6 kB / 450.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.2884, allocations: 81.23 kB / 450.3 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.943e-05/0.2885, allocations: 25.7 kB / 450.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005756/0.2942, allocations: 1.505 MB / 451.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.325e-05/0.2943, allocations: 42.56 kB / 451.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.725e-06/0.2943, allocations: 0 / 451.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000373/0.2947, allocations: 77.61 kB / 452 MB, free: 1.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.2947, allocations: 81.05 kB / 452.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.2948, allocations: 117.8 kB / 452.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.2949, allocations: 25.7 kB / 452.2 MB, free: 1.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.2949, allocations: 84.14 kB / 452.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.295, allocations: 19.8 kB / 452.3 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.295, allocations: 29.7 kB / 452.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2952, allocations: 310.8 kB / 452.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.71e-05/0.2952, allocations: 15.98 kB / 452.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.159e-05/0.2953, allocations: 21.72 kB / 452.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.2954, allocations: 33.7 kB / 452.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2954, allocations: 0 / 452.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001757/0.2956, allocations: 85.44 kB / 452.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.2956, allocations: 8 kB / 452.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2956, allocations: 0 / 452.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.2956, allocations: 3.984 kB / 452.8 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.015e-05/0.2957, allocations: 8 kB / 452.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.2957, allocations: 4 kB / 452.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.2957, allocations: 0 / 452.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.2957, allocations: 7.938 kB / 452.8 MB, free: 0.7383 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 0.0001204/0.2959, allocations: 117.8 kB / 453 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.2959, allocations: 11.89 kB / 453 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.2962, allocations: 106.1 kB / 453.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2962, allocations: 0 / 453.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2962, allocations: 3.938 kB / 453.1 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2962, allocations: 0 / 453.1 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.2964, allocations: 148.7 kB / 453.2 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.2964, allocations: 3.938 kB / 453.2 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.117e-05/0.2964, allocations: 11.94 kB / 453.2 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2964, allocations: 0 / 453.2 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.2965, allocations: 8.109 kB / 453.2 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.2965, allocations: 4 kB / 453.2 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2965, allocations: 0 / 453.2 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.2967, allocations: 101.9 kB / 453.3 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.08e-05/0.2967, allocations: 15.86 kB / 453.4 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.2967, allocations: 3.984 kB / 453.4 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/0.2968, allocations: 4 kB / 453.4 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.2968, allocations: 7.984 kB / 453.4 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.2969, allocations: 4 kB / 453.4 MB, free: 120 kB / 350.1 MB Notification: Performance of sorting global known variables: time 7.459e-05/0.2969, allocations: 95.56 kB / 453.5 MB, free: 24 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2969, allocations: 0 / 453.5 MB, free: 24 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.001014/0.2979, allocations: 334.8 kB / 453.8 MB, free: 15.7 MB / 366.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.001696/0.2996, allocations: 1.116 MB / 454.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002063/0.2999, allocations: 31.92 kB / 454.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2999, allocations: 0 / 454.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.539e-05/0.2999, allocations: 19.98 kB / 455 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.3001, allocations: 20.05 kB / 455 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.302, allocations: 1.461 MB / 456.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.3024, allocations: 0.6836 MB / 457.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.3025, allocations: 48.16 kB / 457.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.3025, allocations: 27.36 kB / 457.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3025, allocations: 0 / 457.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0395/0.342, allocations: 10.65 MB / 467.9 MB, free: 1.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.68, allocations: 14.28 kB / 467.9 MB, free: 1.562 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: 15.83850499899927]