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.000923/0.000923, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002138/0.0002138, allocations: 11.98 kB / 307.7 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08474/0.08497, allocations: 51.51 MB / 359.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001235/0.08624, allocations: 1.1 MB / 360.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1918/0.2781, allocations: 25.03 MB / 385.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.911e-05/0.2781, allocations: 3.938 kB / 385.4 MB, free: 8.496 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.2783, allocations: 6.719 kB / 385.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01533/0.2936, allocations: 4.928 MB / 390.3 MB, free: 6.277 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.2947, allocations: 318.1 kB / 390.6 MB, free: 6.125 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.2949, allocations: 102.1 kB / 390.7 MB, free: 6.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.372e-05/0.2949, allocations: 2.188 kB / 390.7 MB, free: 6.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.783e-05/0.295, allocations: 31.95 kB / 390.7 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.2952, allocations: 39.56 kB / 390.8 MB, free: 6.062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.2952, allocations: 2.531 kB / 390.8 MB, free: 6.062 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01621/0.3114, allocations: 8.93 MB / 399.7 MB, free: 1.395 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.3115, allocations: 20.56 kB / 399.7 MB, free: 1.379 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.149e-05/0.3115, allocations: 43.3 kB / 399.8 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00857/0.3201, allocations: 4.441 MB / 404.2 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3201, allocations: 4 kB / 404.2 MB, free: 14.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.3201, allocations: 3.984 kB / 404.2 MB, free: 14.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.3202, allocations: 0 / 404.2 MB, free: 14.41 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.001924/0.3221, allocations: 0.902 MB / 405.1 MB, free: 13.46 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.3221, allocations: 8.031 kB / 405.1 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.3222, allocations: 16.83 kB / 405.2 MB, free: 13.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.3223, allocations: 192.2 kB / 405.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.3223, allocations: 3.938 kB / 405.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.3223, allocations: 4 kB / 405.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.3225, allocations: 73.69 kB / 405.4 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.258e-06/0.3225, allocations: 4 kB / 405.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.3225, allocations: 0 / 405.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3225, allocations: 4 kB / 405.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.3226, allocations: 31.92 kB / 405.5 MB, free: 13.08 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.3228, allocations: 194.4 kB / 405.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.3231, allocations: 97.17 kB / 405.7 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.878e-05/0.3232, allocations: 29.77 kB / 405.8 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.353e-05/0.3232, allocations: 19.92 kB / 405.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.3233, allocations: 30.56 kB / 405.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3233, allocations: 4 kB / 405.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002832/0.3235, allocations: 97.97 kB / 405.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.3236, allocations: 85.09 kB / 406 MB, free: 12.42 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3237, allocations: 141.8 kB / 406.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.3237, allocations: 25.7 kB / 406.2 MB, free: 12.24 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.3238, allocations: 84.14 kB / 406.2 MB, free: 12.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.3238, allocations: 19.66 kB / 406.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.3238, allocations: 17.7 kB / 406.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.626e-05/0.3239, allocations: 318.8 kB / 406.6 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.04e-05/0.324, allocations: 23.98 kB / 406.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.796e-05/0.3241, allocations: 25.7 kB / 406.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.3242, allocations: 57.62 kB / 406.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3242, allocations: 0 / 406.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001718/0.3244, allocations: 85.56 kB / 406.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3244, allocations: 4 kB / 406.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3244, allocations: 7.938 kB / 406.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.3244, allocations: 0 / 406.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.3245, allocations: 12 kB / 406.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.3245, allocations: 3.938 kB / 406.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.858e-05/0.3246, allocations: 0 / 406.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.3246, allocations: 4 kB / 406.8 MB, free: 11.55 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 7.477e-05/0.3247, allocations: 125.7 kB / 406.9 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.3247, allocations: 4 kB / 406.9 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.3249, allocations: 105.4 kB / 407 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3249, allocations: 0 / 407 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3249, allocations: 4.859 kB / 407 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3249, allocations: 4 kB / 407.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.3251, allocations: 173.6 kB / 407.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3251, allocations: 4 kB / 407.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-05/0.3252, allocations: 11.98 kB / 407.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3252, allocations: 0 / 407.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3252, allocations: 128 / 407.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.3252, allocations: 8 kB / 407.2 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3252, allocations: 7.938 kB / 407.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.3254, allocations: 109.9 kB / 407.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-05/0.3255, allocations: 96.92 kB / 407.5 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.3255, allocations: 4.375 kB / 407.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.3256, allocations: 4 kB / 407.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.3256, allocations: 7.984 kB / 407.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.3256, allocations: 4.188 kB / 407.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.277e-05/0.3257, allocations: 115.2 kB / 407.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3257, allocations: 0 / 407.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002216/0.328, allocations: 0.9447 MB / 408.5 MB, free: 9.73 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.003768/0.3317, allocations: 1.342 MB / 409.9 MB, free: 8.391 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.3319, allocations: 51.91 kB / 409.9 MB, free: 8.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3319, allocations: 0 / 409.9 MB, free: 8.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.05e-05/0.332, allocations: 27.92 kB / 410 MB, free: 8.312 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.3323, allocations: 12 kB / 410 MB, free: 8.301 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.3326, allocations: 209.4 kB / 410.2 MB, free: 8.066 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.3329, allocations: 0.6897 MB / 410.9 MB, free: 7.352 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.43e-05/0.3329, allocations: 19.91 kB / 410.9 MB, free: 7.332 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.333, allocations: 15.44 kB / 410.9 MB, free: 7.316 MB / 318.1 MB Notification: Performance of SimCode: time 1.473e-06/0.333, allocations: 4 kB / 410.9 MB, free: 7.312 MB / 318.1 MB Notification: Performance of Templates: time 0.03507/0.368, allocations: 27.18 MB / 438.1 MB, free: 12.1 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 -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/jenkins/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/jenkins/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