Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002165/0.002165, allocations: 199.2 kB / 18.06 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.675/2.675, allocations: 226.5 MB / 245.3 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001104/0.001103, allocations: 99.73 kB / 297.4 MB, free: 6.699 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003339, allocations: 4 kB / 357.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5074/0.5078, allocations: 51.3 MB / 408.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 28.78/29.29, allocations: 6.138 GB / 6.538 GB, free: 142.4 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004432/29.29, allocations: 78.41 kB / 6.538 GB, free: 142.4 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.41/30.7, allocations: 189.8 MB / 6.723 GB, free: 93.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.799e-06/30.7, allocations: 0 / 6.723 GB, free: 93.09 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/30.7, allocations: 3.969 kB / 6.723 GB, free: 93.09 MB / 458.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.009005/30.71, allocations: 1.116 MB / 6.724 GB, free: 92.52 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.433e-05/30.71, allocations: 7.281 kB / 6.724 GB, free: 92.52 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.357e-05/30.71, allocations: 5.234 kB / 6.724 GB, free: 92.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/30.71, allocations: 202.8 kB / 6.724 GB, free: 92.32 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/30.71, allocations: 3.312 kB / 6.724 GB, free: 92.32 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/30.71, allocations: 4.312 kB / 6.724 GB, free: 92.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/30.71, allocations: 71.91 kB / 6.724 GB, free: 92.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/30.71, allocations: 4.094 kB / 6.724 GB, free: 92.27 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/30.71, allocations: 3.938 kB / 6.724 GB, free: 92.27 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/30.71, allocations: 4.562 kB / 6.724 GB, free: 92.27 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/30.71, allocations: 33.94 kB / 6.724 GB, free: 92.27 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/30.71, allocations: 187.1 kB / 6.725 GB, free: 92.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004768/30.71, allocations: 104.6 kB / 6.725 GB, free: 92.03 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/30.71, allocations: 26.78 kB / 6.725 GB, free: 92.01 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-05/30.71, allocations: 13.95 kB / 6.725 GB, free: 92.01 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/30.71, allocations: 42.81 kB / 6.725 GB, free: 91.97 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 2.474e-06/30.71, allocations: 0 / 6.725 GB, free: 91.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004896/30.71, allocations: 108.3 kB / 6.725 GB, free: 91.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/30.71, allocations: 84.3 kB / 6.725 GB, free: 91.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/30.71, allocations: 131.1 kB / 6.725 GB, free: 91.74 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/30.71, allocations: 29.3 kB / 6.725 GB, free: 91.71 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/30.71, allocations: 91.31 kB / 6.725 GB, free: 91.63 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/30.71, allocations: 18.3 kB / 6.725 GB, free: 91.62 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-06/30.71, allocations: 3.875 kB / 6.725 GB, free: 91.62 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.553e-05/30.71, allocations: 314.6 kB / 6.726 GB, free: 91.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/30.71, allocations: 20.45 kB / 6.726 GB, free: 91.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/30.71, allocations: 27.91 kB / 6.726 GB, free: 91.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/30.71, allocations: 55.39 kB / 6.726 GB, free: 91.27 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/30.71, allocations: 2.062 kB / 6.726 GB, free: 91.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003298/30.71, allocations: 79.39 kB / 6.726 GB, free: 91.24 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/30.71, allocations: 7.688 kB / 6.726 GB, free: 91.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/30.71, allocations: 3.781 kB / 6.726 GB, free: 91.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/30.71, allocations: 7.109 kB / 6.726 GB, free: 91.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/30.71, allocations: 12.78 kB / 6.726 GB, free: 91.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/30.71, allocations: 0 / 6.726 GB, free: 91.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/30.71, allocations: 7.406 kB / 6.726 GB, free: 91.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/30.71, allocations: 7.078 kB / 6.726 GB, free: 91.23 MB / 458.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001075/30.71, allocations: 112.8 kB / 6.726 GB, free: 91.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/30.71, allocations: 6.5 kB / 6.726 GB, free: 91.12 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000472/30.71, allocations: 113 kB / 6.726 GB, free: 91.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/30.71, allocations: 3.844 kB / 6.726 GB, free: 91.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/30.71, allocations: 3.938 kB / 6.726 GB, free: 91.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/30.71, allocations: 0 / 6.726 GB, free: 91.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/30.71, allocations: 179.6 kB / 6.726 GB, free: 90.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/30.71, allocations: 0 / 6.726 GB, free: 90.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.136e-05/30.71, allocations: 11.66 kB / 6.726 GB, free: 90.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/30.71, allocations: 5.312 kB / 6.726 GB, free: 90.88 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/30.71, allocations: 6.594 kB / 6.726 GB, free: 90.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/30.71, allocations: 1.125 kB / 6.726 GB, free: 90.88 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/30.71, allocations: 3.688 kB / 6.726 GB, free: 90.88 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/30.71, allocations: 113 kB / 6.726 GB, free: 90.81 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/30.71, allocations: 102.1 kB / 6.726 GB, free: 90.71 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/30.71, allocations: 5.312 kB / 6.726 GB, free: 90.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/30.71, allocations: 4.562 kB / 6.726 GB, free: 90.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/30.71, allocations: 12.91 kB / 6.726 GB, free: 90.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/30.71, allocations: 7.438 kB / 6.726 GB, free: 90.71 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001077/30.71, allocations: 106.2 kB / 6.726 GB, free: 90.63 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.1e-07/30.71, allocations: 0 / 6.726 GB, free: 90.63 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008159/30.72, allocations: 1.007 MB / 6.727 GB, free: 90.51 MB / 458.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 () * 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 (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.01472/30.73, allocations: 1.481 MB / 6.729 GB, free: 90.29 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004458/30.74, allocations: 41.03 kB / 6.729 GB, free: 90.29 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/30.74, allocations: 3.938 kB / 6.729 GB, free: 90.29 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/30.74, allocations: 26.84 kB / 6.729 GB, free: 90.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/30.74, allocations: 19.94 kB / 6.729 GB, free: 90.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007271/30.74, allocations: 233 kB / 6.729 GB, free: 90.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/30.74, allocations: 0.696 MB / 6.73 GB, free: 89.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/30.74, allocations: 16.7 kB / 6.73 GB, free: 89.41 MB / 458.7 MB Notification: Performance of SimCode: time 7.12e-07/30.74, allocations: 0 / 6.73 GB, free: 89.41 MB / 458.7 MB Notification: Performance of Templates: time 0.06468/30.8, allocations: 18.95 MB / 6.748 GB, free: 89.18 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches