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.001645/0.001645, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001882/0.001882, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 59.81 kB / 306.9 MB, free: 1.035 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1054, allocations: 50.53 MB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002728/0.1082, allocations: 1.425 MB / 358.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3221/0.4304, allocations: 149.3 MB / 0.4963 GB, free: 4.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.885e-05/0.4304, allocations: 3.938 kB / 0.4963 GB, free: 4.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.582e-05/0.4306, allocations: 0 / 0.4963 GB, free: 4.969 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009219/0.4315, allocations: 214.9 kB / 0.4965 GB, free: 4.766 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009883/0.4325, allocations: 326.7 kB / 0.4968 GB, free: 4.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.4326, allocations: 55.7 kB / 0.4969 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.4327, allocations: 4 kB / 0.4969 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.057e-05/0.4327, allocations: 19.94 kB / 0.4969 GB, free: 4.371 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.713e-05/0.4328, allocations: 31.89 kB / 0.4969 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.4329, allocations: 4 kB / 0.4969 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.4341, allocations: 0.629 MB / 0.4975 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.4341, allocations: 11.92 kB / 0.4975 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.4342, allocations: 23.92 kB / 0.4976 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006214/0.4348, allocations: 351.3 kB / 0.4979 GB, free: 3.328 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4348, allocations: 0 / 0.4979 GB, free: 3.328 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4348, allocations: 0 / 0.4979 GB, free: 3.328 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.4349, allocations: 0 / 0.4979 GB, free: 3.328 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.0006029/0.4355, allocations: 430 kB / 0.4983 GB, free: 2.863 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.4355, allocations: 8.031 kB / 0.4983 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.437, allocations: 112.7 kB / 0.4984 GB, free: 2.746 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.4373, allocations: 236.7 kB / 0.4986 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.4373, allocations: 0 / 0.4986 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.4373, allocations: 4 kB / 0.4987 GB, free: 2.473 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.4376, allocations: 91.33 kB / 0.4987 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.4376, allocations: 0.9375 kB / 0.4987 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.4376, allocations: 4 kB / 0.4987 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4376, allocations: 0 / 0.4987 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.4378, allocations: 51.7 kB / 0.4988 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002693/0.4381, allocations: 214.6 kB / 0.499 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/0.4386, allocations: 121.1 kB / 0.4991 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.4387, allocations: 41.69 kB / 0.4992 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006212/0.4394, allocations: 0.9901 MB / 0.5001 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.4394, allocations: 34.56 kB / 0.5002 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.4394, allocations: 4 kB / 0.5002 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005121/0.4399, allocations: 137.4 kB / 0.5003 GB, free: 488 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.44, allocations: 81.11 kB / 0.5004 GB, free: 388 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.4402, allocations: 153.8 kB / 0.5005 GB, free: 224 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.4402, allocations: 29.7 kB / 0.5005 GB, free: 188 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.4403, allocations: 80.14 kB / 0.5006 GB, free: 104 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.4403, allocations: 23.66 kB / 0.5006 GB, free: 80 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.4404, allocations: 37.69 kB / 0.5007 GB, free: 36 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4405, allocations: 318.8 kB / 0.501 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.4406, allocations: 23.98 kB / 0.501 GB, free: 15.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.4408, allocations: 51.41 kB / 0.5011 GB, free: 15.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.441, allocations: 87.7 kB / 0.5011 GB, free: 15.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.441, allocations: 0 / 0.5011 GB, free: 15.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003564/0.4414, allocations: 125.5 kB / 0.5013 GB, free: 15.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4414, allocations: 4 kB / 0.5013 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4414, allocations: 0 / 0.5013 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.4414, allocations: 4 kB / 0.5013 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.4416, allocations: 28.03 kB / 0.5013 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.4416, allocations: 8.922 kB / 0.5013 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.4418, allocations: 7.906 kB / 0.5013 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.4418, allocations: 7.984 kB / 0.5013 GB, free: 15.34 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 8.858e-05/0.4419, allocations: 125.6 kB / 0.5014 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.442, allocations: 4 kB / 0.5014 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005925/0.4426, allocations: 240.5 kB / 0.5017 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.4426, allocations: 7.984 kB / 0.5017 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.4426, allocations: 0 / 0.5017 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4426, allocations: 0 / 0.5017 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.4428, allocations: 215 kB / 0.5019 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4429, allocations: 0 / 0.5019 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.4431, allocations: 19.97 kB / 0.5019 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.4431, allocations: 4 kB / 0.5019 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.4431, allocations: 7.984 kB / 0.5019 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.4431, allocations: 0 / 0.5019 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4431, allocations: 0 / 0.5019 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004406/0.4436, allocations: 182.8 kB / 0.5021 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.282e-05/0.4437, allocations: 93.12 kB / 0.5022 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.4437, allocations: 4 kB / 0.5022 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.4439, allocations: 7.984 kB / 0.5022 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.444, allocations: 15.92 kB / 0.5022 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.444, allocations: 0 / 0.5022 GB, free: 14.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.4442, allocations: 136.1 kB / 0.5023 GB, free: 14.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4442, allocations: 0 / 0.5023 GB, free: 14.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005187/0.4447, allocations: 131.9 kB / 0.5025 GB, free: 14.08 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.0008284/0.4455, allocations: 321.7 kB / 0.5028 GB, free: 13.76 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003021/0.4458, allocations: 75.81 kB / 0.5028 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4459, allocations: 0 / 0.5028 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.446, allocations: 43.97 kB / 0.5029 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.4462, allocations: 17.39 kB / 0.5029 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006363/0.4469, allocations: 342 kB / 0.5032 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.4471, allocations: 0.6887 MB / 0.5039 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.4473, allocations: 43.38 kB / 0.5039 GB, free: 12.51 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4473, allocations: 0 / 0.5039 GB, free: 12.51 MB / 430.1 MB Notification: Performance of Templates: time 0.007079/0.4544, allocations: 4.177 MB / 0.508 GB, free: 8.34 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