Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") [: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.001616/0.001616, allocations: 178.7 kB / 8.476 MB, free: 1.871 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.793/1.793, allocations: 205.2 MB / 214.1 MB, free: 5.23 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.001049/0.001048, allocations: 90.28 kB / 262.1 MB, free: 5.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.027e-05/1.029e-05, allocations: 0 / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1237, allocations: 47.58 MB / 362.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.843/1.967, allocations: 0.7471 GB / 1.101 GB, free: 155.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/1.967, allocations: 78.39 kB / 1.101 GB, free: 155.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.1556/2.123, allocations: 77.29 MB / 1.177 GB, free: 77.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/2.123, allocations: 4 kB / 1.177 GB, free: 77.77 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.0009466/2.124, allocations: 465.9 kB / 1.177 GB, free: 77.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/2.124, allocations: 8.031 kB / 1.177 GB, free: 77.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003456/2.125, allocations: 51.81 kB / 1.177 GB, free: 77.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/2.125, allocations: 183.1 kB / 1.177 GB, free: 76.99 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/2.125, allocations: 3.906 kB / 1.177 GB, free: 76.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/2.125, allocations: 4 kB / 1.177 GB, free: 76.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001016/2.125, allocations: 47.89 kB / 1.177 GB, free: 76.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/2.125, allocations: 75.38 kB / 1.178 GB, free: 76.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/2.125, allocations: 0 / 1.178 GB, free: 76.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/2.125, allocations: 0 / 1.178 GB, free: 76.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/2.125, allocations: 4 kB / 1.178 GB, free: 76.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/2.125, allocations: 171 kB / 1.178 GB, free: 76.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/2.126, allocations: 117.2 kB / 1.178 GB, free: 76.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/2.126, allocations: 41.8 kB / 1.178 GB, free: 76.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004189/2.126, allocations: 129 kB / 1.178 GB, free: 76.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/2.126, allocations: 38.56 kB / 1.178 GB, free: 76.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/2.126, allocations: 0 / 1.178 GB, free: 76.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008162/2.127, allocations: 205.4 kB / 1.178 GB, free: 76.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/2.127, allocations: 81.09 kB / 1.178 GB, free: 75.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.565e-05/2.127, allocations: 125 kB / 1.178 GB, free: 75.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/2.127, allocations: 29.64 kB / 1.178 GB, free: 75.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.244e-05/2.127, allocations: 84.14 kB / 1.179 GB, free: 75.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/2.127, allocations: 19.7 kB / 1.179 GB, free: 75.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/2.127, allocations: 4 kB / 1.179 GB, free: 75.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.237e-05/2.127, allocations: 318.8 kB / 1.179 GB, free: 75.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.688e-05/2.127, allocations: 23.97 kB / 1.179 GB, free: 75.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.583e-05/2.127, allocations: 51.41 kB / 1.179 GB, free: 75.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005146/2.128, allocations: 135.8 kB / 1.179 GB, free: 75.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/2.128, allocations: 4 kB / 1.179 GB, free: 75.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006315/2.128, allocations: 213.3 kB / 1.179 GB, free: 74.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/2.129, allocations: 8 kB / 1.179 GB, free: 74.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/2.129, allocations: 0 / 1.179 GB, free: 74.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/2.129, allocations: 0 / 1.179 GB, free: 74.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/2.129, allocations: 19.98 kB / 1.179 GB, free: 74.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/2.129, allocations: 0 / 1.179 GB, free: 74.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.479e-05/2.129, allocations: 15.84 kB / 1.179 GB, free: 74.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/2.129, allocations: 7.984 kB / 1.179 GB, free: 74.88 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 6.919e-05/2.129, allocations: 109 kB / 1.179 GB, free: 74.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/2.129, allocations: 7.906 kB / 1.179 GB, free: 74.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007175/2.13, allocations: 245.7 kB / 1.18 GB, free: 74.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/2.13, allocations: 0 / 1.18 GB, free: 74.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/2.13, allocations: 0 / 1.18 GB, free: 74.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/2.13, allocations: 0 / 1.18 GB, free: 74.51 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/2.13, allocations: 162.1 kB / 1.18 GB, free: 74.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/2.13, allocations: 4 kB / 1.18 GB, free: 74.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.624e-05/2.13, allocations: 11.94 kB / 1.18 GB, free: 74.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/2.13, allocations: 8 kB / 1.18 GB, free: 74.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/2.13, allocations: 3.984 kB / 1.18 GB, free: 74.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/2.13, allocations: 0 / 1.18 GB, free: 74.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/2.13, allocations: 0 / 1.18 GB, free: 74.29 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007212/2.131, allocations: 279.3 kB / 1.18 GB, free: 73.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.718e-05/2.131, allocations: 101 kB / 1.18 GB, free: 73.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/2.131, allocations: 4.062 kB / 1.18 GB, free: 73.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.054e-05/2.131, allocations: 7.984 kB / 1.18 GB, free: 73.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/2.131, allocations: 8 kB / 1.18 GB, free: 73.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/2.131, allocations: 11.92 kB / 1.18 GB, free: 73.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.335e-05/2.131, allocations: 107.2 kB / 1.18 GB, free: 73.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009737/2.132, allocations: 255.6 kB / 1.181 GB, free: 73.48 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.001902/2.134, allocations: 1.098 MB / 1.182 GB, free: 72.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001236/2.134, allocations: 47.98 kB / 1.182 GB, free: 72.33 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/2.134, allocations: 8.125 kB / 1.182 GB, free: 72.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.474e-05/2.134, allocations: 31.92 kB / 1.182 GB, free: 72.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/2.134, allocations: 15.98 kB / 1.182 GB, free: 72.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004405/2.135, allocations: 222.4 kB / 1.182 GB, free: 72.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/2.135, allocations: 0.7071 MB / 1.183 GB, free: 71.3 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/2.135, allocations: 3.938 kB / 1.183 GB, free: 71.3 MB / 426.7 MB Notification: Performance of Templates: time 0.01278/2.148, allocations: 8.759 MB / 1.191 GB, free: 62.54 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_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_TX/Inverse_sh_TX.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches