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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 115.7 kB / 17.72 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 183.1 kB / 18.65 MB, free: 4.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.392/1.392, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB 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.001386/0.001386, allocations: 55.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08956/0.09096, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00257/0.09358, allocations: 1.365 MB / 376 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2093/0.3029, allocations: 23.67 MB / 399.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.332e-05/0.303, allocations: 0 / 399.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.3032, allocations: 16.2 kB / 399.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01754/0.3208, allocations: 5.638 MB / 405.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008631/0.3217, allocations: 346.6 kB / 405.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.3218, allocations: 76.06 kB / 405.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.3219, allocations: 2.906 kB / 405.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.946e-05/0.3219, allocations: 31 kB / 405.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.237e-05/0.322, allocations: 47.17 kB / 405.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.3221, allocations: 3.156 kB / 405.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01674/0.3388, allocations: 8.757 MB / 414.6 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.952e-05/0.3389, allocations: 11.3 kB / 414.6 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.334e-05/0.3389, allocations: 26.39 kB / 414.6 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.3501, allocations: 4.355 MB / 419 MB, free: 3.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3501, allocations: 0 / 419 MB, free: 3.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.3501, allocations: 0 / 419 MB, free: 3.648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.3501, allocations: 3.938 kB / 419 MB, free: 3.645 MB / 334.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.002501/0.3526, allocations: 0.9317 MB / 419.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3527, allocations: 12.03 kB / 419.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/0.3527, allocations: 34.75 kB / 419.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.3528, allocations: 12.88 kB / 420 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.353, allocations: 199.8 kB / 420.2 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.353, allocations: 3.938 kB / 420.2 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.353, allocations: 4 kB / 420.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.3532, allocations: 71.38 kB / 420.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3532, allocations: 0 / 420.2 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.3532, allocations: 4 kB / 420.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3533, allocations: 4 kB / 420.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.3534, allocations: 31.92 kB / 420.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/0.3536, allocations: 190.5 kB / 420.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.3539, allocations: 97.23 kB / 420.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.031e-05/0.354, allocations: 33.7 kB / 420.6 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.927e-05/0.3541, allocations: 11.94 kB / 420.6 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.3541, allocations: 39.44 kB / 420.6 MB, free: 1.785 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3541, allocations: 3.938 kB / 420.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002989/0.3544, allocations: 97.55 kB / 420.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.3545, allocations: 89.09 kB / 420.8 MB, free: 1.574 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.3546, allocations: 133.8 kB / 421 MB, free: 1.434 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.3546, allocations: 29.7 kB / 421 MB, free: 1.398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.3547, allocations: 84.14 kB / 421.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.3547, allocations: 19.8 kB / 421.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.3547, allocations: 21.7 kB / 421.1 MB, free: 1.266 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3548, allocations: 318.8 kB / 421.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.831e-05/0.3549, allocations: 19.98 kB / 421.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.234e-05/0.355, allocations: 33.7 kB / 421.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.3551, allocations: 53.58 kB / 421.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3551, allocations: 2.625 kB / 421.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001739/0.3553, allocations: 86.69 kB / 421.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3553, allocations: 4 kB / 421.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3553, allocations: 3.938 kB / 421.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3553, allocations: 0 / 421.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.36e-05/0.3554, allocations: 16 kB / 421.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3554, allocations: 0 / 421.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.054e-05/0.3555, allocations: 3.984 kB / 421.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.3555, allocations: 4 kB / 421.6 MB, free: 0.707 MB / 334.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.544e-05/0.3556, allocations: 121.7 kB / 421.8 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.3556, allocations: 4 kB / 421.8 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.3558, allocations: 109 kB / 421.9 MB, free: 480 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3559, allocations: 4 kB / 421.9 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3559, allocations: 0 / 421.9 MB, free: 476 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3559, allocations: 4 kB / 421.9 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.356, allocations: 173.6 kB / 422 MB, free: 248 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.356, allocations: 4 kB / 422.1 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-05/0.3561, allocations: 11.98 kB / 422.1 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3561, allocations: 0 / 422.1 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.3561, allocations: 0 / 422.1 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.3561, allocations: 4.375 kB / 422.1 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3561, allocations: 3.938 kB / 422.1 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.3563, allocations: 118.7 kB / 422.2 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.853e-05/0.3564, allocations: 85.09 kB / 422.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.3565, allocations: 3.938 kB / 422.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.642e-05/0.3565, allocations: 11.98 kB / 422.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.3566, allocations: 4 kB / 422.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.3566, allocations: 1.688 kB / 422.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.907e-05/0.3567, allocations: 115.2 kB / 422.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3567, allocations: 4 kB / 422.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002626/0.3593, allocations: 0.9352 MB / 423.3 MB, free: 14.91 MB / 350.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.004774/0.3641, allocations: 1.914 MB / 425.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.3643, allocations: 47.91 kB / 425.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3643, allocations: 0 / 425.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.932e-05/0.3644, allocations: 24.27 kB / 425.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.3647, allocations: 18.5 kB / 425.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.3671, allocations: 1.793 MB / 427.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.3674, allocations: 0.689 MB / 427.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.237e-05/0.3675, allocations: 15.98 kB / 427.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.3675, allocations: 23.42 kB / 427.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3675, allocations: 0 / 427.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05724/0.4248, allocations: 30.68 MB / 458.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.7/9.124, allocations: 19.64 kB / 458.6 MB, free: 11.44 MB / 382.1 MB (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.0004 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) 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) Reference file matches