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.001028/0.001028, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.7 MB / 247.5 MB, free: 9.504 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002427/0.0002427, allocations: 4 kB / 308.4 MB, free: 0.5977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1054, allocations: 51.53 MB / 359.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001543/0.107, allocations: 1.083 MB / 361 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.331/0.438, allocations: 147.8 MB / 0.4969 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/0.4381, allocations: 0 / 0.4969 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.707e-05/0.4381, allocations: 0 / 0.4969 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008963/0.439, allocations: 213.7 kB / 0.4971 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.44, allocations: 326 kB / 0.4974 GB, free: 6.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.4402, allocations: 65.61 kB / 0.4974 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.4402, allocations: 4 kB / 0.4974 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.958e-05/0.4403, allocations: 15.94 kB / 0.4974 GB, free: 6.176 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.899e-05/0.4404, allocations: 31.84 kB / 0.4975 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.4404, allocations: 4 kB / 0.4975 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.4416, allocations: 0.6329 MB / 0.4981 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.4417, allocations: 11.98 kB / 0.4981 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.4417, allocations: 45.56 kB / 0.4982 GB, free: 5.445 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006337/0.4424, allocations: 355.3 kB / 0.4985 GB, free: 5.098 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4424, allocations: 0 / 0.4985 GB, free: 5.098 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4424, allocations: 0 / 0.4985 GB, free: 5.098 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.359e-06/0.4424, allocations: 0 / 0.4985 GB, free: 5.098 MB / 414.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.0006052/0.443, allocations: 415.9 kB / 0.4989 GB, free: 4.645 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.4431, allocations: 12.03 kB / 0.4989 GB, free: 4.633 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.4444, allocations: 109.5 kB / 0.499 GB, free: 4.527 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.4447, allocations: 223.9 kB / 0.4992 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.4447, allocations: 4 kB / 0.4992 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.4447, allocations: 0 / 0.4992 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.445, allocations: 99.27 kB / 0.4993 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.445, allocations: 0 / 0.4993 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.445, allocations: 0 / 0.4993 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.445, allocations: 4.844 kB / 0.4993 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.4452, allocations: 47.94 kB / 0.4994 GB, free: 4.109 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.4455, allocations: 218.6 kB / 0.4996 GB, free: 3.844 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004852/0.446, allocations: 129.1 kB / 0.4997 GB, free: 3.699 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.4461, allocations: 33.77 kB / 0.4997 GB, free: 3.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006958/0.4468, allocations: 0.9901 MB / 0.5007 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.4469, allocations: 38.56 kB / 0.5007 GB, free: 2.402 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.4469, allocations: 0 / 0.5007 GB, free: 2.402 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004804/0.4474, allocations: 133.5 kB / 0.5009 GB, free: 2.266 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.4474, allocations: 81.09 kB / 0.5009 GB, free: 2.168 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.4476, allocations: 149.8 kB / 0.5011 GB, free: 2.012 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.4477, allocations: 29.7 kB / 0.5011 GB, free: 1.977 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.4477, allocations: 88.08 kB / 0.5012 GB, free: 1.887 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.4478, allocations: 31.58 kB / 0.5012 GB, free: 1.855 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.4478, allocations: 17.72 kB / 0.5012 GB, free: 1.832 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.4479, allocations: 314.8 kB / 0.5015 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.448, allocations: 27.97 kB / 0.5016 GB, free: 1.488 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.4482, allocations: 52.11 kB / 0.5016 GB, free: 1.426 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.4484, allocations: 87.33 kB / 0.5017 GB, free: 1.328 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.4484, allocations: 0 / 0.5017 GB, free: 1.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003179/0.4487, allocations: 121.5 kB / 0.5018 GB, free: 1.203 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4488, allocations: 4 kB / 0.5018 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4488, allocations: 0 / 0.5018 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4488, allocations: 8.062 kB / 0.5018 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.4489, allocations: 19.97 kB / 0.5018 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4489, allocations: 7.938 kB / 0.5019 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.4491, allocations: 11.98 kB / 0.5019 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.4492, allocations: 7.984 kB / 0.5019 GB, free: 1.145 MB / 414.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 0.0001022/0.4493, allocations: 121.7 kB / 0.502 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.4493, allocations: 4.375 kB / 0.502 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005853/0.4499, allocations: 239.6 kB / 0.5022 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.4499, allocations: 4 kB / 0.5022 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.4499, allocations: 0 / 0.5022 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.45, allocations: 3.984 kB / 0.5022 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.4502, allocations: 214.9 kB / 0.5024 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.4502, allocations: 0 / 0.5024 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.4504, allocations: 31.91 kB / 0.5025 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.4504, allocations: 0 / 0.5025 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.4504, allocations: 11.92 kB / 0.5025 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.4504, allocations: 0 / 0.5025 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4504, allocations: 0 / 0.5025 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.4508, allocations: 182.3 kB / 0.5027 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.609e-05/0.4509, allocations: 96.97 kB / 0.5027 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.451, allocations: 5.938 kB / 0.5028 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.4512, allocations: 3.984 kB / 0.5028 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.4512, allocations: 4 kB / 0.5028 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.4512, allocations: 11.98 kB / 0.5028 GB, free: 136 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.4514, allocations: 131.3 kB / 0.5029 GB, free: 4 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4514, allocations: 0 / 0.5029 GB, free: 4 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005259/0.4519, allocations: 131.9 kB / 0.503 GB, free: 15.88 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.0008172/0.4528, allocations: 322.2 kB / 0.5033 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002862/0.4531, allocations: 79.81 kB / 0.5034 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4531, allocations: 0 / 0.5034 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.4532, allocations: 40.05 kB / 0.5034 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.4535, allocations: 19.92 kB / 0.5035 GB, free: 15.42 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006257/0.4541, allocations: 383.4 kB / 0.5038 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.4544, allocations: 0.6926 MB / 0.5045 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.4545, allocations: 39.39 kB / 0.5045 GB, free: 14.25 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4545, allocations: 4 kB / 0.5045 GB, free: 14.25 MB / 430.1 MB Notification: Performance of Templates: time 0.007321/0.4619, allocations: 4.176 MB / 0.5086 GB, free: 10.08 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 -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