Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001055/0.001055, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001063/0.001063, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 63.89 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.256, allocations: 50.55 MB / 408.8 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002323/0.2584, allocations: 1.377 MB / 410.1 MB, free: 168 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0264/0.2848, allocations: 23.6 MB / 433.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.053e-05/0.2849, allocations: 0 / 433.7 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.2851, allocations: 11.92 kB / 433.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01534/0.3004, allocations: 5.999 MB / 439.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007808/0.3012, allocations: 342.8 kB / 440.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000143/0.3014, allocations: 83.62 kB / 440.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.3014, allocations: 4 kB / 440.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.285e-05/0.3015, allocations: 35.86 kB / 440.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.7e-05/0.3016, allocations: 31.89 kB / 440.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.3016, allocations: 4 kB / 440.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0146/0.3162, allocations: 8.89 MB / 449.1 MB, free: 9.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.568e-05/0.3163, allocations: 15.97 kB / 449.1 MB, free: 9.055 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.3163, allocations: 27.86 kB / 449.2 MB, free: 9.027 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009581/0.3259, allocations: 4.393 MB / 453.6 MB, free: 4.625 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.326, allocations: 0 / 453.6 MB, free: 4.625 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.326, allocations: 0 / 453.6 MB, free: 4.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.326, allocations: 3.938 kB / 453.6 MB, free: 4.621 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.002191/0.3282, allocations: 0.9433 MB / 454.5 MB, free: 3.625 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3282, allocations: 12.03 kB / 454.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.437e-05/0.3283, allocations: 34.73 kB / 454.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.3283, allocations: 16.88 kB / 454.6 MB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.3285, allocations: 203.5 kB / 454.8 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.3286, allocations: 0 / 454.8 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.3286, allocations: 4 kB / 454.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.3288, allocations: 79.38 kB / 454.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3288, allocations: 0 / 454.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3288, allocations: 0 / 454.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.3288, allocations: 4 kB / 454.8 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.3289, allocations: 35.92 kB / 454.9 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.3291, allocations: 190.5 kB / 455.1 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.3294, allocations: 101.2 kB / 455.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.545e-05/0.3295, allocations: 25.7 kB / 455.2 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.021e-05/0.3296, allocations: 15.94 kB / 455.2 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.3296, allocations: 34.56 kB / 455.2 MB, free: 2.738 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3296, allocations: 0 / 455.2 MB, free: 2.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003019/0.3299, allocations: 101.5 kB / 455.3 MB, free: 2.633 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.33, allocations: 85.09 kB / 455.4 MB, free: 2.531 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.3301, allocations: 137.8 kB / 455.6 MB, free: 2.387 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.3301, allocations: 25.7 kB / 455.6 MB, free: 2.355 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.3302, allocations: 84.14 kB / 455.7 MB, free: 2.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.3302, allocations: 19.8 kB / 455.7 MB, free: 2.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.3303, allocations: 21.7 kB / 455.7 MB, free: 2.223 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.3304, allocations: 326.8 kB / 456 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.969e-05/0.3304, allocations: 15.98 kB / 456 MB, free: 1.879 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-05/0.3305, allocations: 30.08 kB / 456.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.3306, allocations: 54.02 kB / 456.1 MB, free: 1.785 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3306, allocations: 0 / 456.1 MB, free: 1.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001766/0.3308, allocations: 81.64 kB / 456.2 MB, free: 1.699 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3308, allocations: 11.94 kB / 456.2 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3308, allocations: 3.938 kB / 456.2 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3309, allocations: 0 / 456.2 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.33e-05/0.3309, allocations: 12 kB / 456.2 MB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3309, allocations: 0 / 456.2 MB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.331, allocations: 11.94 kB / 456.2 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.331, allocations: 4 kB / 456.2 MB, free: 1.656 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 8.004e-05/0.3311, allocations: 117.7 kB / 456.4 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.3311, allocations: 3.938 kB / 456.4 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.3314, allocations: 109.5 kB / 456.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3314, allocations: 0 / 456.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3314, allocations: 0 / 456.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.3314, allocations: 0 / 456.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.3315, allocations: 185.5 kB / 456.7 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3315, allocations: 0 / 456.7 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/0.3316, allocations: 15.98 kB / 456.7 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3316, allocations: 0 / 456.7 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.3316, allocations: 0 / 456.7 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3316, allocations: 4 kB / 456.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3316, allocations: 8.062 kB / 456.7 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.3318, allocations: 113.9 kB / 456.8 MB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.604e-05/0.3319, allocations: 89.05 kB / 456.9 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.3319, allocations: 4 kB / 456.9 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.332, allocations: 7.984 kB / 456.9 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.3321, allocations: 4 kB / 456.9 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.3321, allocations: 4 kB / 456.9 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.93e-05/0.3321, allocations: 115.2 kB / 457 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3322, allocations: 0 / 457 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002223/0.3344, allocations: 0.9547 MB / 458 MB, free: 15.83 MB / 382.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.004633/0.339, allocations: 1.91 MB / 459.9 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.3392, allocations: 47.91 kB / 459.9 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3392, allocations: 0 / 459.9 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.961e-05/0.3393, allocations: 27.98 kB / 459.9 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.3395, allocations: 16 kB / 460 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.342, allocations: 1.798 MB / 461.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.3422, allocations: 0.6923 MB / 462.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.412e-05/0.3423, allocations: 11.98 kB / 462.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.3424, allocations: 23.42 kB / 462.5 MB, free: 11.15 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3424, allocations: 0 / 462.5 MB, free: 11.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05094/0.3933, allocations: 29.45 MB / 491.9 MB, free: 13.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.6/8.993, allocations: 11.73 kB / 492 MB, free: 13.75 MB / 414.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches