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.001688/0.001688, allocations: 118 kB / 18.45 MB, free: 4.566 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.00207/0.00207, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 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 1.407/1.407, allocations: 207.6 MB / 231.8 MB, free: 4.207 MB / 174.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 51.94 kB / 342.3 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09185/0.09374, allocations: 49.12 MB / 391.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002468/0.09621, allocations: 1.37 MB / 392.8 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03053/0.1267, allocations: 23.77 MB / 416.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.844e-05/0.1268, allocations: 0 / 416.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.1269, allocations: 7.938 kB / 416.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01464/0.1415, allocations: 5.643 MB / 422.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009137/0.1425, allocations: 354.8 kB / 422.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.1426, allocations: 83.62 kB / 422.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.744e-05/0.1427, allocations: 4 kB / 422.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.769e-05/0.1427, allocations: 35.84 kB / 422.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.1428, allocations: 39.89 kB / 422.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.1428, allocations: 0 / 422.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0176/0.1604, allocations: 8.859 MB / 431.6 MB, free: 424 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/0.1605, allocations: 19.91 kB / 431.6 MB, free: 404 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.777e-05/0.1606, allocations: 23.92 kB / 431.6 MB, free: 380 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.1714, allocations: 4.358 MB / 436 MB, free: 12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.1715, allocations: 4 kB / 436 MB, free: 12 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1715, allocations: 0 / 436 MB, free: 12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1715, allocations: 3.938 kB / 436 MB, free: 12 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.002436/0.1739, allocations: 0.9356 MB / 436.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.1739, allocations: 8.031 kB / 436.9 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.174, allocations: 30.75 kB / 437 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/0.174, allocations: 8.891 kB / 437 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.1743, allocations: 207.6 kB / 437.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1743, allocations: 4 kB / 437.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.1743, allocations: 4 kB / 437.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.1745, allocations: 71.39 kB / 437.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1745, allocations: 3.938 kB / 437.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1745, allocations: 0 / 437.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1745, allocations: 0 / 437.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.1746, allocations: 35.91 kB / 437.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.1749, allocations: 198.5 kB / 437.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.1752, allocations: 93.19 kB / 437.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.856e-05/0.1753, allocations: 29.7 kB / 437.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.188e-05/0.1753, allocations: 11.98 kB / 437.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.1754, allocations: 34.56 kB / 437.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1754, allocations: 0 / 437.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003433/0.1757, allocations: 105.5 kB / 437.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.1758, allocations: 81.11 kB / 437.8 MB, free: 9.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1759, allocations: 133.8 kB / 438 MB, free: 9.789 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.1759, allocations: 25.7 kB / 438 MB, free: 9.758 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.176, allocations: 84.14 kB / 438.1 MB, free: 9.672 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.176, allocations: 31.83 kB / 438.1 MB, free: 9.641 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.176, allocations: 17.72 kB / 438.1 MB, free: 9.617 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1762, allocations: 322.8 kB / 438.4 MB, free: 9.293 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.825e-05/0.1762, allocations: 16 kB / 438.4 MB, free: 9.277 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.161e-05/0.1763, allocations: 30.02 kB / 438.5 MB, free: 9.242 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.1765, allocations: 58.05 kB / 438.5 MB, free: 9.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1765, allocations: 4 kB / 438.5 MB, free: 9.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002133/0.1767, allocations: 81.56 kB / 438.6 MB, free: 9.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1767, allocations: 11.94 kB / 438.6 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1767, allocations: 0 / 438.6 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1767, allocations: 0 / 438.6 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.942e-05/0.1768, allocations: 11.98 kB / 438.6 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1768, allocations: 4 kB / 438.6 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.103e-05/0.1768, allocations: 3.938 kB / 438.6 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1768, allocations: 4 kB / 438.6 MB, free: 9.055 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 9.416e-05/0.1769, allocations: 117.8 kB / 438.8 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.177, allocations: 4 kB / 438.8 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.1772, allocations: 109.4 kB / 438.9 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1772, allocations: 0 / 438.9 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1772, allocations: 0 / 438.9 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1772, allocations: 3.938 kB / 438.9 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.1774, allocations: 181.6 kB / 439 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1774, allocations: 0 / 439 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.221e-05/0.1775, allocations: 19.94 kB / 439.1 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1775, allocations: 0 / 439.1 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1775, allocations: 0 / 439.1 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1775, allocations: 0 / 439.1 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1775, allocations: 7.984 kB / 439.1 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.1777, allocations: 114 kB / 439.2 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-05/0.1778, allocations: 89.09 kB / 439.3 MB, free: 8.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.1778, allocations: 4 kB / 439.3 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/0.1779, allocations: 0 / 439.3 MB, free: 8.316 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.1779, allocations: 15.92 kB / 439.3 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.1779, allocations: 4 kB / 439.3 MB, free: 8.297 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.461e-05/0.178, allocations: 111.2 kB / 439.4 MB, free: 8.188 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.178, allocations: 0 / 439.4 MB, free: 8.188 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002593/0.1806, allocations: 0.9391 MB / 440.3 MB, free: 7.246 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.004897/0.1855, allocations: 1.899 MB / 442.2 MB, free: 5.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.1857, allocations: 55.84 kB / 442.3 MB, free: 5.254 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1857, allocations: 0 / 442.3 MB, free: 5.254 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.113e-05/0.1858, allocations: 27.92 kB / 442.3 MB, free: 5.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.1861, allocations: 20.05 kB / 442.3 MB, free: 5.207 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/0.1891, allocations: 1.796 MB / 444.1 MB, free: 3.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1894, allocations: 0.6883 MB / 444.8 MB, free: 2.598 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.79e-05/0.1894, allocations: 12.34 kB / 444.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/0.1895, allocations: 19.44 kB / 444.9 MB, free: 2.566 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1895, allocations: 4 kB / 444.9 MB, free: 2.562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2438/0.4333, allocations: 30.69 MB / 475.6 MB, free: 48.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.226/9.659, allocations: 7.109 kB / 475.6 MB, free: 48.88 MB / 382.1 MB " [Timeout remaining time 650] (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/jenkins1/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/jenkins1/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: 14.812757895997493]