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: translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001148/0.001148, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 62.58 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09302/0.09419, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002624/0.09685, allocations: 1.373 MB / 360.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1746/0.2714, allocations: 23.59 MB / 383.9 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.777e-05/0.2715, allocations: 0 / 383.9 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.2717, allocations: 11.48 kB / 383.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01439/0.2861, allocations: 5.997 MB / 389.9 MB, free: 5.852 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006875/0.2868, allocations: 339.8 kB / 390.2 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.2869, allocations: 83.06 kB / 390.3 MB, free: 5.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.2869, allocations: 2.719 kB / 390.3 MB, free: 5.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.564e-05/0.287, allocations: 31.84 kB / 390.3 MB, free: 5.555 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.602e-05/0.2871, allocations: 38.48 kB / 390.4 MB, free: 5.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.2871, allocations: 3.531 kB / 390.4 MB, free: 5.531 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01443/0.3015, allocations: 8.891 MB / 399.2 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.042e-05/0.3016, allocations: 15.84 kB / 399.3 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.3016, allocations: 26.58 kB / 399.3 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.3118, allocations: 4.382 MB / 403.7 MB, free: 14.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3119, allocations: 0 / 403.7 MB, free: 14.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3119, allocations: 4 kB / 403.7 MB, free: 14.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.3119, allocations: 0 / 403.7 MB, free: 14.16 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.002268/0.3142, allocations: 0.9197 MB / 404.6 MB, free: 13.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3142, allocations: 8.031 kB / 404.6 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.3143, allocations: 8.875 kB / 404.6 MB, free: 13.24 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.3145, allocations: 196.2 kB / 404.8 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.3145, allocations: 7.938 kB / 404.8 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.3145, allocations: 3.984 kB / 404.8 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.3147, allocations: 75.39 kB / 404.9 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.3147, allocations: 0 / 404.9 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3147, allocations: 0 / 404.9 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3147, allocations: 3.938 kB / 404.9 MB, free: 12.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.3148, allocations: 39.91 kB / 404.9 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.315, allocations: 190.5 kB / 405.1 MB, free: 12.63 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.3153, allocations: 93.17 kB / 405.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.589e-05/0.3154, allocations: 29.77 kB / 405.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.149e-05/0.3155, allocations: 15.94 kB / 405.2 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.3155, allocations: 39.42 kB / 405.3 MB, free: 12.42 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3155, allocations: 4 kB / 405.3 MB, free: 12.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002929/0.3158, allocations: 101.5 kB / 405.4 MB, free: 12.31 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.3159, allocations: 77.11 kB / 405.5 MB, free: 12.22 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.316, allocations: 133.8 kB / 405.6 MB, free: 12.08 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.316, allocations: 33.7 kB / 405.6 MB, free: 12.04 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.3161, allocations: 80.14 kB / 405.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.3161, allocations: 27.64 kB / 405.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.3161, allocations: 21.72 kB / 405.8 MB, free: 11.9 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3162, allocations: 318.8 kB / 406.1 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.739e-05/0.3163, allocations: 15.98 kB / 406.1 MB, free: 11.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.971e-05/0.3164, allocations: 33.7 kB / 406.1 MB, free: 11.53 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.3165, allocations: 56.39 kB / 406.2 MB, free: 11.47 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3165, allocations: 1.25 kB / 406.2 MB, free: 11.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000174/0.3167, allocations: 77.67 kB / 406.2 MB, free: 11.39 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3167, allocations: 4 kB / 406.3 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.3167, allocations: 7.938 kB / 406.3 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3168, allocations: 0 / 406.3 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.3168, allocations: 11.98 kB / 406.3 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3168, allocations: 0 / 406.3 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.3169, allocations: 8 kB / 406.3 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.3169, allocations: 0 / 406.3 MB, free: 11.36 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.215e-05/0.317, allocations: 121.7 kB / 406.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.317, allocations: 11.91 kB / 406.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.3173, allocations: 97.48 kB / 406.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3173, allocations: 4 kB / 406.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3173, allocations: 0.5 kB / 406.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3173, allocations: 4 kB / 406.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.3175, allocations: 185.5 kB / 406.7 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3175, allocations: 0 / 406.7 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.819e-05/0.3175, allocations: 11.94 kB / 406.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3175, allocations: 0 / 406.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.3176, allocations: 8.797 kB / 406.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3176, allocations: 0 / 406.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3176, allocations: 3.938 kB / 406.7 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.3178, allocations: 113.8 kB / 406.8 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.615e-05/0.3179, allocations: 89 kB / 406.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.3179, allocations: 3.984 kB / 406.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.318, allocations: 12 kB / 406.9 MB, free: 10.6 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.318, allocations: 4 kB / 406.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.318, allocations: 9.062 kB / 406.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.562e-05/0.3181, allocations: 107.3 kB / 407 MB, free: 10.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3181, allocations: 0 / 407 MB, free: 10.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002283/0.3204, allocations: 0.9408 MB / 408 MB, free: 9.539 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.003859/0.3243, allocations: 1.346 MB / 409.3 MB, free: 8.195 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.3245, allocations: 47.91 kB / 409.4 MB, free: 8.148 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3245, allocations: 0 / 409.4 MB, free: 8.148 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.342e-05/0.3246, allocations: 32.2 kB / 409.4 MB, free: 8.117 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.3248, allocations: 26.31 kB / 409.4 MB, free: 8.094 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.3252, allocations: 179.1 kB / 409.6 MB, free: 7.891 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.3255, allocations: 0.6971 MB / 410.3 MB, free: 7.168 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.645e-05/0.3255, allocations: 4 kB / 410.3 MB, free: 7.164 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.3256, allocations: 19.44 kB / 410.3 MB, free: 7.145 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3256, allocations: 0 / 410.3 MB, free: 7.145 MB / 318.1 MB Notification: Performance of Templates: time 0.03562/0.3612, allocations: 27.24 MB / 437.6 MB, free: 11.87 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (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 & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches