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: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.001849/0.001849, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 242.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009898/0.0009901, allocations: 55.56 kB / 302 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08376/0.08476, allocations: 49.44 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002212/0.08701, allocations: 1.376 MB / 352.9 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.1785/0.2655, allocations: 23.51 MB / 376.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.137e-05/0.2656, allocations: 3.016 kB / 376.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.2657, allocations: 10.59 kB / 376.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01373/0.2795, allocations: 5.985 MB / 382.4 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007475/0.2803, allocations: 342.4 kB / 382.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.2804, allocations: 80.56 kB / 382.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.545e-05/0.2804, allocations: 3.484 kB / 382.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.08e-05/0.2805, allocations: 37.06 kB / 382.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.393e-05/0.2806, allocations: 41.25 kB / 382.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.2806, allocations: 3.375 kB / 382.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01483/0.2954, allocations: 8.854 MB / 391.7 MB, free: 6.195 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.972e-05/0.2955, allocations: 15.56 kB / 391.7 MB, free: 6.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.2956, allocations: 27.14 kB / 391.8 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008365/0.3039, allocations: 4.368 MB / 396.1 MB, free: 3.785 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.304, allocations: 0 / 396.1 MB, free: 3.785 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.304, allocations: 0 / 396.1 MB, free: 3.785 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.304, allocations: 0 / 396.1 MB, free: 3.785 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.001922/0.3059, allocations: 0.9089 MB / 397 MB, free: 3.066 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.306, allocations: 14.97 kB / 397 MB, free: 3.062 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.17e-05/0.306, allocations: 7.844 kB / 397.1 MB, free: 3.059 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.3061, allocations: 197.6 kB / 397.2 MB, free: 2.844 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.3062, allocations: 5.688 kB / 397.3 MB, free: 2.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.3062, allocations: 1.812 kB / 397.3 MB, free: 2.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.3063, allocations: 69.64 kB / 397.3 MB, free: 2.777 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3063, allocations: 0 / 397.3 MB, free: 2.777 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3064, allocations: 1.812 kB / 397.3 MB, free: 2.777 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3064, allocations: 0 / 397.3 MB, free: 2.777 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.3065, allocations: 47.31 kB / 397.4 MB, free: 2.754 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.3066, allocations: 185.7 kB / 397.6 MB, free: 2.539 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.3069, allocations: 100.4 kB / 397.6 MB, free: 2.469 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.116e-05/0.307, allocations: 34.83 kB / 397.7 MB, free: 2.441 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.035e-05/0.307, allocations: 13.66 kB / 397.7 MB, free: 2.438 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.3071, allocations: 34.55 kB / 397.7 MB, free: 2.395 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.3071, allocations: 1.875 kB / 397.7 MB, free: 2.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002742/0.3073, allocations: 99.62 kB / 397.8 MB, free: 2.336 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.3074, allocations: 79.3 kB / 397.9 MB, free: 2.242 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.686e-05/0.3075, allocations: 143.5 kB / 398 MB, free: 2.121 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.958e-06/0.3075, allocations: 25.7 kB / 398.1 MB, free: 2.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.288e-05/0.3075, allocations: 84.14 kB / 398.2 MB, free: 2.004 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.3075, allocations: 18.3 kB / 398.2 MB, free: 1.988 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.3076, allocations: 19.53 kB / 398.2 MB, free: 1.969 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.73e-05/0.3076, allocations: 320.7 kB / 398.5 MB, free: 1.648 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.659e-05/0.3077, allocations: 19.83 kB / 398.5 MB, free: 1.641 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.469e-05/0.3078, allocations: 35.08 kB / 398.6 MB, free: 1.613 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.3079, allocations: 56.77 kB / 398.6 MB, free: 1.582 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3079, allocations: 0 / 398.6 MB, free: 1.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001591/0.308, allocations: 80.89 kB / 398.7 MB, free: 1.531 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.3081, allocations: 6.062 kB / 398.7 MB, free: 1.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3081, allocations: 0 / 398.7 MB, free: 1.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.3081, allocations: 0 / 398.7 MB, free: 1.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.3082, allocations: 17.23 kB / 398.7 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3082, allocations: 5.938 kB / 398.7 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.067e-05/0.3082, allocations: 1.844 kB / 398.7 MB, free: 1.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.3082, allocations: 10.3 kB / 398.7 MB, free: 1.516 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 5.147e-05/0.3083, allocations: 116 kB / 398.8 MB, free: 1.395 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.3083, allocations: 8.188 kB / 398.9 MB, free: 1.391 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.3085, allocations: 97.11 kB / 398.9 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3086, allocations: 1.969 kB / 399 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3086, allocations: 4 kB / 399 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3086, allocations: 3.5 kB / 399 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.583e-05/0.3087, allocations: 186.7 kB / 399.1 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3087, allocations: 0 / 399.1 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.3087, allocations: 13.81 kB / 399.2 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3087, allocations: 384 / 399.2 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3088, allocations: 2.938 kB / 399.2 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3088, allocations: 0 / 399.2 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3088, allocations: 0 / 399.2 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.3089, allocations: 121.9 kB / 399.3 MB, free: 1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.309, allocations: 87.88 kB / 399.4 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.309, allocations: 9.172 kB / 399.4 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.3091, allocations: 4.094 kB / 399.4 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.3091, allocations: 10.92 kB / 399.4 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.3092, allocations: 1.281 kB / 399.4 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.182e-05/0.3092, allocations: 108.6 kB / 399.5 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3092, allocations: 4 kB / 399.5 MB, free: 0.793 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002396/0.3116, allocations: 0.9399 MB / 400.4 MB, free: 0.5781 MB / 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.003828/0.3155, allocations: 1.313 MB / 401.7 MB, free: 15.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.3157, allocations: 57.22 kB / 401.8 MB, free: 15.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3157, allocations: 4 kB / 401.8 MB, free: 15.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.055e-05/0.3158, allocations: 24.27 kB / 401.8 MB, free: 15.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.316, allocations: 11.98 kB / 401.8 MB, free: 15.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.3164, allocations: 191.3 kB / 402 MB, free: 15.17 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.3167, allocations: 0.6922 MB / 402.7 MB, free: 14.45 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.974e-05/0.3168, allocations: 11.98 kB / 402.7 MB, free: 14.44 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.3168, allocations: 23.42 kB / 402.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3168, allocations: 288 / 402.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of Templates: time 0.03429/0.3511, allocations: 27.09 MB / 429.9 MB, free: 3.316 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (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 & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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.mat","/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