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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001713/0.001712, allocations: 180.6 kB / 8.151 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.2 MB / 213.8 MB, free: 13.86 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.001336/0.001335, allocations: 95.86 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.147e-06/9.307e-06, allocations: 0 / 314.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2665, allocations: 47.55 MB / 361.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.358/1.624, allocations: 0.5809 GB / 0.9342 GB, free: 50.83 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/1.625, allocations: 76.33 kB / 0.9343 GB, free: 50.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.1569/1.782, allocations: 40.88 MB / 0.9742 GB, free: 16.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.228e-06/1.782, allocations: 0 / 0.9742 GB, free: 16.12 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.000797/1.783, allocations: 450 kB / 0.9746 GB, free: 15.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.783, allocations: 8.031 kB / 0.9747 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/1.784, allocations: 107.8 kB / 0.9748 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/1.784, allocations: 198.9 kB / 0.9749 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/1.784, allocations: 0 / 0.9749 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.436e-05/1.784, allocations: 4 kB / 0.9749 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000119/1.785, allocations: 31.92 kB / 0.975 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/1.785, allocations: 67.38 kB / 0.975 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/1.785, allocations: 0 / 0.975 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/1.785, allocations: 0 / 0.975 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/1.785, allocations: 6.344 kB / 0.975 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/1.785, allocations: 160.2 kB / 0.9752 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/1.786, allocations: 93.19 kB / 0.9753 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/1.786, allocations: 29.83 kB / 0.9753 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/1.787, allocations: 1.375 MB / 0.9767 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/1.787, allocations: 38.55 kB / 0.9767 GB, free: 13.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.015e-06/1.787, allocations: 0 / 0.9767 GB, free: 13.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.001015/1.788, allocations: 165.4 kB / 0.9769 GB, free: 12.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/1.788, allocations: 77.11 kB / 0.9769 GB, free: 12.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/1.788, allocations: 121 kB / 0.977 GB, free: 12.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/1.789, allocations: 25.7 kB / 0.9771 GB, free: 12.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/1.789, allocations: 150.6 kB / 0.9772 GB, free: 12.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/1.789, allocations: 19.66 kB / 0.9772 GB, free: 12.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/1.789, allocations: 0 / 0.9772 GB, free: 12.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.304e-05/1.789, allocations: 318.8 kB / 0.9775 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.562e-05/1.789, allocations: 20 kB / 0.9776 GB, free: 12.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.919e-05/1.789, allocations: 39.44 kB / 0.9776 GB, free: 12.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006974/1.79, allocations: 99.86 kB / 0.9777 GB, free: 12.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.79, allocations: 0 / 0.9777 GB, free: 12.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008949/1.791, allocations: 173.3 kB / 0.9779 GB, free: 11.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.791, allocations: 4 kB / 0.9779 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/1.791, allocations: 4.062 kB / 0.9779 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/1.791, allocations: 4 kB / 0.9779 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/1.791, allocations: 19.98 kB / 0.9779 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/1.791, allocations: 0 / 0.9779 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/1.791, allocations: 7.906 kB / 0.9779 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/1.791, allocations: 5.219 kB / 0.9779 GB, free: 11.82 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 () * 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 7.376e-05/1.791, allocations: 29.69 kB / 0.9779 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/1.791, allocations: 7.906 kB / 0.9779 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/1.792, allocations: 205.3 kB / 0.9781 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.792, allocations: 0 / 0.9781 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/1.792, allocations: 0 / 0.9781 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/1.792, allocations: 4 kB / 0.9781 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/1.792, allocations: 168.3 kB / 0.9783 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.793, allocations: 4.281 kB / 0.9783 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/1.793, allocations: 15.98 kB / 0.9783 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/1.793, allocations: 0 / 0.9783 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/1.793, allocations: 0 / 0.9783 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.793, allocations: 3.938 kB / 0.9783 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/1.793, allocations: 5.406 kB / 0.9783 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009684/1.794, allocations: 231.4 kB / 0.9785 GB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.656e-05/1.794, allocations: 89.06 kB / 0.9786 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.467e-05/1.794, allocations: 7.984 kB / 0.9786 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002872/1.794, allocations: 0 / 0.9786 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/1.794, allocations: 11.89 kB / 0.9786 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/1.794, allocations: 4 kB / 0.9786 GB, free: 10.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001039/1.795, allocations: 108.5 kB / 0.9788 GB, free: 10.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009778/1.795, allocations: 211.7 kB / 0.979 GB, free: 10.64 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 () * 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.002/1.798, allocations: 0.9222 MB / 0.9799 GB, free: 9.715 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002434/1.798, allocations: 47.92 kB / 0.9799 GB, free: 9.668 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.798, allocations: 0 / 0.9799 GB, free: 9.668 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.242e-05/1.798, allocations: 19.98 kB / 0.9799 GB, free: 9.648 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/1.798, allocations: 5.219 kB / 0.9799 GB, free: 9.645 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007764/1.799, allocations: 252.4 kB / 0.9802 GB, free: 9.367 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/1.799, allocations: 0.7344 MB / 0.9809 GB, free: 8.609 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/1.799, allocations: 0 / 0.9809 GB, free: 8.609 MB / 426.7 MB Notification: Performance of Templates: time 0.01461/1.814, allocations: 6.68 MB / 0.9874 GB, free: 1.934 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