Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001449/0.001449, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001774/0.001774, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 64.92 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09082/0.09199, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002217/0.09424, allocations: 1.361 MB / 360.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3074/0.4017, allocations: 151.6 MB / 0.4999 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.159e-05/0.4018, allocations: 0 / 0.4999 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.469e-05/0.4019, allocations: 3.984 kB / 0.4999 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008127/0.4027, allocations: 242 kB / 0.5001 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009049/0.4036, allocations: 396.4 kB / 0.5005 GB, free: 1.164 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.281e-05/0.4037, allocations: 51.72 kB / 0.5005 GB, free: 1.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.481e-05/0.4037, allocations: 15.78 kB / 0.5006 GB, free: 1.102 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.733e-05/0.4038, allocations: 15.94 kB / 0.5006 GB, free: 1.086 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.463e-05/0.4039, allocations: 31.89 kB / 0.5006 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.4039, allocations: 4 kB / 0.5006 GB, free: 1.051 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.4049, allocations: 0.6736 MB / 0.5013 GB, free: 388 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.405, allocations: 15.92 kB / 0.5013 GB, free: 372 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.405, allocations: 15.94 kB / 0.5013 GB, free: 356 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006821/0.4057, allocations: 0.495 MB / 0.5018 GB, free: 15.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4057, allocations: 4 kB / 0.5018 GB, free: 15.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4057, allocations: 0 / 0.5018 GB, free: 15.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.4057, allocations: 0 / 0.5018 GB, free: 15.85 MB / 430.1 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.0004819/0.4062, allocations: 431.7 kB / 0.5022 GB, free: 15.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.4062, allocations: 8.031 kB / 0.5022 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.4075, allocations: 108.8 kB / 0.5023 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.4078, allocations: 220 kB / 0.5025 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.4078, allocations: 4 kB / 0.5025 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.4078, allocations: 0 / 0.5025 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.408, allocations: 103.2 kB / 0.5026 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.4081, allocations: 0 / 0.5026 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.4081, allocations: 0 / 0.5026 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.4081, allocations: 1.688 kB / 0.5026 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.4082, allocations: 43.95 kB / 0.5027 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.4085, allocations: 214.6 kB / 0.5029 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.409, allocations: 125.1 kB / 0.503 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.4091, allocations: 42.5 kB / 0.503 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005941/0.4097, allocations: 0.9862 MB / 0.504 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.4097, allocations: 30.56 kB / 0.504 GB, free: 13.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 2.504e-06/0.4097, allocations: 4 kB / 0.504 GB, free: 13.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004623/0.4102, allocations: 137.4 kB / 0.5041 GB, free: 13.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.4102, allocations: 81.05 kB / 0.5042 GB, free: 12.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.4104, allocations: 149.8 kB / 0.5044 GB, free: 12.76 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.4105, allocations: 29.7 kB / 0.5044 GB, free: 12.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.4105, allocations: 84.12 kB / 0.5045 GB, free: 12.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.4105, allocations: 27.64 kB / 0.5045 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/0.4106, allocations: 37.69 kB / 0.5045 GB, free: 12.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.4107, allocations: 318.8 kB / 0.5048 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.4108, allocations: 27.97 kB / 0.5049 GB, free: 12.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.4109, allocations: 55.34 kB / 0.5049 GB, free: 12.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.4112, allocations: 91.64 kB / 0.505 GB, free: 12.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.4112, allocations: 0 / 0.505 GB, free: 12.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000314/0.4115, allocations: 121.5 kB / 0.5051 GB, free: 11.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.4115, allocations: 8 kB / 0.5051 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.4115, allocations: 0 / 0.5051 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.4115, allocations: 0 / 0.5051 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.4117, allocations: 35.97 kB / 0.5052 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4117, allocations: 0.7031 kB / 0.5052 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.4119, allocations: 11.89 kB / 0.5052 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.4119, allocations: 7.984 kB / 0.5052 GB, free: 11.87 MB / 430.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.563e-05/0.412, allocations: 121.7 kB / 0.5053 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.412, allocations: 4 kB / 0.5053 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006369/0.4127, allocations: 248.6 kB / 0.5055 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4127, allocations: 0 / 0.5055 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4127, allocations: 0 / 0.5055 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.4127, allocations: 4 kB / 0.5055 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.4129, allocations: 207 kB / 0.5057 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4129, allocations: 4 kB / 0.5057 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.4131, allocations: 23.97 kB / 0.5058 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4131, allocations: 0 / 0.5058 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.4132, allocations: 7.984 kB / 0.5058 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.4132, allocations: 4 kB / 0.5058 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4132, allocations: 0 / 0.5058 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.4136, allocations: 173.7 kB / 0.5059 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.352e-05/0.4137, allocations: 93.11 kB / 0.506 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.4137, allocations: 4.062 kB / 0.506 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.4139, allocations: 4 kB / 0.506 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.4139, allocations: 7.984 kB / 0.5061 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.4139, allocations: 11.98 kB / 0.5061 GB, free: 10.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.4141, allocations: 128.7 kB / 0.5062 GB, free: 10.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4141, allocations: 4 kB / 0.5062 GB, free: 10.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000415/0.4145, allocations: 131.9 kB / 0.5063 GB, free: 10.61 MB / 430.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006323/0.4152, allocations: 316.3 kB / 0.5066 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.4155, allocations: 83.81 kB / 0.5067 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4155, allocations: 0 / 0.5067 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.4156, allocations: 43.91 kB / 0.5067 GB, free: 10.17 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.4158, allocations: 18.53 kB / 0.5068 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/0.4163, allocations: 303.6 kB / 0.507 GB, free: 9.836 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.4165, allocations: 0.6901 MB / 0.5077 GB, free: 9.121 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005189/0.4171, allocations: 438.8 kB / 0.5081 GB, free: 8.691 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.4172, allocations: 35.39 kB / 0.5082 GB, free: 8.656 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4172, allocations: 0 / 0.5082 GB, free: 8.656 MB / 430.1 MB Notification: Performance of Templates: time 0.008398/0.4256, allocations: 5.216 MB / 0.5133 GB, free: 3.449 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches