Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003326/0.003326, allocations: 199.3 kB / 18.07 MB, free: 3.645 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 3.222/3.222, allocations: 226.5 MB / 245.3 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001417, allocations: 100.9 kB / 297.4 MB, free: 6.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004456/0.000446, allocations: 8 kB / 357.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.659/0.6595, allocations: 51.29 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.621/3.281, allocations: 499.2 MB / 0.8866 GB, free: 146.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000589/3.282, allocations: 77 kB / 0.8867 GB, free: 146.6 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1187/3.4, allocations: 31.21 MB / 0.9171 GB, free: 115.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.289e-06/3.401, allocations: 0 / 0.9171 GB, free: 115.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/3.401, allocations: 0 / 0.9171 GB, free: 115.3 MB / 458.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.001069/3.402, allocations: 435.2 kB / 0.9175 GB, free: 114.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.157e-05/3.402, allocations: 12.03 kB / 0.9176 GB, free: 114.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/3.404, allocations: 108.7 kB / 0.9177 GB, free: 114.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/3.404, allocations: 224.2 kB / 0.9179 GB, free: 114.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/3.404, allocations: 4.375 kB / 0.9179 GB, free: 114.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.103e-05/3.404, allocations: 384 / 0.9179 GB, free: 114.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003904/3.405, allocations: 103.8 kB / 0.918 GB, free: 114.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/3.405, allocations: 192 / 0.918 GB, free: 114.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/3.405, allocations: 3.938 kB / 0.918 GB, free: 114.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/3.405, allocations: 0 / 0.918 GB, free: 114.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003102/3.405, allocations: 47.95 kB / 0.918 GB, free: 114.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/3.406, allocations: 202.9 kB / 0.9182 GB, free: 114 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008487/3.406, allocations: 129.1 kB / 0.9183 GB, free: 113.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/3.407, allocations: 37.75 kB / 0.9184 GB, free: 113.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/3.408, allocations: 1.639 MB / 0.92 GB, free: 111.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/3.408, allocations: 34.56 kB / 0.92 GB, free: 111.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 3.848e-06/3.408, allocations: 0 / 0.92 GB, free: 111.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.000972/3.409, allocations: 137.5 kB / 0.9201 GB, free: 111.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.65e-05/3.409, allocations: 77.11 kB / 0.9202 GB, free: 111.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/3.41, allocations: 157.8 kB / 0.9204 GB, free: 111.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/3.41, allocations: 29.64 kB / 0.9204 GB, free: 111.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/3.41, allocations: 80.14 kB / 0.9205 GB, free: 111.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.329e-05/3.41, allocations: 23.66 kB / 0.9205 GB, free: 111.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.957e-05/3.41, allocations: 4 kB / 0.9205 GB, free: 111.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/3.41, allocations: 322.8 kB / 0.9208 GB, free: 110.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/3.41, allocations: 23.98 kB / 0.9208 GB, free: 110.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/3.41, allocations: 51.41 kB / 0.9209 GB, free: 110.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/3.411, allocations: 83.33 kB / 0.921 GB, free: 110.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/3.411, allocations: 4 kB / 0.921 GB, free: 110.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005174/3.411, allocations: 117.5 kB / 0.9211 GB, free: 110.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/3.411, allocations: 7.984 kB / 0.9211 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/3.411, allocations: 7.938 kB / 0.9211 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/3.411, allocations: 0 / 0.9211 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/3.412, allocations: 27.91 kB / 0.9211 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/3.412, allocations: 0 / 0.9211 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/3.412, allocations: 8 kB / 0.9211 GB, free: 110.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/3.412, allocations: 12.05 kB / 0.9211 GB, free: 110.6 MB / 458.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 0.0001185/3.412, allocations: 113.8 kB / 0.9212 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.957e-05/3.412, allocations: 11.84 kB / 0.9213 GB, free: 110.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008064/3.413, allocations: 245.5 kB / 0.9215 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/3.413, allocations: 12.03 kB / 0.9215 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/3.413, allocations: 0 / 0.9215 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/3.413, allocations: 0 / 0.9215 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/3.414, allocations: 215 kB / 0.9217 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/3.414, allocations: 3.938 kB / 0.9217 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/3.414, allocations: 23.97 kB / 0.9217 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/3.414, allocations: 4 kB / 0.9217 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/3.414, allocations: 3.938 kB / 0.9217 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/3.414, allocations: 0 / 0.9217 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/3.414, allocations: 0 / 0.9217 GB, free: 109.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006292/3.415, allocations: 181.8 kB / 0.9219 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/3.415, allocations: 101 kB / 0.922 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.108e-05/3.415, allocations: 7.938 kB / 0.922 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/3.415, allocations: 0 / 0.922 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/3.415, allocations: 11.98 kB / 0.922 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/3.415, allocations: 7.984 kB / 0.922 GB, free: 109.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002309/3.415, allocations: 131.8 kB / 0.9222 GB, free: 109.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.91e-07/3.415, allocations: 0 / 0.9222 GB, free: 109.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001196/3.417, allocations: 175.8 kB / 0.9223 GB, free: 109.2 MB / 458.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.002709/3.419, allocations: 0.7189 MB / 0.923 GB, free: 108.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005524/3.42, allocations: 79.86 kB / 0.9231 GB, free: 108.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/3.42, allocations: 0 / 0.9231 GB, free: 108.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002083/3.42, allocations: 35.92 kB / 0.9231 GB, free: 108.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/3.421, allocations: 19.48 kB / 0.9232 GB, free: 108.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/3.422, allocations: 387.3 kB / 0.9235 GB, free: 108 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/3.422, allocations: 0.6888 MB / 0.9242 GB, free: 107.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/3.422, allocations: 47.38 kB / 0.9242 GB, free: 107.2 MB / 458.7 MB Notification: Performance of SimCode: time 9.52e-07/3.422, allocations: 0 / 0.9242 GB, free: 107.2 MB / 458.7 MB Notification: Performance of Templates: time 0.02193/3.444, allocations: 6.606 MB / 0.9307 GB, free: 100.6 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches