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_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_cpp_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_cpp_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.002221/0.002222, allocations: 176.7 kB / 8.148 MB, free: 2.164 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.78/1.78, allocations: 205.2 MB / 213.7 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.001303/0.001302, allocations: 81.91 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.253e-05/1.266e-05, allocations: 4 kB / 314.3 MB, free: 9.051 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.268, allocations: 47.56 MB / 361.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.642/1.91, allocations: 0.7471 GB / 1.1 GB, free: 49.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/1.91, allocations: 71.83 kB / 1.101 GB, free: 49.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.468/2.378, allocations: 77.3 MB / 1.176 GB, free: 136 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/2.379, allocations: 0 / 1.176 GB, free: 136 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.001006/2.38, allocations: 475.5 kB / 1.176 GB, free: 135.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/2.38, allocations: 7.812 kB / 1.177 GB, free: 135.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004445/2.38, allocations: 41.81 kB / 1.177 GB, free: 135.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/2.38, allocations: 195 kB / 1.177 GB, free: 135.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/2.38, allocations: 7.781 kB / 1.177 GB, free: 135.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/2.38, allocations: 0 / 1.177 GB, free: 135.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001471/2.381, allocations: 42.31 kB / 1.177 GB, free: 135.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/2.381, allocations: 77.22 kB / 1.177 GB, free: 135.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/2.381, allocations: 3.844 kB / 1.177 GB, free: 135.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/2.381, allocations: 0 / 1.177 GB, free: 135.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/2.381, allocations: 0 / 1.177 GB, free: 135.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/2.381, allocations: 174.9 kB / 1.177 GB, free: 135.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000456/2.382, allocations: 115.2 kB / 1.177 GB, free: 135.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.79e-05/2.382, allocations: 35.75 kB / 1.177 GB, free: 135.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006624/2.382, allocations: 133.6 kB / 1.177 GB, free: 135 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/2.382, allocations: 34.41 kB / 1.177 GB, free: 134.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.424e-06/2.382, allocations: 1.406 kB / 1.177 GB, free: 134.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.001316/2.384, allocations: 206.7 kB / 1.178 GB, free: 134.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/2.384, allocations: 81.05 kB / 1.178 GB, free: 134.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/2.384, allocations: 124.9 kB / 1.178 GB, free: 134.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/2.384, allocations: 29.61 kB / 1.178 GB, free: 134.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.081e-05/2.384, allocations: 153.7 kB / 1.178 GB, free: 134.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/2.384, allocations: 22.47 kB / 1.178 GB, free: 134.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/2.384, allocations: 0 / 1.178 GB, free: 134.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.914e-05/2.384, allocations: 318.3 kB / 1.178 GB, free: 134.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-05/2.384, allocations: 21.95 kB / 1.178 GB, free: 134.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.478e-05/2.384, allocations: 49.02 kB / 1.178 GB, free: 134.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009716/2.385, allocations: 141.2 kB / 1.178 GB, free: 134.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/2.385, allocations: 3.844 kB / 1.178 GB, free: 134.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001084/2.386, allocations: 208.8 kB / 1.179 GB, free: 134.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/2.386, allocations: 5.156 kB / 1.179 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/2.386, allocations: 4.656 kB / 1.179 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/2.386, allocations: 0 / 1.179 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/2.387, allocations: 18.48 kB / 1.179 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/2.387, allocations: 3.094 kB / 1.179 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.877e-05/2.387, allocations: 9.344 kB / 1.179 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/2.387, allocations: 5.125 kB / 1.179 GB, free: 134.1 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 5.997e-05/2.387, allocations: 25.7 kB / 1.179 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/2.387, allocations: 11.28 kB / 1.179 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/2.388, allocations: 244 kB / 1.179 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/2.388, allocations: 3.531 kB / 1.179 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/2.388, allocations: 1.5 kB / 1.179 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/2.388, allocations: 3.797 kB / 1.179 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/2.388, allocations: 156.6 kB / 1.179 GB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/2.389, allocations: 3.656 kB / 1.179 GB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/2.389, allocations: 14.31 kB / 1.179 GB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/2.389, allocations: 3.906 kB / 1.179 GB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/2.389, allocations: 3.844 kB / 1.179 GB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/2.389, allocations: 3.938 kB / 1.179 GB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/2.389, allocations: 0 / 1.179 GB, free: 133.9 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001326/2.39, allocations: 283.8 kB / 1.179 GB, free: 133.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/2.39, allocations: 103.2 kB / 1.179 GB, free: 133.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/2.39, allocations: 3.969 kB / 1.179 GB, free: 133.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.953e-05/2.39, allocations: 3.703 kB / 1.18 GB, free: 133.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/2.39, allocations: 6.812 kB / 1.18 GB, free: 133.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/2.391, allocations: 9.734 kB / 1.18 GB, free: 133.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.344e-05/2.391, allocations: 108.9 kB / 1.18 GB, free: 133.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001261/2.392, allocations: 261.3 kB / 1.18 GB, free: 133.6 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.00316/2.395, allocations: 1.087 MB / 1.181 GB, free: 133.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002467/2.395, allocations: 52.36 kB / 1.181 GB, free: 133.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/2.395, allocations: 0 / 1.181 GB, free: 133.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.89e-05/2.395, allocations: 33.66 kB / 1.181 GB, free: 133.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/2.396, allocations: 19.27 kB / 1.181 GB, free: 133.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006503/2.397, allocations: 254.6 kB / 1.181 GB, free: 133.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/2.397, allocations: 0.7117 MB / 1.182 GB, free: 132.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.403e-06/2.397, allocations: 0 / 1.182 GB, free: 132.5 MB / 426.7 MB Notification: Performance of Templates: time 0.02296/2.42, allocations: 8.053 MB / 1.19 GB, free: 131.3 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_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_TX/Inverse_sh_TX.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches