Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001215/0.001215, allocations: 176.2 kB / 17.41 MB, free: 4.414 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.762/1.762, allocations: 205.4 MB / 223.6 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.0008074/0.0008078, allocations: 81.42 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004435, allocations: 8 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3131, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.212/1.525, allocations: 0.5936 GB / 0.9606 GB, free: 18.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/1.525, allocations: 79.95 kB / 0.9606 GB, free: 18.35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3345/1.86, allocations: 41.64 MB / 1.001 GB, free: 146.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.385e-06/1.86, allocations: 3.25 kB / 1.001 GB, free: 146.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.215e-06/1.86, allocations: 0.9375 kB / 1.001 GB, free: 146.6 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.0007614/1.861, allocations: 456 kB / 1.002 GB, free: 146.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.861, allocations: 6.562 kB / 1.002 GB, free: 146.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/1.862, allocations: 103 kB / 1.002 GB, free: 146.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/1.862, allocations: 219.8 kB / 1.002 GB, free: 145.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/1.862, allocations: 7.094 kB / 1.002 GB, free: 145.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/1.862, allocations: 3.312 kB / 1.002 GB, free: 145.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/1.862, allocations: 93.61 kB / 1.002 GB, free: 145.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.862, allocations: 4.172 kB / 1.002 GB, free: 145.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/1.863, allocations: 3.938 kB / 1.002 GB, free: 145.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/1.863, allocations: 6.062 kB / 1.002 GB, free: 145.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/1.863, allocations: 46.67 kB / 1.002 GB, free: 145.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002401/1.863, allocations: 214.7 kB / 1.002 GB, free: 145.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/1.863, allocations: 117.6 kB / 1.003 GB, free: 145.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/1.864, allocations: 47.75 kB / 1.003 GB, free: 145.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001859/1.865, allocations: 2.714 MB / 1.005 GB, free: 142.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/1.865, allocations: 37 kB / 1.005 GB, free: 142.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/1.865, allocations: 0 / 1.005 GB, free: 142.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004867/1.866, allocations: 132.6 kB / 1.005 GB, free: 142.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/1.866, allocations: 77.11 kB / 1.005 GB, free: 142.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/1.866, allocations: 160.5 kB / 1.006 GB, free: 142.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/1.866, allocations: 25.7 kB / 1.006 GB, free: 142.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/1.866, allocations: 84.02 kB / 1.006 GB, free: 142 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/1.866, allocations: 27.39 kB / 1.006 GB, free: 142 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/1.866, allocations: 4 kB / 1.006 GB, free: 142 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.767e-05/1.866, allocations: 318.8 kB / 1.006 GB, free: 141.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.716e-05/1.867, allocations: 29.44 kB / 1.006 GB, free: 141.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/1.867, allocations: 48.5 kB / 1.006 GB, free: 141.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/1.867, allocations: 89.45 kB / 1.006 GB, free: 141.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.867, allocations: 0 / 1.006 GB, free: 141.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002965/1.867, allocations: 126.4 kB / 1.006 GB, free: 141.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.867, allocations: 7.531 kB / 1.006 GB, free: 141.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/1.867, allocations: 0 / 1.006 GB, free: 141.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.867, allocations: 3.938 kB / 1.006 GB, free: 141.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/1.867, allocations: 22.06 kB / 1.006 GB, free: 141.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/1.867, allocations: 3.969 kB / 1.006 GB, free: 141.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/1.868, allocations: 12 kB / 1.006 GB, free: 141.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/1.868, allocations: 11.89 kB / 1.006 GB, free: 141.5 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 8.126e-05/1.868, allocations: 113.5 kB / 1.006 GB, free: 141.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/1.868, allocations: 11.72 kB / 1.007 GB, free: 141.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005158/1.868, allocations: 245.1 kB / 1.007 GB, free: 141.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/1.868, allocations: 1.219 kB / 1.007 GB, free: 141.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.868, allocations: 0 / 1.007 GB, free: 141.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/1.868, allocations: 3.5 kB / 1.007 GB, free: 141.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/1.869, allocations: 204.5 kB / 1.007 GB, free: 141 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.869, allocations: 3.938 kB / 1.007 GB, free: 141 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/1.869, allocations: 28.94 kB / 1.007 GB, free: 140.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/1.869, allocations: 3.938 kB / 1.007 GB, free: 140.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/1.869, allocations: 0 / 1.007 GB, free: 140.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/1.869, allocations: 0 / 1.007 GB, free: 140.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.869, allocations: 7.938 kB / 1.007 GB, free: 140.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/1.869, allocations: 171.8 kB / 1.007 GB, free: 140.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/1.869, allocations: 104.3 kB / 1.007 GB, free: 140.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/1.869, allocations: 0 / 1.007 GB, free: 140.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/1.87, allocations: 7.781 kB / 1.007 GB, free: 140.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/1.87, allocations: 11.7 kB / 1.007 GB, free: 140.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/1.87, allocations: 11.55 kB / 1.007 GB, free: 140.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001556/1.87, allocations: 131.2 kB / 1.007 GB, free: 140.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.87, allocations: 0 / 1.007 GB, free: 140.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001037/1.871, allocations: 220.4 kB / 1.008 GB, free: 140.5 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.001356/1.872, allocations: 0.8394 MB / 1.008 GB, free: 140.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002726/1.872, allocations: 78.56 kB / 1.009 GB, free: 140.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.872, allocations: 0 / 1.009 GB, free: 140.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/1.873, allocations: 35.75 kB / 1.009 GB, free: 140.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/1.873, allocations: 23.95 kB / 1.009 GB, free: 140 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005451/1.873, allocations: 390 kB / 1.009 GB, free: 139.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/1.874, allocations: 0.6886 MB / 1.01 GB, free: 139 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/1.874, allocations: 43.14 kB / 1.01 GB, free: 139 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/1.874, allocations: 0 / 1.01 GB, free: 139 MB / 426.7 MB Notification: Performance of Templates: time 0.008053/1.882, allocations: 7.124 MB / 1.017 GB, free: 133.1 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches