Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008097/0.0008097, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003333/0.003333, allocations: 164.3 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9002/0.9002, allocations: 158.6 MB / 186.5 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.949e-05, allocations: 6.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002241/0.00227, allocations: 1.342 MB / 299.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1543/0.1566, allocations: 21.21 MB / 321 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.1567, allocations: 3.938 kB / 321 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.1568, allocations: 11.34 kB / 321 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.1678, allocations: 5.675 MB / 326.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005857/0.1684, allocations: 375.5 kB / 327 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.1685, allocations: 83.69 kB / 327.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.1686, allocations: 8.594 kB / 327.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.787e-05/0.1686, allocations: 42.8 kB / 327.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.069e-05/0.1687, allocations: 35.7 kB / 327.2 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.1687, allocations: 3.562 kB / 327.2 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01035/0.1791, allocations: 8.269 MB / 335.5 MB, free: 9.809 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.1791, allocations: 17.61 kB / 335.5 MB, free: 9.793 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.1792, allocations: 23.97 kB / 335.5 MB, free: 9.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006337/0.1855, allocations: 5.438 MB / 341 MB, free: 4.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1855, allocations: 0 / 341 MB, free: 4.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1855, allocations: 0 / 341 MB, free: 4.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1855, allocations: 0 / 341 MB, free: 4.32 MB / 298.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.00121/0.1867, allocations: 0.8486 MB / 341.8 MB, free: 3.438 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1868, allocations: 11.98 kB / 341.8 MB, free: 3.426 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.062e-05/0.1868, allocations: 34.73 kB / 341.9 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.1868, allocations: 12.89 kB / 341.9 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.187, allocations: 137.6 kB / 342 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.187, allocations: 12.12 kB / 342 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.187, allocations: 0 / 342 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.1871, allocations: 126.8 kB / 342.1 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1871, allocations: 1.312 kB / 342.1 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1871, allocations: 0 / 342.1 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1871, allocations: 4 kB / 342.1 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.545e-05/0.1872, allocations: 31.92 kB / 342.2 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.1874, allocations: 153.7 kB / 342.3 MB, free: 2.816 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.1876, allocations: 101 kB / 342.4 MB, free: 2.699 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/0.1876, allocations: 29.78 kB / 342.5 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-05/0.1877, allocations: 11.98 kB / 342.5 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.1877, allocations: 34.56 kB / 342.5 MB, free: 2.609 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 6.91e-07/0.1877, allocations: 4 kB / 342.5 MB, free: 2.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002152/0.1879, allocations: 100.9 kB / 342.6 MB, free: 2.504 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.188, allocations: 81.11 kB / 342.7 MB, free: 2.406 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.878e-05/0.188, allocations: 137.8 kB / 342.8 MB, free: 2.262 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.1881, allocations: 33.69 kB / 342.8 MB, free: 2.223 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.1881, allocations: 88.08 kB / 342.9 MB, free: 2.133 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.1881, allocations: 23.8 kB / 343 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.1881, allocations: 17.72 kB / 343 MB, free: 2.086 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.667e-05/0.1882, allocations: 322.8 kB / 343.3 MB, free: 1.762 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-05/0.1883, allocations: 16.61 kB / 343.3 MB, free: 1.746 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.862e-05/0.1883, allocations: 29.7 kB / 343.3 MB, free: 1.711 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.589e-05/0.1884, allocations: 61.08 kB / 343.4 MB, free: 1.648 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1884, allocations: 0 / 343.4 MB, free: 1.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001035/0.1885, allocations: 77.61 kB / 343.5 MB, free: 1.566 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1885, allocations: 11.98 kB / 343.5 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1885, allocations: 4 kB / 343.5 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1885, allocations: 0 / 343.5 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.764e-05/0.1885, allocations: 8 kB / 343.5 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1886, allocations: 0 / 343.5 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.1886, allocations: 7.953 kB / 343.5 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1886, allocations: 4 kB / 343.5 MB, free: 1.531 MB / 298.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 5.801e-05/0.1886, allocations: 117.8 kB / 343.6 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.1886, allocations: 4 kB / 343.6 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.1888, allocations: 104.2 kB / 343.7 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1888, allocations: 4 kB / 343.7 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1888, allocations: 0 / 343.7 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1888, allocations: 3.984 kB / 343.7 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.927e-05/0.1889, allocations: 152.7 kB / 343.9 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1889, allocations: 3.984 kB / 343.9 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.1889, allocations: 8 kB / 343.9 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.1889, allocations: 4 kB / 343.9 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1889, allocations: 3.984 kB / 343.9 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1889, allocations: 3.938 kB / 343.9 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1889, allocations: 0 / 343.9 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.1891, allocations: 121.9 kB / 344 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.1891, allocations: 7.984 kB / 344 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.1891, allocations: 0 / 344 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.647e-05/0.1892, allocations: 4.375 kB / 344 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.1892, allocations: 12.86 kB / 344.1 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.1892, allocations: 0 / 344.1 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.254e-05/0.1893, allocations: 119.2 kB / 344.2 MB, free: 0.793 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1893, allocations: 3.938 kB / 344.2 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001176/0.1904, allocations: 0.9315 MB / 345.1 MB, free: 15.85 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.002841/0.1933, allocations: 2.053 MB / 347.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.1934, allocations: 47.84 kB / 347.2 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1934, allocations: 4 kB / 347.2 MB, free: 13.72 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.9e-05/0.1935, allocations: 20.27 kB / 347.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.1936, allocations: 18.97 kB / 347.2 MB, free: 13.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.1953, allocations: 1.795 MB / 349 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.046e-05/0.1954, allocations: 68.16 kB / 349.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.176e-05/0.1954, allocations: 15.98 kB / 349.1 MB, free: 11.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.1955, allocations: 24.48 kB / 349.1 MB, free: 11.67 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1955, allocations: 0 / 349.1 MB, free: 11.67 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0442/0.2397, allocations: 31.72 MB / 380.9 MB, free: 11.85 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.154, allocations: 3.953 kB / 380.9 MB, free: 11.85 MB / 346.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv. Warning: Get data of variable s2 from file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.445526661351323]