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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001215/0.001215, allocations: 90.38 kB / 262.5 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.852e-05/1.856e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1206, allocations: 47.58 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.18/17.3, allocations: 6.611 GB / 6.966 GB, free: 25.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/17.3, allocations: 71.97 kB / 6.966 GB, free: 25.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6354/17.94, allocations: 176.4 MB / 7.138 GB, free: 24.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.422e-06/17.94, allocations: 7.938 kB / 7.138 GB, free: 24.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/17.94, allocations: 0 / 7.138 GB, free: 24.54 MB / 426.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.007039/17.94, allocations: 1.075 MB / 7.139 GB, free: 23.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/17.94, allocations: 8.031 kB / 7.139 GB, free: 23.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.136e-05/17.94, allocations: 4 kB / 7.139 GB, free: 23.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/17.94, allocations: 194.8 kB / 7.139 GB, free: 23.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/17.94, allocations: 8 kB / 7.139 GB, free: 23.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/17.94, allocations: 0 / 7.139 GB, free: 23.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001173/17.94, allocations: 31.92 kB / 7.139 GB, free: 23.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/17.94, allocations: 71.38 kB / 7.139 GB, free: 23.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/17.94, allocations: 3.938 kB / 7.139 GB, free: 23.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/17.94, allocations: 0 / 7.139 GB, free: 23.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/17.94, allocations: 3.984 kB / 7.139 GB, free: 23.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/17.94, allocations: 170.9 kB / 7.14 GB, free: 22.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/17.95, allocations: 93.2 kB / 7.14 GB, free: 22.74 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.222e-05/17.95, allocations: 29.86 kB / 7.14 GB, free: 22.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.739e-05/17.95, allocations: 8 kB / 7.14 GB, free: 22.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/17.95, allocations: 30.56 kB / 7.14 GB, free: 22.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/17.95, allocations: 0 / 7.14 GB, free: 22.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008884/17.95, allocations: 165.4 kB / 7.14 GB, free: 22.49 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/17.95, allocations: 89.11 kB / 7.14 GB, free: 22.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/17.95, allocations: 117.2 kB / 7.14 GB, free: 22.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/17.95, allocations: 25.7 kB / 7.14 GB, free: 22.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.86e-05/17.95, allocations: 84.14 kB / 7.14 GB, free: 22.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/17.95, allocations: 20.11 kB / 7.14 GB, free: 22.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/17.95, allocations: 0 / 7.14 GB, free: 22.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.754e-05/17.95, allocations: 318.8 kB / 7.141 GB, free: 21.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.928e-05/17.95, allocations: 11.98 kB / 7.141 GB, free: 21.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.289e-05/17.95, allocations: 37.64 kB / 7.141 GB, free: 21.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005498/17.95, allocations: 99.88 kB / 7.141 GB, free: 21.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/17.95, allocations: 3.953 kB / 7.141 GB, free: 21.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005781/17.95, allocations: 169.4 kB / 7.141 GB, free: 21.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/17.95, allocations: 4 kB / 7.141 GB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/17.95, allocations: 0 / 7.141 GB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/17.95, allocations: 0 / 7.141 GB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.793e-05/17.95, allocations: 12 kB / 7.141 GB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/17.95, allocations: 3.984 kB / 7.141 GB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/17.95, allocations: 4 kB / 7.141 GB, free: 21.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/17.95, allocations: 4 kB / 7.141 GB, free: 21.45 MB / 426.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 () * 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 6.565e-05/17.95, allocations: 108.9 kB / 7.141 GB, free: 21.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/17.95, allocations: 7.859 kB / 7.141 GB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006597/17.95, allocations: 185.8 kB / 7.141 GB, free: 21.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/17.95, allocations: 4.281 kB / 7.141 GB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/17.95, allocations: 3.938 kB / 7.141 GB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/17.95, allocations: 0 / 7.141 GB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/17.95, allocations: 166.1 kB / 7.141 GB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/17.95, allocations: 0 / 7.141 GB, free: 20.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.228e-05/17.95, allocations: 12 kB / 7.141 GB, free: 20.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/17.95, allocations: 3.953 kB / 7.141 GB, free: 20.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/17.95, allocations: 3.984 kB / 7.141 GB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/17.95, allocations: 0 / 7.141 GB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/17.95, allocations: 4 kB / 7.141 GB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005776/17.95, allocations: 211.6 kB / 7.142 GB, free: 20.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/17.95, allocations: 96.94 kB / 7.142 GB, free: 20.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/17.95, allocations: 0 / 7.142 GB, free: 20.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.588e-05/17.95, allocations: 4 kB / 7.142 GB, free: 20.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/17.95, allocations: 15.92 kB / 7.142 GB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/17.95, allocations: 4 kB / 7.142 GB, free: 20.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.496e-05/17.95, allocations: 103.3 kB / 7.142 GB, free: 20.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/17.95, allocations: 0 / 7.142 GB, free: 20.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005749/17.96, allocations: 0.9717 MB / 7.143 GB, free: 19.45 MB / 426.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 () * 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.009791/17.97, allocations: 1.511 MB / 7.144 GB, free: 18.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001884/17.97, allocations: 39.92 kB / 7.144 GB, free: 17.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/17.97, allocations: 0 / 7.144 GB, free: 17.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.169e-05/17.97, allocations: 23.98 kB / 7.144 GB, free: 17.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/17.97, allocations: 19.94 kB / 7.144 GB, free: 17.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/17.97, allocations: 104 kB / 7.144 GB, free: 17.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/17.97, allocations: 0.6885 MB / 7.145 GB, free: 17.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.871e-05/17.97, allocations: 19.92 kB / 7.145 GB, free: 17.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/17.97, allocations: 15.44 kB / 7.145 GB, free: 17.06 MB / 426.7 MB Notification: Performance of SimCode: time 3.9e-07/17.97, allocations: 0 / 7.145 GB, free: 17.06 MB / 426.7 MB Notification: Performance of Templates: time 0.3131/18.28, allocations: 26.62 MB / 7.171 GB, free: 82.59 MB / 426.7 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","../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