Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.001752/0.001752, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002064/0.002064, allocations: 181.3 kB / 23.72 MB, free: 4.699 MB / 14.72 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 1.401/1.401, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 47.92 kB / 370.4 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2531, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002608/0.2557, allocations: 1.378 MB / 424 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0311/0.2868, allocations: 23.73 MB / 447.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.2868, allocations: 0 / 447.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.2869, allocations: 11.92 kB / 447.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01875/0.3057, allocations: 6.015 MB / 453.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.3069, allocations: 370.7 kB / 454.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.3071, allocations: 79.7 kB / 454.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.3071, allocations: 7.984 kB / 454.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.638e-05/0.3072, allocations: 27.92 kB / 454.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.3073, allocations: 39.89 kB / 454.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.3073, allocations: 4 kB / 454.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02376/0.3311, allocations: 9.015 MB / 463.3 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.586e-05/0.3311, allocations: 15.92 kB / 463.3 MB, free: 5.809 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.509e-05/0.3312, allocations: 27.86 kB / 463.3 MB, free: 5.781 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01314/0.3443, allocations: 4.377 MB / 467.7 MB, free: 1.395 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3443, allocations: 0 / 467.7 MB, free: 1.395 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3443, allocations: 0 / 467.7 MB, free: 1.395 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.3443, allocations: 0 / 467.7 MB, free: 1.395 MB / 366.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.003224/0.3475, allocations: 0.868 MB / 468.6 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.3476, allocations: 12.03 kB / 468.6 MB, free: 492 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.786e-05/0.3476, allocations: 30.75 kB / 468.6 MB, free: 452 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.3477, allocations: 8.922 kB / 468.6 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.3479, allocations: 137.8 kB / 468.8 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3479, allocations: 4 kB / 468.8 MB, free: 276 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.348, allocations: 11.88 kB / 468.8 MB, free: 264 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.3482, allocations: 67.39 kB / 468.8 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3482, allocations: 4 kB / 468.9 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.3482, allocations: 4 kB / 468.9 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3482, allocations: 3.984 kB / 468.9 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.3484, allocations: 27.98 kB / 468.9 MB, free: 144 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.3487, allocations: 173.6 kB / 469.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.3491, allocations: 97.23 kB / 469.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.3492, allocations: 29.7 kB / 469.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-05/0.3492, allocations: 8 kB / 469.2 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.3494, allocations: 34.5 kB / 469.2 MB, free: 15.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.3494, allocations: 0 / 469.2 MB, free: 15.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004351/0.3498, allocations: 110 kB / 469.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.3499, allocations: 77.11 kB / 469.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.3501, allocations: 137.8 kB / 469.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.3501, allocations: 29.69 kB / 469.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.3502, allocations: 88.05 kB / 469.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.3503, allocations: 19.86 kB / 469.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.3503, allocations: 21.7 kB / 469.7 MB, free: 15.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3505, allocations: 322.8 kB / 470 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.58e-05/0.3506, allocations: 15.98 kB / 470 MB, free: 14.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.816e-05/0.3507, allocations: 29.7 kB / 470.1 MB, free: 14.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.3508, allocations: 57.58 kB / 470.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3509, allocations: 0 / 470.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002703/0.3511, allocations: 81.61 kB / 470.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3511, allocations: 12 kB / 470.2 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3511, allocations: 0 / 470.2 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3512, allocations: 0 / 470.2 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.19e-05/0.3513, allocations: 11.94 kB / 470.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.3513, allocations: 4 kB / 470.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.891e-05/0.3513, allocations: 3.938 kB / 470.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.3513, allocations: 4.125 kB / 470.2 MB, free: 14.64 MB / 382.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.0001375/0.3515, allocations: 118.1 kB / 470.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.3515, allocations: 7.953 kB / 470.3 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.3518, allocations: 105.6 kB / 470.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/0.3518, allocations: 3.984 kB / 470.5 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3518, allocations: 3.938 kB / 470.5 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3519, allocations: 0 / 470.5 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.3521, allocations: 148.7 kB / 470.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3521, allocations: 0 / 470.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.401e-05/0.3521, allocations: 15.98 kB / 470.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.3521, allocations: 0 / 470.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3522, allocations: 0 / 470.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3522, allocations: 4 kB / 470.6 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3522, allocations: 4 kB / 470.6 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.3525, allocations: 117.8 kB / 470.7 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.35e-05/0.3525, allocations: 7.984 kB / 470.7 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.3525, allocations: 0 / 470.7 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.806e-05/0.3526, allocations: 4 kB / 470.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.3527, allocations: 12.17 kB / 470.8 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.3527, allocations: 4 kB / 470.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.3528, allocations: 115.2 kB / 470.9 MB, free: 13.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3528, allocations: 0 / 470.9 MB, free: 13.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003728/0.3566, allocations: 0.9469 MB / 471.8 MB, free: 12.96 MB / 382.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.007829/0.3644, allocations: 1.898 MB / 473.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003394/0.3647, allocations: 51.91 kB / 473.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.3647, allocations: 288 / 473.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.878e-05/0.3648, allocations: 23.98 kB / 473.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.3652, allocations: 23.92 kB / 473.8 MB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00435/0.3695, allocations: 1.793 MB / 475.6 MB, free: 9.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.3699, allocations: 0.6885 MB / 476.3 MB, free: 8.332 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.223e-05/0.37, allocations: 12.36 kB / 476.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.057e-05/0.3701, allocations: 23.41 kB / 476.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3701, allocations: 4 kB / 476.3 MB, free: 8.293 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07731/0.4474, allocations: 29.4 MB / 0.4939 GB, free: 11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.38, allocations: 16.67 kB / 0.4939 GB, free: 10.98 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_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_TX.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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_TX_res.csv. Warning: Get data of variable s2 from file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.65232772699892]