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.001129/0.001129, allocations: 104.7 kB / 17.59 MB, free: 5.422 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.001155/0.001155, allocations: 191.3 kB / 18.52 MB, free: 4.5 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.362/1.362, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 51.7 kB / 301.3 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09042/0.09153, allocations: 49.44 MB / 350.7 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002586/0.09416, allocations: 1.369 MB / 352.1 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.1876/0.2818, allocations: 23.5 MB / 375.6 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.956e-05/0.2819, allocations: 0.9062 kB / 375.6 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.2821, allocations: 6.531 kB / 375.6 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01537/0.2974, allocations: 5.989 MB / 381.6 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008758/0.2983, allocations: 344.2 kB / 381.9 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.2985, allocations: 74.77 kB / 382 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.471e-05/0.2985, allocations: 3.906 kB / 382 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.357e-05/0.2986, allocations: 42.98 kB / 382 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.122e-05/0.2987, allocations: 31.75 kB / 382.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.2987, allocations: 5.562 kB / 382.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01702/0.3158, allocations: 8.689 MB / 390.8 MB, free: 6.113 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.609e-05/0.3159, allocations: 19.02 kB / 390.8 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.3159, allocations: 26.61 kB / 390.8 MB, free: 6.086 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.3273, allocations: 4.371 MB / 395.2 MB, free: 3.699 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.3273, allocations: 0 / 395.2 MB, free: 3.699 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.3273, allocations: 0 / 395.2 MB, free: 3.699 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.3273, allocations: 0 / 395.2 MB, free: 3.699 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.002866/0.3302, allocations: 0.9019 MB / 396.1 MB, free: 2.988 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3303, allocations: 10 kB / 396.1 MB, free: 2.988 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.165e-05/0.3303, allocations: 11.22 kB / 396.1 MB, free: 2.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.3305, allocations: 200 kB / 396.3 MB, free: 2.766 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.3305, allocations: 9.062 kB / 396.3 MB, free: 2.758 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.3305, allocations: 1.875 kB / 396.3 MB, free: 2.758 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.3307, allocations: 73.83 kB / 396.4 MB, free: 2.691 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3307, allocations: 0 / 396.4 MB, free: 2.691 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3307, allocations: 5.766 kB / 396.4 MB, free: 2.688 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3307, allocations: 3.938 kB / 396.4 MB, free: 2.684 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.3309, allocations: 33.02 kB / 396.4 MB, free: 2.676 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.331, allocations: 191.2 kB / 396.6 MB, free: 2.453 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.3313, allocations: 102.9 kB / 396.7 MB, free: 2.383 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.661e-05/0.3314, allocations: 32.39 kB / 396.7 MB, free: 2.359 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.341e-05/0.3315, allocations: 11.53 kB / 396.8 MB, free: 2.355 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.3315, allocations: 38.03 kB / 396.8 MB, free: 2.312 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.3315, allocations: 0 / 396.8 MB, free: 2.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002957/0.3318, allocations: 101.8 kB / 396.9 MB, free: 2.254 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.3318, allocations: 81.09 kB / 397 MB, free: 2.156 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.203e-05/0.3319, allocations: 138.7 kB / 397.1 MB, free: 2.039 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.332, allocations: 28.64 kB / 397.1 MB, free: 2.008 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.32e-05/0.332, allocations: 92.05 kB / 397.2 MB, free: 1.918 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.332, allocations: 18.75 kB / 397.2 MB, free: 1.902 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.3321, allocations: 19.05 kB / 397.3 MB, free: 1.883 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.11e-05/0.3321, allocations: 321.7 kB / 397.6 MB, free: 1.562 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.592e-05/0.3322, allocations: 13.95 kB / 397.6 MB, free: 1.559 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.563e-05/0.3322, allocations: 32.48 kB / 397.6 MB, free: 1.535 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.3323, allocations: 57.06 kB / 397.7 MB, free: 1.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3324, allocations: 0 / 397.7 MB, free: 1.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001616/0.3325, allocations: 84.44 kB / 397.8 MB, free: 1.445 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3325, allocations: 4.906 kB / 397.8 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3325, allocations: 0 / 397.8 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3326, allocations: 1.719 kB / 397.8 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.032e-05/0.3326, allocations: 13.03 kB / 397.8 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.3327, allocations: 6.906 kB / 397.8 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.871e-05/0.3327, allocations: 0 / 397.8 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.3327, allocations: 12.06 kB / 397.8 MB, free: 1.434 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.287e-05/0.3328, allocations: 119.5 kB / 397.9 MB, free: 1.309 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.3328, allocations: 7.438 kB / 397.9 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.333, allocations: 106.5 kB / 398 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3331, allocations: 1.938 kB / 398 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3331, allocations: 384 / 398 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3331, allocations: 1.844 kB / 398 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.211e-05/0.3332, allocations: 172.9 kB / 398.2 MB, free: 1.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3332, allocations: 4 kB / 398.2 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.602e-05/0.3332, allocations: 16.8 kB / 398.2 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3333, allocations: 1.844 kB / 398.2 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.3333, allocations: 5.781 kB / 398.2 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3333, allocations: 0 / 398.2 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3333, allocations: 1.844 kB / 398.2 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.3335, allocations: 117.9 kB / 398.3 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.3335, allocations: 91.09 kB / 398.4 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.3335, allocations: 1.594 kB / 398.4 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.3336, allocations: 6.297 kB / 398.4 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.3337, allocations: 3.844 kB / 398.4 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3337, allocations: 5.938 kB / 398.5 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.226e-05/0.3337, allocations: 113.1 kB / 398.6 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3337, allocations: 0 / 398.6 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002998/0.3367, allocations: 0.9365 MB / 399.5 MB, free: 0.5 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.005052/0.3418, allocations: 1.319 MB / 400.8 MB, free: 15.64 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000273/0.3421, allocations: 56.83 kB / 400.9 MB, free: 15.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3421, allocations: 0 / 400.9 MB, free: 15.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.803e-05/0.3422, allocations: 31.92 kB / 400.9 MB, free: 15.56 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.3425, allocations: 23.2 kB / 400.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.343, allocations: 209.2 kB / 401.1 MB, free: 15.3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.3432, allocations: 0.6922 MB / 401.8 MB, free: 14.58 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.3433, allocations: 27.3 kB / 401.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3433, allocations: 0 / 401.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of Templates: time 0.03016/0.3734, allocations: 18.18 MB / 420 MB, free: 12.35 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 -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