Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009018/0.000902, allocations: 175.2 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.4 MB / 222.9 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007242/0.000724, allocations: 94.39 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000504/0.0005041, allocations: 11.98 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3119, allocations: 47.57 MB / 375.1 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.00183/0.3138, allocations: 1.075 MB / 376.2 MB, free: 44.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03764/0.3515, allocations: 22.19 MB / 398.3 MB, free: 25.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.3517, allocations: 4 kB / 398.3 MB, free: 25.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.3519, allocations: 0 / 398.3 MB, free: 25.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01901/0.3709, allocations: 4.377 MB / 402.7 MB, free: 21.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.3721, allocations: 306.9 kB / 403 MB, free: 20.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.3723, allocations: 83.62 kB / 403.1 MB, free: 20.63 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.973e-05/0.3723, allocations: 7.984 kB / 403.1 MB, free: 20.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.578e-05/0.3724, allocations: 31.91 kB / 403.1 MB, free: 20.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.3726, allocations: 39.89 kB / 403.2 MB, free: 20.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.3726, allocations: 8 kB / 403.2 MB, free: 20.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02274/0.3954, allocations: 8.496 MB / 411.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.79e-05/0.3955, allocations: 19.91 kB / 411.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.505e-05/0.3956, allocations: 49.62 kB / 411.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007856/0.4035, allocations: 2.924 MB / 414.7 MB, free: 9.031 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.4035, allocations: 0 / 414.7 MB, free: 9.031 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.247e-06/0.4035, allocations: 0 / 414.7 MB, free: 9.031 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.4036, allocations: 0 / 414.7 MB, free: 9.031 MB / 298.7 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.002966/0.4065, allocations: 0.889 MB / 415.6 MB, free: 8.094 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.4066, allocations: 8.031 kB / 415.6 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.4067, allocations: 16.78 kB / 415.6 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.4069, allocations: 191.9 kB / 415.8 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.4069, allocations: 4 kB / 415.8 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.4069, allocations: 0 / 415.8 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.4072, allocations: 71.39 kB / 415.9 MB, free: 7.758 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4072, allocations: 3.938 kB / 415.9 MB, free: 7.754 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.4072, allocations: 0 / 415.9 MB, free: 7.754 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.4072, allocations: 0 / 415.9 MB, free: 7.754 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.4074, allocations: 47.84 kB / 415.9 MB, free: 7.707 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002246/0.4077, allocations: 194.4 kB / 416.1 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.4081, allocations: 93.12 kB / 416.2 MB, free: 7.355 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.4082, allocations: 33.77 kB / 416.2 MB, free: 7.316 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.717e-05/0.4083, allocations: 11.98 kB / 416.2 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.4083, allocations: 38.56 kB / 416.3 MB, free: 7.258 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.774e-06/0.4083, allocations: 0 / 416.3 MB, free: 7.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.000402/0.4087, allocations: 97.86 kB / 416.4 MB, free: 7.156 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.4088, allocations: 81.11 kB / 416.4 MB, free: 7.059 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.4089, allocations: 141.8 kB / 416.6 MB, free: 6.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.4089, allocations: 25.7 kB / 416.6 MB, free: 6.879 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.409, allocations: 84.14 kB / 416.7 MB, free: 6.793 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.409, allocations: 31.62 kB / 416.7 MB, free: 6.762 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.409, allocations: 0 / 416.7 MB, free: 6.762 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.374e-05/0.4091, allocations: 318.8 kB / 417 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.331e-05/0.4092, allocations: 19.98 kB / 417 MB, free: 6.422 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.531e-05/0.4093, allocations: 29.64 kB / 417.1 MB, free: 6.387 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.4095, allocations: 57.69 kB / 417.1 MB, free: 6.324 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4096, allocations: 0 / 417.1 MB, free: 6.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002813/0.4098, allocations: 77.61 kB / 417.2 MB, free: 6.242 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.4099, allocations: 8 kB / 417.2 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4099, allocations: 0 / 417.2 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4099, allocations: 0 / 417.2 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.41, allocations: 8 kB / 417.2 MB, free: 6.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.4101, allocations: 3.984 kB / 417.2 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.323e-05/0.4102, allocations: 11.91 kB / 417.2 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.4102, allocations: 0 / 417.2 MB, free: 6.211 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.141e-05/0.4103, allocations: 117.8 kB / 417.4 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.4103, allocations: 4 kB / 417.4 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.4107, allocations: 109.7 kB / 417.5 MB, free: 5.969 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4107, allocations: 4 kB / 417.5 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.4107, allocations: 0 / 417.5 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4107, allocations: 0 / 417.5 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.4109, allocations: 185.5 kB / 417.7 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4109, allocations: 0 / 417.7 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.505e-05/0.411, allocations: 19.86 kB / 417.7 MB, free: 5.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.411, allocations: 4 kB / 417.7 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.411, allocations: 0 / 417.7 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.4111, allocations: 0 / 417.7 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4111, allocations: 0 / 417.7 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.4114, allocations: 113.9 kB / 417.8 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.994e-05/0.4114, allocations: 93.27 kB / 417.9 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.4115, allocations: 8 kB / 417.9 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.4116, allocations: 0 / 417.9 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/0.4117, allocations: 15.91 kB / 417.9 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.4117, allocations: 4 kB / 417.9 MB, free: 5.441 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.03e-05/0.4118, allocations: 111.2 kB / 418 MB, free: 5.332 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4118, allocations: 0 / 418 MB, free: 5.332 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.004039/0.4159, allocations: 0.9251 MB / 418.9 MB, free: 4.406 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008488/0.4244, allocations: 1.333 MB / 420.3 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003684/0.4248, allocations: 51.91 kB / 420.3 MB, free: 3.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.4248, allocations: 0 / 420.3 MB, free: 3.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.425, allocations: 27.92 kB / 420.3 MB, free: 2.992 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.4254, allocations: 19.98 kB / 420.4 MB, free: 2.973 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006315/0.426, allocations: 237 kB / 420.6 MB, free: 2.707 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.4262, allocations: 0.6896 MB / 421.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.4263, allocations: 19.42 kB / 421.3 MB, free: 1.973 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.4263, allocations: 0 / 421.3 MB, free: 1.973 MB / 298.7 MB Notification: Performance of Templates: time 0.03586/0.4622, allocations: 19.4 MB / 440.7 MB, free: 14.55 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches