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.001138/0.001138, allocations: 79.7 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.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.0008393/0.0008393, allocations: 174 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.877/0.877, allocations: 177.1 MB / 204.2 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 2.154e-06/2.154e-06, allocations: 0 / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.169e-05, allocations: 6.219 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001705/0.001726, allocations: 1.343 MB / 325.9 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008296/0.01002, allocations: 10.71 MB / 336.6 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.401e-05/0.01006, allocations: 4 kB / 336.6 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.173e-05/0.01008, allocations: 7.922 kB / 336.6 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002302/0.01238, allocations: 1.033 MB / 337.7 MB, free: 2.785 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.01363, allocations: 0.6602 MB / 338.3 MB, free: 2.121 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.688e-05/0.01372, allocations: 63.66 kB / 338.4 MB, free: 2.059 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.01376, allocations: 4 kB / 338.4 MB, free: 2.055 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.988e-05/0.01382, allocations: 39.89 kB / 338.4 MB, free: 2.016 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.539e-05/0.01391, allocations: 27.95 kB / 338.5 MB, free: 1.988 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.01392, allocations: 4 kB / 338.5 MB, free: 1.984 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.0159, allocations: 1.494 MB / 340 MB, free: 496 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.01592, allocations: 4 kB / 340 MB, free: 492 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.01596, allocations: 31.91 kB / 340 MB, free: 460 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.0177, allocations: 1.236 MB / 341.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.0177, allocations: 0 / 341.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.01771, allocations: 0 / 341.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.01771, allocations: 0 / 341.2 MB, free: 15.21 MB / 314.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.0009369/0.01865, allocations: 488.2 kB / 341.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.01869, allocations: 8.031 kB / 341.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.099e-05/0.01872, allocations: 42.75 kB / 341.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.17e-05/0.01881, allocations: 12.88 kB / 341.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.01892, allocations: 125.7 kB / 341.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.01893, allocations: 4.375 kB / 341.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.01894, allocations: 384 / 341.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.01907, allocations: 119.4 kB / 342 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.01908, allocations: 192 / 342 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.01909, allocations: 7.875 kB / 342 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.0191, allocations: 3.984 kB / 342 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.512e-05/0.01916, allocations: 27.92 kB / 342 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.01929, allocations: 141.7 kB / 342.2 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.01949, allocations: 73.19 kB / 342.3 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.857e-05/0.01953, allocations: 29.77 kB / 342.3 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002694/0.02223, allocations: 1.502 MB / 343.8 MB, free: 12.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.02225, allocations: 34.56 kB / 343.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.02225, allocations: 0 / 343.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.000247/0.0225, allocations: 97.78 kB / 343.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.02254, allocations: 77.11 kB / 344 MB, free: 12.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.015e-05/0.02261, allocations: 113.8 kB / 344.1 MB, free: 12.13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.02262, allocations: 29.7 kB / 344.1 MB, free: 12.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.02265, allocations: 84.14 kB / 344.2 MB, free: 12.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.02268, allocations: 23.78 kB / 344.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.02272, allocations: 17.72 kB / 344.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.0228, allocations: 318.8 kB / 344.6 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.415e-05/0.02284, allocations: 8 kB / 344.6 MB, free: 11.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.904e-05/0.02288, allocations: 25.7 kB / 344.6 MB, free: 11.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.038e-05/0.02295, allocations: 49.64 kB / 344.6 MB, free: 11.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.02295, allocations: 0 / 344.6 MB, free: 11.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.88e-05/0.02305, allocations: 65.62 kB / 344.7 MB, free: 11.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.02306, allocations: 4 kB / 344.7 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.02307, allocations: 3.938 kB / 344.7 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.02309, allocations: 4 kB / 344.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.82e-05/0.02313, allocations: 19.92 kB / 344.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.02314, allocations: 0 / 344.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/0.02316, allocations: 3.938 kB / 344.7 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.02317, allocations: 8 kB / 344.8 MB, free: 11.43 MB / 314.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 6.697e-05/0.02324, allocations: 109.8 kB / 344.9 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.02325, allocations: 11.95 kB / 344.9 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.02343, allocations: 101.4 kB / 345 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.02343, allocations: 4 kB / 345 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.02344, allocations: 0 / 345 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.02344, allocations: 0 / 345 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.446e-05/0.02354, allocations: 140.9 kB / 345.1 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.02354, allocations: 8 kB / 345.1 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.692e-05/0.02357, allocations: 15.92 kB / 345.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.02357, allocations: 0 / 345.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.02358, allocations: 7.938 kB / 345.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.02358, allocations: 0 / 345.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.02358, allocations: 0 / 345.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.0237, allocations: 101.9 kB / 345.2 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.02372, allocations: 8.219 kB / 345.3 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.02374, allocations: 3.938 kB / 345.3 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.287e-05/0.02377, allocations: 8 kB / 345.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.02381, allocations: 15.91 kB / 345.3 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.02381, allocations: 4 kB / 345.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.302e-05/0.02385, allocations: 91.27 kB / 345.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02385, allocations: 0 / 345.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005358/0.02439, allocations: 330.8 kB / 345.7 MB, free: 10.41 MB / 314.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.00105/0.02544, allocations: 1.159 MB / 346.9 MB, free: 9.215 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.02556, allocations: 35.91 kB / 346.9 MB, free: 9.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.02556, allocations: 4 kB / 346.9 MB, free: 9.176 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.432e-05/0.0256, allocations: 23.92 kB / 346.9 MB, free: 9.152 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.02575, allocations: 15.97 kB / 346.9 MB, free: 9.137 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.02692, allocations: 1.444 MB / 348.4 MB, free: 7.594 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.026e-05/0.02696, allocations: 73.7 kB / 348.4 MB, free: 7.504 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003394/0.0273, allocations: 39.89 kB / 348.5 MB, free: 7.465 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/0.02734, allocations: 28.48 kB / 348.5 MB, free: 7.438 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02734, allocations: 4 kB / 348.5 MB, free: 7.434 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.04851, allocations: 11.36 MB / 359.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.425/7.474, allocations: 6.797 kB / 359.9 MB, free: 12.18 MB / 330.7 MB " [Timeout remaining time 652] (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/jenkins/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/jenkins/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: 11.272606800310314]