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.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.001548/0.001548, allocations: 118.3 kB / 18.4 MB, free: 4.652 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.00159/0.00159, allocations: 190.9 kB / 21.34 MB, free: 1.719 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.479/1.479, allocations: 205.1 MB / 229.2 MB, free: 4.375 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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 51.94 kB / 334.7 MB, free: 14.69 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08634/0.08804, allocations: 46.62 MB / 381.3 MB, free: 0.957 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002343/0.09042, allocations: 1.362 MB / 382.7 MB, free: 15.58 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03041/0.1208, allocations: 23.68 MB / 406.4 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.801e-05/0.1209, allocations: 0 / 406.4 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.1211, allocations: 7.938 kB / 406.4 MB, free: 7.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01381/0.1349, allocations: 5.636 MB / 412 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007752/0.1357, allocations: 342.8 kB / 412.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.1358, allocations: 79.62 kB / 412.4 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.1359, allocations: 11.98 kB / 412.4 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.832e-05/0.136, allocations: 31.86 kB / 412.5 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.635e-05/0.1361, allocations: 35.89 kB / 412.5 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.1361, allocations: 4 kB / 412.5 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01596/0.1521, allocations: 8.75 MB / 421.3 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.233e-05/0.1522, allocations: 15.92 kB / 421.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.1522, allocations: 23.88 kB / 421.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009766/0.162, allocations: 4.358 MB / 425.7 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.162, allocations: 0 / 425.7 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.162, allocations: 0 / 425.7 MB, free: 4.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.162, allocations: 0 / 425.7 MB, free: 4.484 MB / 350.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.002071/0.1641, allocations: 0.9317 MB / 426.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1642, allocations: 11.97 kB / 426.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.808e-05/0.1642, allocations: 38.75 kB / 426.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.1643, allocations: 8.891 kB / 426.7 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.1645, allocations: 199.6 kB / 426.9 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1645, allocations: 4 kB / 426.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.1645, allocations: 4 kB / 426.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.1647, allocations: 67.39 kB / 426.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1647, allocations: 0 / 426.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1648, allocations: 3.938 kB / 426.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1648, allocations: 3.938 kB / 426.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.1649, allocations: 39.97 kB / 427 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.1651, allocations: 194.5 kB / 427.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.1655, allocations: 97.11 kB / 427.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.385e-05/0.1655, allocations: 33.77 kB / 427.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.498e-05/0.1656, allocations: 12 kB / 427.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.1656, allocations: 34.55 kB / 427.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1656, allocations: 0 / 427.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003244/0.166, allocations: 105.5 kB / 427.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.166, allocations: 81.11 kB / 427.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.1662, allocations: 137.8 kB / 427.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.1662, allocations: 29.7 kB / 427.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.1663, allocations: 84.14 kB / 427.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.1663, allocations: 23.84 kB / 427.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.1664, allocations: 17.72 kB / 427.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1665, allocations: 318.7 kB / 428.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.374e-05/0.1666, allocations: 19.98 kB / 428.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.566e-05/0.1667, allocations: 33.7 kB / 428.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.1668, allocations: 49.69 kB / 428.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1668, allocations: 0 / 428.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000194/0.167, allocations: 85.56 kB / 428.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.167, allocations: 4 kB / 428.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.167, allocations: 4 kB / 428.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1671, allocations: 0 / 428.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.433e-05/0.1671, allocations: 15.98 kB / 428.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1671, allocations: 0 / 428.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.058e-05/0.1672, allocations: 7.938 kB / 428.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1672, allocations: 0 / 428.3 MB, free: 1.543 MB / 350.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.112e-05/0.1673, allocations: 121.7 kB / 428.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.1673, allocations: 4 kB / 428.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.1676, allocations: 97.5 kB / 428.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1676, allocations: 4 kB / 428.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1676, allocations: 7.938 kB / 428.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1676, allocations: 128 / 428.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.1678, allocations: 185.9 kB / 428.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1678, allocations: 0.5625 kB / 428.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/0.1679, allocations: 12 kB / 428.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1679, allocations: 4 kB / 428.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1679, allocations: 3.938 kB / 428.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1679, allocations: 0 / 428.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1679, allocations: 0 / 428.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.1682, allocations: 117.8 kB / 428.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/0.1682, allocations: 89.09 kB / 429 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.1683, allocations: 11.92 kB / 429 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.1683, allocations: 0 / 429 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.1684, allocations: 11.98 kB / 429 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.1684, allocations: 4 kB / 429 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.357e-05/0.1685, allocations: 111.2 kB / 429.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1685, allocations: 4 kB / 429.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002296/0.1708, allocations: 0.9391 MB / 430 MB, free: 15.73 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.004819/0.1756, allocations: 1.903 MB / 431.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.1759, allocations: 43.97 kB / 432 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1759, allocations: 3.938 kB / 432 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.385e-05/0.176, allocations: 27.92 kB / 432 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.1763, allocations: 15.98 kB / 432 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.179, allocations: 1.796 MB / 433.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.1793, allocations: 0.6844 MB / 434.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.603e-05/0.1794, allocations: 15.98 kB / 434.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.355e-05/0.1794, allocations: 23.42 kB / 434.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1795, allocations: 0 / 434.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2447/0.4242, allocations: 30.68 MB / 465.2 MB, free: 51.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.847/9.272, allocations: 7.422 kB / 465.2 MB, free: 51.87 MB / 382.1 MB " [Timeout remaining time 651] (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_2/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_2/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.380999891087413]