Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00173/0.001729, allocations: 183.8 kB / 18.04 MB, free: 3.781 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.4 MB / 224.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009129/0.0009129, allocations: 86.36 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003841, allocations: 12 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2641, allocations: 47.58 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.161/1.425, allocations: 0.5936 GB / 0.9618 GB, free: 18.37 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/1.425, allocations: 79.91 kB / 0.9619 GB, free: 18.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3183/1.743, allocations: 41.66 MB / 1.003 GB, free: 146.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.156e-06/1.744, allocations: 0 / 1.003 GB, free: 146.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/1.744, allocations: 0 / 1.003 GB, free: 146.9 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.0008043/1.744, allocations: 459.9 kB / 1.003 GB, free: 146.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/1.744, allocations: 15.59 kB / 1.003 GB, free: 146.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/1.745, allocations: 98.36 kB / 1.003 GB, free: 146.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/1.746, allocations: 222 kB / 1.003 GB, free: 146.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/1.746, allocations: 8.203 kB / 1.003 GB, free: 146.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/1.746, allocations: 384 / 1.003 GB, free: 146.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/1.746, allocations: 91.39 kB / 1.003 GB, free: 146.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/1.746, allocations: 6.812 kB / 1.003 GB, free: 146.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/1.746, allocations: 3.938 kB / 1.003 GB, free: 146.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.746, allocations: 0 / 1.003 GB, free: 146.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/1.746, allocations: 44.61 kB / 1.003 GB, free: 146.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002352/1.746, allocations: 214.3 kB / 1.004 GB, free: 145.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004462/1.747, allocations: 126 kB / 1.004 GB, free: 145.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/1.747, allocations: 37.28 kB / 1.004 GB, free: 145.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001811/1.749, allocations: 2.719 MB / 1.006 GB, free: 142.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/1.749, allocations: 34.56 kB / 1.007 GB, free: 142.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/1.749, allocations: 0 / 1.007 GB, free: 142.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004449/1.749, allocations: 127.6 kB / 1.007 GB, free: 142.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/1.749, allocations: 80.98 kB / 1.007 GB, free: 142.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/1.75, allocations: 160.5 kB / 1.007 GB, free: 142.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/1.75, allocations: 25.7 kB / 1.007 GB, free: 142.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/1.75, allocations: 84.14 kB / 1.007 GB, free: 142.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/1.75, allocations: 27.52 kB / 1.007 GB, free: 142.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/1.75, allocations: 4 kB / 1.007 GB, free: 142.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.831e-05/1.75, allocations: 314.7 kB / 1.007 GB, free: 142 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/1.75, allocations: 33.44 kB / 1.007 GB, free: 142 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.219e-05/1.75, allocations: 50.86 kB / 1.007 GB, free: 141.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/1.75, allocations: 89.97 kB / 1.007 GB, free: 141.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.75, allocations: 0 / 1.007 GB, free: 141.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002815/1.751, allocations: 130.2 kB / 1.008 GB, free: 141.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/1.751, allocations: 7.812 kB / 1.008 GB, free: 141.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.751, allocations: 0 / 1.008 GB, free: 141.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/1.751, allocations: 4.062 kB / 1.008 GB, free: 141.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/1.751, allocations: 22.72 kB / 1.008 GB, free: 141.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/1.751, allocations: 2.125 kB / 1.008 GB, free: 141.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/1.751, allocations: 8.5 kB / 1.008 GB, free: 141.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/1.751, allocations: 7.141 kB / 1.008 GB, free: 141.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.92e-05/1.751, allocations: 112.5 kB / 1.008 GB, free: 141.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/1.751, allocations: 18.48 kB / 1.008 GB, free: 141.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005011/1.752, allocations: 243.4 kB / 1.008 GB, free: 141.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/1.752, allocations: 0 / 1.008 GB, free: 141.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.752, allocations: 0 / 1.008 GB, free: 141.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/1.752, allocations: 3.75 kB / 1.008 GB, free: 141.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/1.752, allocations: 205.3 kB / 1.008 GB, free: 141.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.752, allocations: 3.938 kB / 1.008 GB, free: 141.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/1.752, allocations: 23.69 kB / 1.008 GB, free: 141.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/1.752, allocations: 11.88 kB / 1.008 GB, free: 141.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/1.752, allocations: 0 / 1.008 GB, free: 141.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/1.752, allocations: 3.984 kB / 1.008 GB, free: 141.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.752, allocations: 0 / 1.008 GB, free: 141.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/1.752, allocations: 185 kB / 1.008 GB, free: 141.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.731e-05/1.753, allocations: 100.8 kB / 1.009 GB, free: 141 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/1.753, allocations: 4.062 kB / 1.009 GB, free: 141 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/1.753, allocations: 7.766 kB / 1.009 GB, free: 141 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/1.753, allocations: 7.953 kB / 1.009 GB, free: 141 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/1.753, allocations: 11.88 kB / 1.009 GB, free: 141 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000131/1.753, allocations: 126.4 kB / 1.009 GB, free: 140.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.753, allocations: 0 / 1.009 GB, free: 140.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008488/1.754, allocations: 215.7 kB / 1.009 GB, free: 140.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001801/1.756, allocations: 0.8309 MB / 1.01 GB, free: 140.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002887/1.756, allocations: 79.62 kB / 1.01 GB, free: 140.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.756, allocations: 4.125 kB / 1.01 GB, free: 140.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/1.756, allocations: 39.31 kB / 1.01 GB, free: 140.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/1.756, allocations: 11.91 kB / 1.01 GB, free: 140.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005582/1.757, allocations: 363.6 kB / 1.01 GB, free: 140 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/1.757, allocations: 0.6883 MB / 1.011 GB, free: 139.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005438/1.758, allocations: 429.3 kB / 1.011 GB, free: 139.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/1.758, allocations: 46.88 kB / 1.011 GB, free: 139.1 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/1.758, allocations: 0 / 1.011 GB, free: 139.1 MB / 426.7 MB Notification: Performance of Templates: time 0.01663/1.775, allocations: 12.3 MB / 1.023 GB, free: 127.6 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches