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) 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 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 106.7 kB / 16.92 MB, free: 6.145 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.001954/0.001954, allocations: 191.5 kB / 17.85 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.066/2.066, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 43.11 kB / 300.7 MB, free: 5.723 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.166, allocations: 49.45 MB / 350.2 MB, free: 4.27 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.004033/0.1701, allocations: 1.357 MB / 351.5 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.3602/0.5303, allocations: 23.52 MB / 375 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.643e-05/0.5305, allocations: 0 / 375 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.5307, allocations: 11.14 kB / 375 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0298/0.5605, allocations: 5.975 MB / 381 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.5622, allocations: 343 kB / 381.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.5624, allocations: 77.95 kB / 381.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.411e-05/0.5625, allocations: 4.594 kB / 381.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.134e-05/0.5626, allocations: 33.09 kB / 381.5 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.5628, allocations: 40.44 kB / 381.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.5628, allocations: 11.31 kB / 381.5 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0312/0.594, allocations: 8.693 MB / 390.2 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.33e-05/0.5942, allocations: 13.61 kB / 390.2 MB, free: 6.113 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.738e-05/0.5943, allocations: 24.66 kB / 390.3 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01766/0.6119, allocations: 4.375 MB / 394.6 MB, free: 3.711 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.612, allocations: 2 kB / 394.6 MB, free: 3.711 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.612, allocations: 0 / 394.6 MB, free: 3.711 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.612, allocations: 0 / 394.6 MB, free: 3.711 MB / 302.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.004459/0.6165, allocations: 0.9059 MB / 395.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.418e-05/0.6166, allocations: 9.719 kB / 395.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.6166, allocations: 34.75 kB / 395.6 MB, free: 2.953 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.836e-05/0.6167, allocations: 8.469 kB / 395.6 MB, free: 2.949 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.6169, allocations: 203.3 kB / 395.8 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.617, allocations: 2 kB / 395.8 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.617, allocations: 10 kB / 395.8 MB, free: 2.719 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.6172, allocations: 65.89 kB / 395.9 MB, free: 2.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.6173, allocations: 0 / 395.9 MB, free: 2.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.6173, allocations: 3.25 kB / 395.9 MB, free: 2.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.6173, allocations: 0 / 395.9 MB, free: 2.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.6175, allocations: 37.16 kB / 395.9 MB, free: 2.645 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002535/0.6178, allocations: 194.3 kB / 396.1 MB, free: 2.422 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.6182, allocations: 96.89 kB / 396.2 MB, free: 2.355 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.6183, allocations: 31.27 kB / 396.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.252e-05/0.6184, allocations: 17.06 kB / 396.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.6185, allocations: 34.56 kB / 396.3 MB, free: 2.285 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.6185, allocations: 1.688 kB / 396.3 MB, free: 2.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004395/0.6189, allocations: 99.34 kB / 396.4 MB, free: 2.227 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.619, allocations: 86.98 kB / 396.4 MB, free: 2.125 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.6191, allocations: 134.3 kB / 396.6 MB, free: 2.012 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.6192, allocations: 27.3 kB / 396.6 MB, free: 1.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.6192, allocations: 94.34 kB / 396.7 MB, free: 1.887 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.6193, allocations: 17.62 kB / 396.7 MB, free: 1.871 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/0.6193, allocations: 23.03 kB / 396.7 MB, free: 1.848 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.804e-05/0.6194, allocations: 320.5 kB / 397.1 MB, free: 1.527 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/0.6195, allocations: 19.55 kB / 397.1 MB, free: 1.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.018e-05/0.6196, allocations: 31.05 kB / 397.1 MB, free: 1.496 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.6198, allocations: 54.75 kB / 397.2 MB, free: 1.465 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6198, allocations: 0 / 397.2 MB, free: 1.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002749/0.6201, allocations: 83.83 kB / 397.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.6201, allocations: 5.375 kB / 397.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.6202, allocations: 0 / 397.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.6202, allocations: 2.719 kB / 397.2 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.952e-05/0.6203, allocations: 13.64 kB / 397.3 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.6203, allocations: 0 / 397.3 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.464e-05/0.6204, allocations: 3.062 kB / 397.3 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.6204, allocations: 0.875 kB / 397.3 MB, free: 1.406 MB / 302.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.287e-05/0.6205, allocations: 124.3 kB / 397.4 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.6205, allocations: 9.469 kB / 397.4 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000348/0.6209, allocations: 100.6 kB / 397.5 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.6209, allocations: 2.5 kB / 397.5 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6209, allocations: 0 / 397.5 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.6209, allocations: 0 / 397.5 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.6211, allocations: 179.2 kB / 397.7 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.6211, allocations: 3.5 kB / 397.7 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.343e-05/0.6212, allocations: 20.12 kB / 397.7 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.6212, allocations: 3.984 kB / 397.7 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.6212, allocations: 2 kB / 397.7 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.6212, allocations: 2.781 kB / 397.7 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6213, allocations: 0 / 397.7 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.6215, allocations: 109.8 kB / 397.8 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.6216, allocations: 95.38 kB / 397.9 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.6216, allocations: 1.688 kB / 397.9 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.6218, allocations: 7.219 kB / 397.9 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.6218, allocations: 16.73 kB / 397.9 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.6218, allocations: 3.125 kB / 397.9 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.065e-05/0.6219, allocations: 111.8 kB / 398 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6219, allocations: 0 / 398 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.005334/0.6273, allocations: 0.9313 MB / 399 MB, free: 484 kB / 302.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.01024/0.6376, allocations: 1.877 MB / 400.8 MB, free: 15.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004083/0.638, allocations: 55.91 kB / 400.9 MB, free: 14.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.638, allocations: 0 / 400.9 MB, free: 14.98 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.6382, allocations: 31.92 kB / 400.9 MB, free: 14.95 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.6386, allocations: 15.98 kB / 400.9 MB, free: 14.94 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006551/0.6452, allocations: 1.773 MB / 402.7 MB, free: 13.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.6456, allocations: 0.6883 MB / 403.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.6458, allocations: 15.98 kB / 403.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.934e-05/0.6459, allocations: 23.42 kB / 403.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of SimCode: time 7.42e-07/0.6459, allocations: 0 / 403.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1064/0.7523, allocations: 29.31 MB / 432.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.63, allocations: 14.66 kB / 432.8 MB, free: 15.04 MB / 350.1 MB (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.0004 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) 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) Reference file matches