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.001434/0.001434, allocations: 107.1 kB / 17.33 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001647/0.001647, allocations: 205.8 kB / 18.26 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 64.3 kB / 306.4 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1337, allocations: 50.52 MB / 357 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.003977/0.1377, allocations: 1.436 MB / 358.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3276/0.4653, allocations: 149.4 MB / 0.4959 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.174e-05/0.4654, allocations: 0 / 0.4959 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.401e-05/0.4655, allocations: 3.938 kB / 0.4959 GB, free: 4.809 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007926/0.4663, allocations: 212.9 kB / 0.4961 GB, free: 4.605 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009243/0.4672, allocations: 374.4 kB / 0.4965 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.111e-05/0.4673, allocations: 55.72 kB / 0.4966 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.351e-05/0.4673, allocations: 7.984 kB / 0.4966 GB, free: 4.184 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.929e-05/0.4674, allocations: 19.88 kB / 0.4966 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.308e-05/0.4674, allocations: 27.91 kB / 0.4966 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.4675, allocations: 4 kB / 0.4966 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.4685, allocations: 0.6433 MB / 0.4972 GB, free: 3.488 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.4685, allocations: 11.88 kB / 0.4972 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.203e-05/0.4686, allocations: 27.91 kB / 0.4973 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007356/0.4693, allocations: 0.4911 MB / 0.4978 GB, free: 2.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4693, allocations: 4 kB / 0.4978 GB, free: 2.953 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4693, allocations: 0 / 0.4978 GB, free: 2.953 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.4694, allocations: 0 / 0.4978 GB, free: 2.953 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.0005023/0.4699, allocations: 435.7 kB / 0.4982 GB, free: 2.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.4699, allocations: 8.031 kB / 0.4982 GB, free: 2.473 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.4713, allocations: 109.5 kB / 0.4983 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.4715, allocations: 220 kB / 0.4985 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.4716, allocations: 4 kB / 0.4985 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.4716, allocations: 4 kB / 0.4985 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.4718, allocations: 87.33 kB / 0.4986 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.4718, allocations: 7.938 kB / 0.4986 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.4718, allocations: 0 / 0.4986 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.4719, allocations: 4 kB / 0.4986 GB, free: 1.996 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.472, allocations: 47.61 kB / 0.4986 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.4723, allocations: 218.6 kB / 0.4989 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005035/0.4728, allocations: 125.1 kB / 0.499 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.4729, allocations: 37.75 kB / 0.499 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005911/0.4735, allocations: 0.9862 MB / 0.5 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.4736, allocations: 34.56 kB / 0.5 GB, free: 260 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.4736, allocations: 0 / 0.5 GB, free: 260 kB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004851/0.4741, allocations: 137.7 kB / 0.5001 GB, free: 116 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.4741, allocations: 85.11 kB / 0.5002 GB, free: 12 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.4743, allocations: 154.7 kB / 0.5004 GB, free: 15.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.4744, allocations: 25.7 kB / 0.5004 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.4744, allocations: 84.14 kB / 0.5005 GB, free: 15.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.4745, allocations: 23.66 kB / 0.5005 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.4745, allocations: 33.62 kB / 0.5005 GB, free: 15.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.4746, allocations: 322.8 kB / 0.5008 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.4747, allocations: 31.98 kB / 0.5009 GB, free: 15.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.4749, allocations: 49.67 kB / 0.5009 GB, free: 15.26 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.4751, allocations: 83.33 kB / 0.501 GB, free: 15.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4751, allocations: 8 kB / 0.501 GB, free: 15.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003341/0.4755, allocations: 113.6 kB / 0.5011 GB, free: 15.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.4755, allocations: 4 kB / 0.5011 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4755, allocations: 0 / 0.5011 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4755, allocations: 4 kB / 0.5011 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.4757, allocations: 28.66 kB / 0.5011 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.4757, allocations: 7.922 kB / 0.5011 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.4759, allocations: 11.91 kB / 0.5012 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.4759, allocations: 12.05 kB / 0.5012 GB, free: 14.97 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.671e-05/0.476, allocations: 121.7 kB / 0.5013 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.4761, allocations: 0 / 0.5013 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005869/0.4767, allocations: 245.8 kB / 0.5015 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.4767, allocations: 4 kB / 0.5015 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4767, allocations: 0 / 0.5015 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4767, allocations: 3.984 kB / 0.5015 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.4769, allocations: 215 kB / 0.5017 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4769, allocations: 0 / 0.5017 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.4771, allocations: 27.91 kB / 0.5018 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4771, allocations: 0 / 0.5018 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.4771, allocations: 7.984 kB / 0.5018 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.4771, allocations: 0 / 0.5018 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4771, allocations: 3.938 kB / 0.5018 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004248/0.4776, allocations: 185.9 kB / 0.5019 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/0.4777, allocations: 85.12 kB / 0.502 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.4777, allocations: 7.984 kB / 0.502 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.4779, allocations: 7.984 kB / 0.502 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.478, allocations: 8.062 kB / 0.5021 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.478, allocations: 3.984 kB / 0.5021 GB, free: 13.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001603/0.4781, allocations: 135.2 kB / 0.5022 GB, free: 13.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4781, allocations: 0 / 0.5022 GB, free: 13.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004596/0.4786, allocations: 131.9 kB / 0.5023 GB, free: 13.71 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.0006918/0.4793, allocations: 309.5 kB / 0.5026 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002935/0.4796, allocations: 87.81 kB / 0.5027 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4796, allocations: 0 / 0.5027 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.4798, allocations: 43.91 kB / 0.5027 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.48, allocations: 8.781 kB / 0.5027 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005406/0.4805, allocations: 322.9 kB / 0.503 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.4808, allocations: 0.6846 MB / 0.5037 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005638/0.4813, allocations: 436.1 kB / 0.5041 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.4815, allocations: 43.33 kB / 0.5042 GB, free: 11.75 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4815, allocations: 0 / 0.5042 GB, free: 11.75 MB / 430.1 MB Notification: Performance of Templates: time 0.008621/0.4901, allocations: 5.196 MB / 0.5092 GB, free: 6.559 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/jenkins/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/jenkins/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