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.001193/0.001193, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 55.06 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09227/0.09343, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002823/0.09629, allocations: 1.38 MB / 360.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1956/0.2919, allocations: 23.59 MB / 383.9 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.292, allocations: 1.125 kB / 383.9 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.2922, allocations: 14.47 kB / 383.9 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01737/0.3095, allocations: 5.994 MB / 389.9 MB, free: 6.062 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008327/0.3104, allocations: 339.7 kB / 390.2 MB, free: 5.828 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.3105, allocations: 80.09 kB / 390.3 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.3106, allocations: 2.875 kB / 390.3 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.211e-05/0.3106, allocations: 35.38 kB / 390.3 MB, free: 5.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.28e-05/0.3107, allocations: 38.88 kB / 390.4 MB, free: 5.742 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.3107, allocations: 2.281 kB / 390.4 MB, free: 5.742 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01543/0.3262, allocations: 8.886 MB / 399.2 MB, free: 1.043 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.04e-05/0.3262, allocations: 16.17 kB / 399.3 MB, free: 1.031 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.944e-05/0.3263, allocations: 24.23 kB / 399.3 MB, free: 1.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01138/0.3377, allocations: 4.384 MB / 403.7 MB, free: 14.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3377, allocations: 1.312 kB / 403.7 MB, free: 14.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3377, allocations: 4 kB / 403.7 MB, free: 14.37 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.3378, allocations: 0 / 403.7 MB, free: 14.37 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.001998/0.3398, allocations: 0.9208 MB / 404.6 MB, free: 13.4 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.3398, allocations: 12.02 kB / 404.6 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.451e-05/0.3399, allocations: 4.938 kB / 404.6 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.3401, allocations: 200.1 kB / 404.8 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.3401, allocations: 4.812 kB / 404.8 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.3401, allocations: 4 kB / 404.8 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.3403, allocations: 75.38 kB / 404.9 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.3403, allocations: 0 / 404.9 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3403, allocations: 4 kB / 404.9 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3403, allocations: 0 / 404.9 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.3404, allocations: 37 kB / 404.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.3406, allocations: 189.5 kB / 405.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.3409, allocations: 105.2 kB / 405.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.956e-05/0.341, allocations: 29.7 kB / 405.2 MB, free: 12.63 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.698e-05/0.3411, allocations: 8 kB / 405.3 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.3411, allocations: 34.56 kB / 405.3 MB, free: 12.58 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3411, allocations: 4 kB / 405.3 MB, free: 12.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002954/0.3414, allocations: 100.4 kB / 405.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.3415, allocations: 85.09 kB / 405.5 MB, free: 12.37 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.3416, allocations: 137.8 kB / 405.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.3416, allocations: 25.7 kB / 405.6 MB, free: 12.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.3416, allocations: 88.14 kB / 405.7 MB, free: 12.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.3417, allocations: 15.66 kB / 405.7 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.3417, allocations: 25.7 kB / 405.8 MB, free: 12.06 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.944e-05/0.3418, allocations: 322.8 kB / 406.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.138e-05/0.3419, allocations: 15.98 kB / 406.1 MB, free: 11.72 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-05/0.342, allocations: 33.64 kB / 406.1 MB, free: 11.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.3421, allocations: 49.7 kB / 406.2 MB, free: 11.62 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3421, allocations: 0 / 406.2 MB, free: 11.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001723/0.3423, allocations: 85.59 kB / 406.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3423, allocations: 4 kB / 406.3 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3423, allocations: 0 / 406.3 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3423, allocations: 0 / 406.3 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.3424, allocations: 19.94 kB / 406.3 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3424, allocations: 1.094 kB / 406.3 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.078e-05/0.3425, allocations: 4.359 kB / 406.3 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.3425, allocations: 4 kB / 406.3 MB, free: 11.5 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.541e-05/0.3426, allocations: 121.7 kB / 406.4 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.3426, allocations: 11.91 kB / 406.4 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.3428, allocations: 105.9 kB / 406.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3429, allocations: 0 / 406.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3429, allocations: 0 / 406.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.3429, allocations: 4 kB / 406.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.343, allocations: 181.5 kB / 406.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.343, allocations: 4 kB / 406.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.259e-05/0.3431, allocations: 19.05 kB / 406.7 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3431, allocations: 0 / 406.7 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.3431, allocations: 4 kB / 406.7 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3431, allocations: 4 kB / 406.7 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3431, allocations: 0 / 406.7 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.3433, allocations: 113.8 kB / 406.8 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.3434, allocations: 89 kB / 406.9 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.3434, allocations: 4 kB / 406.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.396e-05/0.3435, allocations: 11.98 kB / 406.9 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.3436, allocations: 4 kB / 406.9 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.3436, allocations: 0 / 406.9 MB, free: 10.74 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.745e-05/0.3437, allocations: 115.2 kB / 407.1 MB, free: 10.62 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3437, allocations: 4 kB / 407.1 MB, free: 10.62 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002805/0.3465, allocations: 0.9369 MB / 408 MB, free: 9.684 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.00421/0.3507, allocations: 1.34 MB / 409.3 MB, free: 8.344 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.351, allocations: 51.91 kB / 409.4 MB, free: 8.293 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.351, allocations: 3.938 kB / 409.4 MB, free: 8.289 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.917e-05/0.351, allocations: 20.17 kB / 409.4 MB, free: 8.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.3513, allocations: 22.77 kB / 409.4 MB, free: 8.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.3517, allocations: 187 kB / 409.6 MB, free: 8.039 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.352, allocations: 0.6894 MB / 410.3 MB, free: 7.324 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.293e-05/0.3521, allocations: 19.95 kB / 410.3 MB, free: 7.305 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.3521, allocations: 19.44 kB / 410.3 MB, free: 7.285 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3521, allocations: 0 / 410.3 MB, free: 7.285 MB / 318.1 MB Notification: Performance of Templates: time 0.035/0.3871, allocations: 27.25 MB / 437.6 MB, free: 12 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 gbode -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