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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001205/0.001205, allocations: 194.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.585/1.585, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 95.95 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.614e-05/1.586e-05, allocations: 0 / 343.7 MB, free: 8.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1357, allocations: 51.49 MB / 395.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.5/17.64, allocations: 6.137 GB / 6.523 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/17.64, allocations: 76.98 kB / 6.523 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7422/18.38, allocations: 189 MB / 6.708 GB, free: 60.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.523e-06/18.38, allocations: 0 / 6.708 GB, free: 60.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/18.38, allocations: 0 / 6.708 GB, free: 60.43 MB / 442.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.005306/18.38, allocations: 1.098 MB / 6.709 GB, free: 59.69 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/18.38, allocations: 7.906 kB / 6.709 GB, free: 59.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/18.38, allocations: 8.312 kB / 6.709 GB, free: 59.69 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/18.38, allocations: 189.5 kB / 6.709 GB, free: 59.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/18.38, allocations: 7.656 kB / 6.709 GB, free: 59.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/18.38, allocations: 0 / 6.709 GB, free: 59.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.335e-05/18.38, allocations: 30.67 kB / 6.709 GB, free: 59.47 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/18.38, allocations: 67.7 kB / 6.709 GB, free: 59.42 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/18.38, allocations: 6.062 kB / 6.709 GB, free: 59.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/18.38, allocations: 0 / 6.709 GB, free: 59.42 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/18.38, allocations: 0 / 6.709 GB, free: 59.42 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/18.38, allocations: 167.4 kB / 6.709 GB, free: 59.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/18.38, allocations: 98.03 kB / 6.709 GB, free: 59.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/18.39, allocations: 28.95 kB / 6.71 GB, free: 59.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.882e-05/18.39, allocations: 11.19 kB / 6.71 GB, free: 59.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/18.39, allocations: 30.56 kB / 6.71 GB, free: 59.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/18.39, allocations: 7.812 kB / 6.71 GB, free: 59.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007382/18.39, allocations: 163.4 kB / 6.71 GB, free: 59.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/18.39, allocations: 77.11 kB / 6.71 GB, free: 58.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.596e-05/18.39, allocations: 127.8 kB / 6.71 GB, free: 58.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/18.39, allocations: 29.48 kB / 6.71 GB, free: 58.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.469e-05/18.39, allocations: 84.14 kB / 6.71 GB, free: 58.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/18.39, allocations: 18.89 kB / 6.71 GB, free: 58.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/18.39, allocations: 0 / 6.71 GB, free: 58.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.804e-05/18.39, allocations: 318.8 kB / 6.71 GB, free: 58.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.763e-05/18.39, allocations: 14.33 kB / 6.71 GB, free: 58.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.94e-05/18.39, allocations: 28.73 kB / 6.71 GB, free: 58.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004698/18.39, allocations: 99.09 kB / 6.71 GB, free: 58.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/18.39, allocations: 3.953 kB / 6.71 GB, free: 58.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005287/18.39, allocations: 166.8 kB / 6.711 GB, free: 58.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/18.39, allocations: 7.688 kB / 6.711 GB, free: 58.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/18.39, allocations: 3.828 kB / 6.711 GB, free: 58.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/18.39, allocations: 4 kB / 6.711 GB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/18.39, allocations: 14.59 kB / 6.711 GB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/18.39, allocations: 0 / 6.711 GB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.904e-05/18.39, allocations: 0 / 6.711 GB, free: 58.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/18.39, allocations: 7.641 kB / 6.711 GB, free: 58.34 MB / 442.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 4.777e-05/18.39, allocations: 103.9 kB / 6.711 GB, free: 58.24 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/18.39, allocations: 11.67 kB / 6.711 GB, free: 58.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000597/18.39, allocations: 186.3 kB / 6.711 GB, free: 58.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/18.39, allocations: 0 / 6.711 GB, free: 58.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/18.39, allocations: 4 kB / 6.711 GB, free: 58.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-05/18.39, allocations: 6.734 kB / 6.711 GB, free: 58.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.884e-05/18.39, allocations: 154.4 kB / 6.711 GB, free: 58.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/18.39, allocations: 2.625 kB / 6.711 GB, free: 58.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.925e-05/18.39, allocations: 15.23 kB / 6.711 GB, free: 58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/18.39, allocations: 7.859 kB / 6.711 GB, free: 58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/18.39, allocations: 0 / 6.711 GB, free: 58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/18.39, allocations: 0 / 6.711 GB, free: 58 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/18.39, allocations: 3.844 kB / 6.711 GB, free: 58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005433/18.39, allocations: 201.7 kB / 6.711 GB, free: 57.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/18.39, allocations: 104.2 kB / 6.711 GB, free: 57.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/18.39, allocations: 0 / 6.711 GB, free: 57.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/18.39, allocations: 3.875 kB / 6.711 GB, free: 57.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/18.39, allocations: 6.578 kB / 6.711 GB, free: 57.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/18.39, allocations: 11.78 kB / 6.711 GB, free: 57.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.816e-05/18.39, allocations: 106.7 kB / 6.712 GB, free: 57.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/18.39, allocations: 0 / 6.712 GB, free: 57.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004542/18.39, allocations: 0.9934 MB / 6.713 GB, free: 57.46 MB / 442.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.006486/18.4, allocations: 1.508 MB / 6.714 GB, free: 57.06 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001427/18.4, allocations: 41.59 kB / 6.714 GB, free: 57.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/18.4, allocations: 7.844 kB / 6.714 GB, free: 57.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.643e-05/18.4, allocations: 23.23 kB / 6.714 GB, free: 57.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/18.4, allocations: 14.25 kB / 6.714 GB, free: 57.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/18.4, allocations: 106.8 kB / 6.714 GB, free: 56.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/18.4, allocations: 0.6865 MB / 6.715 GB, free: 56.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.82e-05/18.4, allocations: 14.25 kB / 6.715 GB, free: 56.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/18.4, allocations: 18.25 kB / 6.715 GB, free: 56.26 MB / 442.7 MB Notification: Performance of SimCode: time 1.482e-06/18.4, allocations: 0 / 6.715 GB, free: 56.26 MB / 442.7 MB Notification: Performance of Templates: time 0.0338/18.44, allocations: 25.25 MB / 6.74 GB, free: 46.34 MB / 442.7 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","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches