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") [: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.001401/0.001401, allocations: 179.8 kB / 8.477 MB, free: 1.879 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.893/1.893, allocations: 205.2 MB / 214.1 MB, free: 1.898 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 83.39 kB / 262.1 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.077e-06/9.097e-06, allocations: 0 / 315 MB, free: 23.06 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1499, allocations: 47.58 MB / 362.5 MB, free: 7.426 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.606/1.756, allocations: 0.5811 GB / 0.9352 GB, free: 104.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004139/1.757, allocations: 78.3 kB / 0.9352 GB, free: 104.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.09821/1.855, allocations: 40.87 MB / 0.9752 GB, free: 63.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/1.855, allocations: 0 / 0.9752 GB, free: 63.54 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.000865/1.856, allocations: 449.9 kB / 0.9756 GB, free: 63.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/1.856, allocations: 8.031 kB / 0.9756 GB, free: 63.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/1.857, allocations: 119.8 kB / 0.9757 GB, free: 62.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/1.857, allocations: 194.9 kB / 0.9759 GB, free: 62.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/1.858, allocations: 0 / 0.9759 GB, free: 62.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/1.858, allocations: 4 kB / 0.9759 GB, free: 62.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.634e-05/1.858, allocations: 23.92 kB / 0.9759 GB, free: 62.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/1.858, allocations: 71.38 kB / 0.976 GB, free: 62.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/1.858, allocations: 4 kB / 0.976 GB, free: 62.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/1.858, allocations: 4 kB / 0.976 GB, free: 62.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/1.858, allocations: 3.906 kB / 0.976 GB, free: 62.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/1.858, allocations: 163.1 kB / 0.9762 GB, free: 62.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/1.858, allocations: 89.2 kB / 0.9762 GB, free: 62.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.654e-05/1.859, allocations: 33.72 kB / 0.9763 GB, free: 62.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008225/1.859, allocations: 1.379 MB / 0.9776 GB, free: 60.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/1.859, allocations: 30.56 kB / 0.9777 GB, free: 60.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.505e-06/1.859, allocations: 4 kB / 0.9777 GB, free: 60.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007599/1.86, allocations: 157.4 kB / 0.9778 GB, free: 60.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/1.86, allocations: 77.11 kB / 0.9779 GB, free: 60.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/1.86, allocations: 121 kB / 0.978 GB, free: 60.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/1.86, allocations: 29.7 kB / 0.978 GB, free: 60.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.473e-05/1.86, allocations: 80.14 kB / 0.9781 GB, free: 60.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/1.86, allocations: 27.64 kB / 0.9781 GB, free: 59.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/1.86, allocations: 0 / 0.9781 GB, free: 59.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.789e-05/1.861, allocations: 310.8 kB / 0.9784 GB, free: 59.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.766e-05/1.861, allocations: 19.98 kB / 0.9784 GB, free: 59.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.475e-05/1.861, allocations: 39.44 kB / 0.9785 GB, free: 59.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/1.861, allocations: 115.9 kB / 0.9786 GB, free: 59.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/1.861, allocations: 0 / 0.9786 GB, free: 59.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005495/1.862, allocations: 165.4 kB / 0.9788 GB, free: 59.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/1.862, allocations: 4 kB / 0.9788 GB, free: 59.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.862, allocations: 4 kB / 0.9788 GB, free: 59.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/1.862, allocations: 0 / 0.9788 GB, free: 59.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/1.862, allocations: 15.98 kB / 0.9788 GB, free: 59.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/1.862, allocations: 12.05 kB / 0.9788 GB, free: 59.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/1.862, allocations: 7.906 kB / 0.9788 GB, free: 59.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/1.862, allocations: 480 / 0.9788 GB, free: 59.28 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 8.104e-05/1.862, allocations: 109.8 kB / 0.9789 GB, free: 59.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/1.862, allocations: 7.906 kB / 0.9789 GB, free: 59.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007082/1.863, allocations: 201.3 kB / 0.9791 GB, free: 58.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/1.863, allocations: 4 kB / 0.9791 GB, free: 58.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.863, allocations: 0 / 0.9791 GB, free: 58.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/1.863, allocations: 3.938 kB / 0.9791 GB, free: 58.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/1.863, allocations: 158 kB / 0.9793 GB, free: 58.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.863, allocations: 4 kB / 0.9793 GB, free: 58.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/1.863, allocations: 15.98 kB / 0.9793 GB, free: 58.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/1.863, allocations: 0 / 0.9793 GB, free: 58.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/1.863, allocations: 11.94 kB / 0.9793 GB, free: 58.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.863, allocations: 3.938 kB / 0.9793 GB, free: 58.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.863, allocations: 0 / 0.9793 GB, free: 58.72 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006128/1.864, allocations: 219.4 kB / 0.9795 GB, free: 58.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.625e-05/1.864, allocations: 92.98 kB / 0.9796 GB, free: 58.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/1.864, allocations: 0 / 0.9796 GB, free: 58.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/1.864, allocations: 16.11 kB / 0.9796 GB, free: 58.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/1.864, allocations: 7.984 kB / 0.9796 GB, free: 58.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/1.864, allocations: 0 / 0.9796 GB, free: 58.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.412e-05/1.864, allocations: 111.3 kB / 0.9797 GB, free: 58.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008441/1.865, allocations: 211.7 kB / 0.9799 GB, free: 58.03 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.001999/1.867, allocations: 0.918 MB / 0.9808 GB, free: 57.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001509/1.867, allocations: 47.92 kB / 0.9809 GB, free: 57.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.867, allocations: 3.938 kB / 0.9809 GB, free: 57.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.742e-05/1.867, allocations: 27.92 kB / 0.9809 GB, free: 57.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/1.868, allocations: 8 kB / 0.9809 GB, free: 57.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005651/1.868, allocations: 214.5 kB / 0.9811 GB, free: 56.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/1.869, allocations: 0.7383 MB / 0.9818 GB, free: 56.02 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/1.869, allocations: 0 / 0.9818 GB, free: 56.02 MB / 426.7 MB Notification: Performance of Templates: time 0.01269/1.881, allocations: 7.395 MB / 0.989 GB, free: 48.62 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/jenkins/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