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.001754/0.001754, allocations: 120.1 kB / 17.78 MB, free: 5.23 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.001911/0.001911, allocations: 198.8 kB / 20.73 MB, free: 2.289 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.468/1.468, allocations: 225.6 MB / 249.1 MB, free: 3.637 MB / 190.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.001529/0.001529, allocations: 47.91 kB / 365.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1045, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002569/0.1071, allocations: 1.366 MB / 419.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03126/0.1384, allocations: 23.63 MB / 442.8 MB, free: 3.539 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.811e-05/0.1384, allocations: 0 / 442.8 MB, free: 3.539 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.1385, allocations: 7.938 kB / 442.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2213/0.3599, allocations: 5.982 MB / 448.8 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007703/0.3607, allocations: 348.5 kB / 449.1 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.3608, allocations: 83.47 kB / 449.2 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.3608, allocations: 7.141 kB / 449.2 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.707e-05/0.3609, allocations: 32.16 kB / 449.2 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.361, allocations: 45.56 kB / 449.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.361, allocations: 2.625 kB / 449.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02062/0.3816, allocations: 8.981 MB / 458.2 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.198e-05/0.3817, allocations: 15.89 kB / 458.3 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.599e-05/0.3818, allocations: 26.73 kB / 458.3 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.3953, allocations: 4.369 MB / 462.7 MB, free: 8.199 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.3953, allocations: 2.25 kB / 462.7 MB, free: 8.199 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3953, allocations: 0 / 462.7 MB, free: 8.199 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.3953, allocations: 0 / 462.7 MB, free: 8.199 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.003997/0.3993, allocations: 0.9422 MB / 463.6 MB, free: 7.523 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.3993, allocations: 14.59 kB / 463.6 MB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.3994, allocations: 35.8 kB / 463.7 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.3994, allocations: 3.625 kB / 463.7 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.3996, allocations: 198.7 kB / 463.9 MB, free: 7.285 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3996, allocations: 5.25 kB / 463.9 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.3996, allocations: 3.406 kB / 463.9 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.3998, allocations: 71.19 kB / 463.9 MB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3998, allocations: 0.9375 kB / 463.9 MB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3998, allocations: 3.344 kB / 463.9 MB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3998, allocations: 0 / 463.9 MB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.3999, allocations: 37.73 kB / 464 MB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.4001, allocations: 185.2 kB / 464.2 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.4004, allocations: 103 kB / 464.3 MB, free: 6.988 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.803e-05/0.4005, allocations: 29.77 kB / 464.3 MB, free: 6.973 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.372e-05/0.4006, allocations: 15.23 kB / 464.3 MB, free: 6.973 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.4006, allocations: 34.31 kB / 464.3 MB, free: 6.934 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.4006, allocations: 1.969 kB / 464.3 MB, free: 6.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003271/0.4009, allocations: 106.7 kB / 464.4 MB, free: 6.898 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.4009, allocations: 79.2 kB / 464.5 MB, free: 6.805 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.401, allocations: 136 kB / 464.6 MB, free: 6.707 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.4011, allocations: 29.27 kB / 464.7 MB, free: 6.676 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.487e-05/0.4011, allocations: 90.7 kB / 464.8 MB, free: 6.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.4011, allocations: 20.92 kB / 464.8 MB, free: 6.574 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.4011, allocations: 18.94 kB / 464.8 MB, free: 6.559 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.693e-05/0.4012, allocations: 321.6 kB / 465.1 MB, free: 6.246 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.219e-05/0.4013, allocations: 18.62 kB / 465.1 MB, free: 6.246 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.097e-05/0.4013, allocations: 29.25 kB / 465.2 MB, free: 6.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.4015, allocations: 58.52 kB / 465.2 MB, free: 6.207 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4015, allocations: 0 / 465.2 MB, free: 6.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001747/0.4016, allocations: 84.55 kB / 465.3 MB, free: 6.172 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.4016, allocations: 5.375 kB / 465.3 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4016, allocations: 0.75 kB / 465.3 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4017, allocations: 1.062 kB / 465.3 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.547e-05/0.4017, allocations: 15.47 kB / 465.3 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.4017, allocations: 1.156 kB / 465.3 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.031e-05/0.4018, allocations: 5.219 kB / 465.3 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.4018, allocations: 6.281 kB / 465.3 MB, free: 6.168 MB / 366.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 6.039e-05/0.4018, allocations: 113.8 kB / 465.4 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.4019, allocations: 10.95 kB / 465.5 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.4021, allocations: 103.2 kB / 465.6 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.4021, allocations: 4.469 kB / 465.6 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.4021, allocations: 1.844 kB / 465.6 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4021, allocations: 0.5156 kB / 465.6 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.4022, allocations: 180.2 kB / 465.7 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4022, allocations: 4 kB / 465.7 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.962e-05/0.4023, allocations: 10.28 kB / 465.8 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.4023, allocations: 0 / 465.8 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.4023, allocations: 2.25 kB / 465.8 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.4023, allocations: 0.6875 kB / 465.8 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4023, allocations: 3.375 kB / 465.8 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.4025, allocations: 128.2 kB / 465.9 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.4026, allocations: 82.98 kB / 466 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.4026, allocations: 5.562 kB / 466 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.4027, allocations: 3 kB / 466 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.4027, allocations: 6.109 kB / 466 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.4027, allocations: 2.938 kB / 466 MB, free: 5.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.339e-05/0.4028, allocations: 112.1 kB / 466.1 MB, free: 5.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4028, allocations: 1.156 kB / 466.1 MB, free: 5.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00438/0.4072, allocations: 0.9487 MB / 467 MB, free: 5.426 MB / 366.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.007608/0.4148, allocations: 1.894 MB / 468.9 MB, free: 4.574 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002919/0.4151, allocations: 49.52 kB / 469 MB, free: 4.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4151, allocations: 1.156 kB / 469 MB, free: 4.562 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.414e-05/0.4151, allocations: 26.2 kB / 469 MB, free: 4.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.4154, allocations: 17.52 kB / 469 MB, free: 4.555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003942/0.4194, allocations: 1.791 MB / 470.8 MB, free: 3.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.4195, allocations: 0.6876 MB / 471.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.14e-05/0.4196, allocations: 19.67 kB / 471.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.4196, allocations: 18.75 kB / 471.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4196, allocations: 0 / 471.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06589/0.4855, allocations: 29.32 MB / 0.4891 GB, free: 11.69 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.495/9.98, allocations: 15.72 kB / 0.4891 GB, free: 11.68 MB / 398.1 MB " [Timeout remaining time 650] (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: 15.234184210654348]