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.001106/0.001106, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001174, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 59.72 kB / 307 MB, free: 0.5586 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08739/0.08892, allocations: 50.53 MB / 357.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002622/0.09158, allocations: 1.377 MB / 358.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1688/0.2604, allocations: 23.59 MB / 382.5 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.114e-05/0.2605, allocations: 4 kB / 382.5 MB, free: 8.234 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.993e-05/0.2607, allocations: 10.83 kB / 382.6 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01471/0.2754, allocations: 6.004 MB / 388.6 MB, free: 5.953 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006973/0.2761, allocations: 340.8 kB / 388.9 MB, free: 5.719 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.802e-05/0.2762, allocations: 75.62 kB / 389 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.2762, allocations: 3 kB / 389 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.133e-05/0.2763, allocations: 35.69 kB / 389 MB, free: 5.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.01e-05/0.2764, allocations: 30.5 kB / 389 MB, free: 5.645 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.2764, allocations: 7.312 kB / 389 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01471/0.2911, allocations: 8.716 MB / 397.8 MB, free: 1.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.274e-05/0.2912, allocations: 16.09 kB / 397.8 MB, free: 1.059 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.605e-05/0.2913, allocations: 31.48 kB / 397.8 MB, free: 1.039 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01171/0.303, allocations: 4.381 MB / 402.2 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3031, allocations: 0 / 402.2 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3031, allocations: 0 / 402.2 MB, free: 14.4 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.3031, allocations: 0 / 402.2 MB, free: 14.4 MB / 318.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.001972/0.3051, allocations: 0.9217 MB / 403.1 MB, free: 13.67 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3051, allocations: 10.91 kB / 403.1 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.053e-05/0.3051, allocations: 30.75 kB / 403.1 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.3052, allocations: 4.094 kB / 403.1 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.3054, allocations: 213.3 kB / 403.4 MB, free: 13.4 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3054, allocations: 0 / 403.4 MB, free: 13.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.3054, allocations: 2.312 kB / 403.4 MB, free: 13.4 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3056, allocations: 73.48 kB / 403.4 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.3056, allocations: 6.812 kB / 403.4 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.3056, allocations: 0 / 403.4 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3056, allocations: 0 / 403.4 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.3057, allocations: 39.28 kB / 403.5 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.3059, allocations: 191.2 kB / 403.7 MB, free: 13.1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.3062, allocations: 98.61 kB / 403.8 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.141e-05/0.3063, allocations: 29.78 kB / 403.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.3063, allocations: 12.55 kB / 403.8 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.3064, allocations: 34.56 kB / 403.8 MB, free: 12.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.725e-06/0.3064, allocations: 0 / 403.8 MB, free: 12.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003076/0.3067, allocations: 113.8 kB / 403.9 MB, free: 12.81 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3067, allocations: 77.11 kB / 404 MB, free: 12.72 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.3069, allocations: 137.8 kB / 404.2 MB, free: 12.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.3069, allocations: 29.7 kB / 404.2 MB, free: 12.54 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.286e-05/0.3069, allocations: 84.12 kB / 404.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.307, allocations: 23.66 kB / 404.3 MB, free: 12.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.307, allocations: 21.72 kB / 404.3 MB, free: 12.4 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.3071, allocations: 330.8 kB / 404.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.932e-05/0.3072, allocations: 15.98 kB / 404.7 MB, free: 12.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-05/0.3072, allocations: 33.64 kB / 404.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.3074, allocations: 49.7 kB / 404.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3074, allocations: 0 / 404.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001811/0.3076, allocations: 77.59 kB / 404.8 MB, free: 11.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3076, allocations: 12 kB / 404.8 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.3076, allocations: 0 / 404.8 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.3076, allocations: 0 / 404.8 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.254e-05/0.3077, allocations: 8 kB / 404.8 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.3077, allocations: 4 kB / 404.8 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.153e-05/0.3077, allocations: 3.906 kB / 404.8 MB, free: 11.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.3078, allocations: 8 kB / 404.8 MB, free: 11.84 MB / 318.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 7.318e-05/0.3078, allocations: 118.8 kB / 405 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.3079, allocations: 4 kB / 405 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.3081, allocations: 101.9 kB / 405.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3081, allocations: 0 / 405.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3081, allocations: 3.984 kB / 405.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.207e-06/0.3081, allocations: 1.562 kB / 405.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.3083, allocations: 189.4 kB / 405.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3083, allocations: 0 / 405.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.307e-05/0.3083, allocations: 19.92 kB / 405.3 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.3084, allocations: 0 / 405.3 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.3084, allocations: 0 / 405.3 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3084, allocations: 4 kB / 405.3 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3084, allocations: 4 kB / 405.3 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.3086, allocations: 110.7 kB / 405.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.3087, allocations: 89.23 kB / 405.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.3087, allocations: 3.938 kB / 405.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.3088, allocations: 4 kB / 405.5 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.3088, allocations: 19.91 kB / 405.5 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.3088, allocations: 4 kB / 405.5 MB, free: 11.08 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.232e-05/0.3089, allocations: 111.2 kB / 405.6 MB, free: 10.97 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3089, allocations: 0 / 405.6 MB, free: 10.97 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002038/0.311, allocations: 0.9447 MB / 406.6 MB, free: 10.02 MB / 318.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.004017/0.315, allocations: 1.873 MB / 408.4 MB, free: 8.121 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.3152, allocations: 47.91 kB / 408.5 MB, free: 8.074 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3152, allocations: 3.938 kB / 408.5 MB, free: 8.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.3153, allocations: 35.92 kB / 408.5 MB, free: 8.035 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.3155, allocations: 23.91 kB / 408.5 MB, free: 8.012 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.3179, allocations: 1.774 MB / 410.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.3181, allocations: 0.6883 MB / 411 MB, free: 5.434 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.148e-05/0.3182, allocations: 12.36 kB / 411 MB, free: 5.422 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.3182, allocations: 19.44 kB / 411 MB, free: 5.402 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3182, allocations: 4 kB / 411 MB, free: 5.398 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05349/0.3717, allocations: 29.49 MB / 440.5 MB, free: 7.941 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.544/8.916, allocations: 7.938 kB / 440.5 MB, free: 7.934 MB / 350.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