Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3.2.3_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_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.001035/0.001035, allocations: 100.3 kB / 17.58 MB, free: 5.418 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.001294/0.001294, allocations: 192.1 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 51.92 kB / 280.6 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1121, allocations: 46.63 MB / 327.3 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002597/0.1147, allocations: 1.361 MB / 328.6 MB, free: 3.105 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.02776/0.1425, allocations: 23.68 MB / 352.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.1426, allocations: 0 / 352.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.1428, allocations: 15.92 kB / 352.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01448/0.1573, allocations: 5.628 MB / 358 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008387/0.1582, allocations: 342.8 kB / 358.3 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.1583, allocations: 75.64 kB / 358.4 MB, free: 5.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.677e-05/0.1584, allocations: 3.984 kB / 358.4 MB, free: 5.266 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.466e-05/0.1585, allocations: 35.91 kB / 358.4 MB, free: 5.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.1586, allocations: 35.91 kB / 358.4 MB, free: 5.195 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.1586, allocations: 4 kB / 358.4 MB, free: 5.191 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01712/0.1757, allocations: 8.586 MB / 367 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.872e-05/0.1759, allocations: 15.92 kB / 367 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.797e-05/0.1759, allocations: 31.86 kB / 367.1 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01178/0.1877, allocations: 4.34 MB / 371.4 MB, free: 8.199 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.1878, allocations: 0 / 371.4 MB, free: 8.199 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1878, allocations: 0 / 371.4 MB, free: 8.199 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1878, allocations: 0 / 371.4 MB, free: 8.199 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.003037/0.1909, allocations: 0.9085 MB / 372.3 MB, free: 7.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.1909, allocations: 11.97 kB / 372.3 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.561e-05/0.191, allocations: 4.938 kB / 372.3 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.1912, allocations: 203.8 kB / 372.5 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1912, allocations: 4 kB / 372.5 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.1913, allocations: 8 kB / 372.5 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.1915, allocations: 67.33 kB / 372.6 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.1915, allocations: 0 / 372.6 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.1915, allocations: 8 kB / 372.6 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1915, allocations: 0 / 372.6 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.1917, allocations: 35.95 kB / 372.7 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002429/0.1919, allocations: 190.5 kB / 372.8 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.1923, allocations: 101.1 kB / 372.9 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.328e-05/0.1924, allocations: 29.77 kB / 373 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.384e-05/0.1924, allocations: 11.98 kB / 373 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1925, allocations: 38.56 kB / 373 MB, free: 6.406 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1925, allocations: 0 / 373 MB, free: 6.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003188/0.1928, allocations: 101.5 kB / 373.1 MB, free: 6.301 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.1929, allocations: 85.05 kB / 373.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.193, allocations: 133.8 kB / 373.3 MB, free: 6.059 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.193, allocations: 25.7 kB / 373.4 MB, free: 6.027 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.1931, allocations: 92.14 kB / 373.4 MB, free: 5.934 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.1931, allocations: 15.8 kB / 373.5 MB, free: 5.918 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.1932, allocations: 25.62 kB / 373.5 MB, free: 5.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1933, allocations: 314.8 kB / 373.8 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.231e-05/0.1934, allocations: 19.98 kB / 373.8 MB, free: 5.551 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-05/0.1934, allocations: 25.7 kB / 373.8 MB, free: 5.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.1936, allocations: 57.69 kB / 373.9 MB, free: 5.457 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1936, allocations: 0 / 373.9 MB, free: 5.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001869/0.1938, allocations: 81.61 kB / 374 MB, free: 5.371 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1938, allocations: 4 kB / 374 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1938, allocations: 0 / 374 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1938, allocations: 0 / 374 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.553e-05/0.1939, allocations: 15.98 kB / 374 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1939, allocations: 0 / 374 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.194, allocations: 8.25 kB / 374 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.194, allocations: 7.938 kB / 374 MB, free: 5.336 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 8.797e-05/0.1941, allocations: 121.8 kB / 374.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.1941, allocations: 8.375 kB / 374.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002432/0.1944, allocations: 109.4 kB / 374.2 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.1944, allocations: 0 / 374.2 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1944, allocations: 0 / 374.2 MB, free: 5.086 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.1944, allocations: 4 kB / 374.2 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.1946, allocations: 181.7 kB / 374.4 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1946, allocations: 4 kB / 374.4 MB, free: 4.852 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.867e-05/0.1947, allocations: 12 kB / 374.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.1947, allocations: 0 / 374.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.1947, allocations: 0 / 374.4 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1947, allocations: 4 kB / 374.4 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1947, allocations: 0 / 374.4 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.1949, allocations: 121.7 kB / 374.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-05/0.195, allocations: 93 kB / 374.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.195, allocations: 0 / 374.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.1951, allocations: 4 kB / 374.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.1952, allocations: 11.98 kB / 374.7 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.1952, allocations: 0 / 374.7 MB, free: 4.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.126e-05/0.1953, allocations: 107.3 kB / 374.8 MB, free: 4.465 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1953, allocations: 4 kB / 374.8 MB, free: 4.461 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002889/0.1982, allocations: 0.929 MB / 375.7 MB, free: 3.531 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.005012/0.2032, allocations: 1.353 MB / 377.1 MB, free: 2.176 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.2035, allocations: 51.89 kB / 377.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2035, allocations: 0 / 377.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.198e-05/0.2036, allocations: 27.92 kB / 377.1 MB, free: 2.098 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.2039, allocations: 23.92 kB / 377.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005269/0.2044, allocations: 172.5 kB / 377.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.2047, allocations: 0.6807 MB / 378 MB, free: 1.168 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.927e-05/0.2048, allocations: 23.75 kB / 378 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.2048, allocations: 19.44 kB / 378.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2048, allocations: 0 / 378.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of Templates: time 0.1739/0.3787, allocations: 28.58 MB / 406.6 MB, free: 36.39 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches