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.00133/0.00133, allocations: 115.8 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.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.001429/0.001429, allocations: 212.2 kB / 23.74 MB, free: 4.672 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.426/1.426, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.001656/0.001656, allocations: 51.91 kB / 377.8 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2703, allocations: 53.36 MB / 431.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00253/0.2728, allocations: 1.394 MB / 432.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03172/0.3045, allocations: 23.8 MB / 456.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.3046, allocations: 0 / 456.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.3047, allocations: 11.94 kB / 456.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01476/0.3194, allocations: 6.045 MB / 462.4 MB, free: 7.535 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008192/0.3203, allocations: 362.7 kB / 462.7 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.3204, allocations: 79.62 kB / 462.8 MB, free: 7.102 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.3204, allocations: 4 kB / 462.8 MB, free: 7.098 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.863e-05/0.3205, allocations: 35.92 kB / 462.8 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.3206, allocations: 35.89 kB / 462.9 MB, free: 7.027 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.3206, allocations: 4 kB / 462.9 MB, free: 7.023 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01757/0.3382, allocations: 9.055 MB / 471.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.405e-05/0.3383, allocations: 15.92 kB / 472 MB, free: 13.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.738e-05/0.3383, allocations: 23.92 kB / 472 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.3498, allocations: 4.397 MB / 476.4 MB, free: 9.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3498, allocations: 0 / 476.4 MB, free: 9.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3498, allocations: 0 / 476.4 MB, free: 9.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.3499, allocations: 0 / 476.4 MB, free: 9.512 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.002355/0.3522, allocations: 0.8719 MB / 477.3 MB, free: 8.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3523, allocations: 12.03 kB / 477.3 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.3523, allocations: 38.75 kB / 477.3 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.3523, allocations: 8.891 kB / 477.3 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.3525, allocations: 145.7 kB / 477.5 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.3525, allocations: 7.938 kB / 477.5 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.3525, allocations: 0 / 477.5 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.3527, allocations: 71.39 kB / 477.5 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3527, allocations: 0 / 477.5 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3527, allocations: 4 kB / 477.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3528, allocations: 0 / 477.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.3529, allocations: 39.91 kB / 477.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.3531, allocations: 161.6 kB / 477.7 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.3534, allocations: 97.17 kB / 477.8 MB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.411e-05/0.3535, allocations: 25.78 kB / 477.8 MB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.667e-05/0.3535, allocations: 15.92 kB / 477.9 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.3536, allocations: 34.56 kB / 477.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.126e-06/0.3536, allocations: 3.984 kB / 477.9 MB, free: 7.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003371/0.3539, allocations: 97.55 kB / 478 MB, free: 7.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.354, allocations: 85.11 kB / 478.1 MB, free: 7.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.3541, allocations: 137.8 kB / 478.2 MB, free: 7.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.3541, allocations: 29.69 kB / 478.2 MB, free: 7.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.3542, allocations: 92.12 kB / 478.3 MB, free: 7.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.3542, allocations: 15.8 kB / 478.4 MB, free: 7.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.3543, allocations: 21.7 kB / 478.4 MB, free: 7.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3544, allocations: 322.8 kB / 478.7 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.344e-05/0.3545, allocations: 15.98 kB / 478.7 MB, free: 6.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.811e-05/0.3546, allocations: 33.7 kB / 478.7 MB, free: 6.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.3547, allocations: 53.64 kB / 478.8 MB, free: 6.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3547, allocations: 0 / 478.8 MB, free: 6.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001967/0.3549, allocations: 77.66 kB / 478.9 MB, free: 6.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3549, allocations: 4 kB / 478.9 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3549, allocations: 3.938 kB / 478.9 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3549, allocations: 7.938 kB / 478.9 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.355, allocations: 16 kB / 478.9 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.355, allocations: 0 / 478.9 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.399e-05/0.355, allocations: 3.953 kB / 478.9 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.355, allocations: 4.375 kB / 478.9 MB, free: 6.75 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.869e-05/0.3551, allocations: 117.8 kB / 479 MB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.3552, allocations: 8 kB / 479 MB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.3554, allocations: 93.58 kB / 479.1 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3554, allocations: 7.938 kB / 479.1 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3554, allocations: 3.984 kB / 479.1 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3554, allocations: 4.562 kB / 479.1 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.3556, allocations: 152.7 kB / 479.3 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3556, allocations: 8 kB / 479.3 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-05/0.3556, allocations: 11.98 kB / 479.3 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3556, allocations: 0 / 479.3 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.3557, allocations: 4 kB / 479.3 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3557, allocations: 0 / 479.3 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3557, allocations: 3.938 kB / 479.3 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.3559, allocations: 117.9 kB / 479.4 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.3559, allocations: 15.94 kB / 479.4 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.3559, allocations: 0 / 479.4 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.356, allocations: 4 kB / 479.4 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.3561, allocations: 7.984 kB / 479.5 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-06/0.3561, allocations: 4 kB / 479.5 MB, free: 6.121 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.422e-05/0.3562, allocations: 123.2 kB / 479.6 MB, free: 6 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3562, allocations: 0 / 479.6 MB, free: 6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002603/0.3588, allocations: 0.9508 MB / 480.5 MB, free: 5.047 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.005055/0.3638, allocations: 1.883 MB / 482.4 MB, free: 3.125 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.3641, allocations: 51.91 kB / 482.5 MB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3641, allocations: 0 / 482.5 MB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.019e-05/0.3642, allocations: 19.98 kB / 482.5 MB, free: 3.055 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.3644, allocations: 15.09 kB / 482.5 MB, free: 3.043 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.3673, allocations: 1.811 MB / 484.3 MB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.3677, allocations: 0.6885 MB / 485 MB, free: 432 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.02e-05/0.3678, allocations: 16.36 kB / 485 MB, free: 416 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.3678, allocations: 23.42 kB / 485 MB, free: 392 kB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3678, allocations: 0 / 485 MB, free: 392 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07009/0.4379, allocations: 29.55 MB / 0.5025 GB, free: 2.934 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.61, allocations: 9.609 kB / 0.5025 GB, free: 2.93 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.85612928900082]