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.0008958/0.0008958, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009287/0.0009287, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8509/0.8509, allocations: 173.4 MB / 200.5 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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 1.583e-06/1.583e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.373e-05, allocations: 2.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001737/0.001761, allocations: 1.309 MB / 319.7 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008163/0.009924, allocations: 10.67 MB / 330.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.288e-05/0.009977, allocations: 0 / 330.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.704e-05/0.01, allocations: 11.86 kB / 330.4 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002854/0.01286, allocations: 1.041 MB / 331.5 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.01465, allocations: 0.6602 MB / 332.1 MB, free: 8.586 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.01477, allocations: 67.64 kB / 332.2 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.01481, allocations: 4 kB / 332.2 MB, free: 8.516 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.963e-05/0.01488, allocations: 31.97 kB / 332.2 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.24e-05/0.01497, allocations: 31.89 kB / 332.3 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.01499, allocations: 4 kB / 332.3 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.01753, allocations: 1.49 MB / 333.8 MB, free: 6.957 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.01756, allocations: 15.92 kB / 333.8 MB, free: 6.941 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.0176, allocations: 11.98 kB / 333.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002493/0.0201, allocations: 1.239 MB / 335 MB, free: 5.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.0201, allocations: 4 kB / 335 MB, free: 5.684 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.0201, allocations: 0 / 335 MB, free: 5.684 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.02011, allocations: 0 / 335 MB, free: 5.684 MB / 298.7 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.001084/0.02119, allocations: 492.2 kB / 335.5 MB, free: 5.172 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.02125, allocations: 12.92 kB / 335.5 MB, free: 5.16 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.547e-05/0.02128, allocations: 34.75 kB / 335.5 MB, free: 5.117 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.0214, allocations: 12.89 kB / 335.6 MB, free: 5.105 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.02152, allocations: 121.7 kB / 335.7 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.02154, allocations: 384 / 335.7 MB, free: 4.961 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.02155, allocations: 4.375 kB / 335.7 MB, free: 4.957 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.02171, allocations: 123.3 kB / 335.8 MB, free: 4.812 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.02172, allocations: 192 / 335.8 MB, free: 4.812 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.02173, allocations: 11.92 kB / 335.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.02173, allocations: 0 / 335.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.963e-05/0.0218, allocations: 23.97 kB / 335.8 MB, free: 4.777 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.02194, allocations: 141.7 kB / 336 MB, free: 4.594 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.02215, allocations: 73.12 kB / 336.1 MB, free: 4.504 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.02219, allocations: 21.78 kB / 336.1 MB, free: 4.477 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002828/0.02502, allocations: 1.51 MB / 337.6 MB, free: 2.965 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.02505, allocations: 34.5 kB / 337.6 MB, free: 2.922 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.565e-06/0.02505, allocations: 0 / 337.6 MB, free: 2.922 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002781/0.02533, allocations: 89.48 kB / 337.7 MB, free: 2.828 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.02537, allocations: 77.11 kB / 337.8 MB, free: 2.734 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.777e-05/0.02546, allocations: 117.8 kB / 337.9 MB, free: 2.609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.02547, allocations: 29.7 kB / 337.9 MB, free: 2.574 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.0255, allocations: 84.14 kB / 338 MB, free: 2.488 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.02554, allocations: 23.78 kB / 338 MB, free: 2.465 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.02557, allocations: 21.66 kB / 338 MB, free: 2.438 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.02565, allocations: 318.8 kB / 338.4 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-05/0.02568, allocations: 7.984 kB / 338.4 MB, free: 2.109 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.831e-05/0.02572, allocations: 33.64 kB / 338.4 MB, free: 2.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.954e-05/0.02579, allocations: 41.64 kB / 338.4 MB, free: 2.023 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.02579, allocations: 0 / 338.4 MB, free: 2.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001005/0.02589, allocations: 74.03 kB / 338.5 MB, free: 1.945 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.02591, allocations: 4 kB / 338.5 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.02591, allocations: 7.938 kB / 338.5 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.02593, allocations: 0 / 338.5 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.467e-05/0.02597, allocations: 11.94 kB / 338.5 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.02598, allocations: 0 / 338.5 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.02601, allocations: 11.98 kB / 338.5 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.02602, allocations: 320 / 338.5 MB, free: 1.91 MB / 298.7 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 5.985e-05/0.02608, allocations: 109.8 kB / 338.7 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.02609, allocations: 8 kB / 338.7 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.02629, allocations: 113.4 kB / 338.8 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.02629, allocations: 0 / 338.8 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.02629, allocations: 0 / 338.8 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.0263, allocations: 0 / 338.8 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.451e-05/0.02639, allocations: 140.7 kB / 338.9 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.02639, allocations: 128 / 338.9 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.02642, allocations: 19.92 kB / 338.9 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.02643, allocations: 8 kB / 338.9 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.02644, allocations: 3.938 kB / 338.9 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.02644, allocations: 0 / 338.9 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.02644, allocations: 0 / 338.9 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.02655, allocations: 97.97 kB / 339 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.02658, allocations: 11.94 kB / 339.1 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.02659, allocations: 3.938 kB / 339.1 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.301e-05/0.02663, allocations: 4 kB / 339.1 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.02667, allocations: 11.98 kB / 339.1 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.02667, allocations: 4 kB / 339.1 MB, free: 1.305 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.832e-05/0.02671, allocations: 95.27 kB / 339.2 MB, free: 1.211 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02671, allocations: 3.938 kB / 339.2 MB, free: 1.207 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006842/0.02739, allocations: 330.8 kB / 339.5 MB, free: 0.8789 MB / 298.7 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.001216/0.02861, allocations: 1.155 MB / 340.6 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001448/0.02876, allocations: 35.92 kB / 340.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.02876, allocations: 4 kB / 340.7 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.484e-05/0.02879, allocations: 23.92 kB / 340.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.02895, allocations: 7.984 kB / 340.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.03019, allocations: 1.463 MB / 342.2 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.03049, allocations: 71.34 kB / 342.3 MB, free: 13.97 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.656e-05/0.03058, allocations: 48.56 kB / 342.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.493e-05/0.03064, allocations: 28.47 kB / 342.3 MB, free: 13.9 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.03064, allocations: 3.938 kB / 342.3 MB, free: 13.89 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.05615, allocations: 11.35 MB / 353.7 MB, free: 2.66 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.307/7.363, allocations: 10.62 kB / 353.7 MB, free: 2.656 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/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/jenkins/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: 11.139716492034495]