Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.001293/0.001293, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001404/0.001404, allocations: 207.5 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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_TX,fileNamePrefix="Modelica_4_1_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_1_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.001607/0.001607, allocations: 51.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2902, allocations: 53.36 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002513/0.2927, allocations: 1.355 MB / 432.4 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02919/0.3219, allocations: 21.16 MB / 453.6 MB, free: 56 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.3219, allocations: 0 / 453.6 MB, free: 56 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.3221, allocations: 7.938 kB / 453.6 MB, free: 48 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01482/0.3369, allocations: 5.964 MB / 459.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008409/0.3377, allocations: 362.7 kB / 459.9 MB, free: 9.727 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.3379, allocations: 79.62 kB / 460 MB, free: 9.648 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.3379, allocations: 4 kB / 460 MB, free: 9.645 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.817e-05/0.338, allocations: 31.91 kB / 460 MB, free: 9.613 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.619e-05/0.3381, allocations: 39.83 kB / 460.1 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.3381, allocations: 8 kB / 460.1 MB, free: 9.566 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01525/0.3533, allocations: 8.664 MB / 468.7 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.93e-05/0.3534, allocations: 23.91 kB / 468.8 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.965e-05/0.3534, allocations: 27.86 kB / 468.8 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.3636, allocations: 4.334 MB / 473.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3636, allocations: 0 / 473.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3636, allocations: 0 / 473.1 MB, free: 12.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.3636, allocations: 4 kB / 473.1 MB, free: 12.5 MB / 382.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.002228/0.3658, allocations: 0.8588 MB / 474 MB, free: 11.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.3659, allocations: 8.031 kB / 474 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.923e-05/0.3659, allocations: 42.73 kB / 474 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.366, allocations: 8.891 kB / 474 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.3661, allocations: 141.8 kB / 474.2 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3661, allocations: 8 kB / 474.2 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.3662, allocations: 4 kB / 474.2 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.3664, allocations: 122.7 kB / 474.3 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3664, allocations: 4 kB / 474.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3664, allocations: 4 kB / 474.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3664, allocations: 0 / 474.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.3665, allocations: 27.98 kB / 474.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002361/0.3668, allocations: 157.6 kB / 474.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.3671, allocations: 101.1 kB / 474.6 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.348e-05/0.3671, allocations: 25.78 kB / 474.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.63e-05/0.3672, allocations: 11.98 kB / 474.6 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.3672, allocations: 42.48 kB / 474.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3672, allocations: 3.938 kB / 474.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003201/0.3676, allocations: 97.61 kB / 474.8 MB, free: 10.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.3676, allocations: 85.05 kB / 474.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.3678, allocations: 137.8 kB / 475 MB, free: 10.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.3678, allocations: 29.7 kB / 475 MB, free: 10.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.3678, allocations: 92.12 kB / 475.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.3679, allocations: 23.8 kB / 475.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.3679, allocations: 17.72 kB / 475.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.368, allocations: 318.8 kB / 475.5 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.156e-05/0.3681, allocations: 19.98 kB / 475.5 MB, free: 9.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.758e-05/0.3682, allocations: 29.7 kB / 475.5 MB, free: 9.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.3683, allocations: 53.64 kB / 475.6 MB, free: 9.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3683, allocations: 0 / 475.6 MB, free: 9.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001873/0.3685, allocations: 77.67 kB / 475.6 MB, free: 9.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3685, allocations: 11.98 kB / 475.7 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3685, allocations: 0 / 475.7 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3685, allocations: 0 / 475.7 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.3686, allocations: 11.94 kB / 475.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3686, allocations: 4 kB / 475.7 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.3686, allocations: 3.953 kB / 475.7 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.3687, allocations: 4 kB / 475.7 MB, free: 9.695 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 8.904e-05/0.3687, allocations: 117.8 kB / 475.8 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.3688, allocations: 4.125 kB / 475.8 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.369, allocations: 105.6 kB / 475.9 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.369, allocations: 4 kB / 475.9 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.369, allocations: 0 / 475.9 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.369, allocations: 4.547 kB / 475.9 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.3692, allocations: 152.6 kB / 476.1 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3692, allocations: 4 kB / 476.1 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-05/0.3692, allocations: 8 kB / 476.1 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3692, allocations: 0 / 476.1 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.3693, allocations: 3.984 kB / 476.1 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3693, allocations: 4 kB / 476.1 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3693, allocations: 4 kB / 476.1 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.3695, allocations: 117.8 kB / 476.2 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.324e-05/0.3695, allocations: 16.25 kB / 476.2 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.3695, allocations: 4 kB / 476.2 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.655e-05/0.3696, allocations: 0 / 476.2 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.3696, allocations: 11.98 kB / 476.2 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.3696, allocations: 7.938 kB / 476.2 MB, free: 9.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.722e-05/0.3697, allocations: 115.2 kB / 476.4 MB, free: 8.949 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3697, allocations: 0 / 476.4 MB, free: 8.949 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002668/0.3724, allocations: 0.9547 MB / 477.3 MB, free: 7.992 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.004535/0.3769, allocations: 1.883 MB / 479.2 MB, free: 6.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.3771, allocations: 43.91 kB / 479.2 MB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3772, allocations: 4 kB / 479.2 MB, free: 6.023 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.952e-05/0.3772, allocations: 23.92 kB / 479.3 MB, free: 6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.3775, allocations: 23.92 kB / 479.3 MB, free: 5.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/0.38, allocations: 1.797 MB / 481.1 MB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.079e-05/0.3801, allocations: 71.27 kB / 481.2 MB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.261e-05/0.3801, allocations: 16.36 kB / 481.2 MB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.3802, allocations: 19.44 kB / 481.2 MB, free: 3.957 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3802, allocations: 0 / 481.2 MB, free: 3.957 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07012/0.4503, allocations: 30.13 MB / 0.4993 GB, free: 5.941 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.72, allocations: 0 / 0.4993 GB, free: 5.941 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv. Warning: Get data of variable s2 from file Modelica_4.1.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.9016111070232]