Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001137/0.001137, 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.001116/0.001116, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 247.5 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 57.94 kB / 308.4 MB, free: 15.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08438/0.08555, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002283/0.08787, allocations: 1.38 MB / 360.3 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.307/0.3948, allocations: 151.9 MB / 0.5002 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.39e-05/0.3949, allocations: 0 / 0.5002 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 4.202e-05/0.395, allocations: 3.938 kB / 0.5002 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.3962, allocations: 378.1 kB / 0.5006 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.3973, allocations: 0.5104 MB / 0.5011 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.3974, allocations: 75.64 kB / 0.5011 GB, free: 492 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.146e-05/0.3975, allocations: 0 / 0.5011 GB, free: 492 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.228e-05/0.3975, allocations: 35.84 kB / 0.5012 GB, free: 456 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.601e-05/0.3976, allocations: 35.89 kB / 0.5012 GB, free: 420 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.3976, allocations: 0 / 0.5012 GB, free: 420 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.3993, allocations: 1.087 MB / 0.5023 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.779e-05/0.3993, allocations: 15.92 kB / 0.5023 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.3994, allocations: 27.86 kB / 0.5023 GB, free: 15.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009629/0.4003, allocations: 0.6951 MB / 0.503 GB, free: 14.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4004, allocations: 3.938 kB / 0.503 GB, free: 14.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4004, allocations: 0.75 kB / 0.503 GB, free: 14.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.4004, allocations: 3.984 kB / 0.503 GB, free: 14.57 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.0005822/0.401, allocations: 455.7 kB / 0.5034 GB, free: 14.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.401, allocations: 12.02 kB / 0.5034 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004689/0.4015, allocations: 72.77 kB / 0.5035 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.4017, allocations: 188.5 kB / 0.5037 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.4017, allocations: 11.92 kB / 0.5037 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.4017, allocations: 0 / 0.5037 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.4019, allocations: 79.05 kB / 0.5038 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.4019, allocations: 0 / 0.5038 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.4019, allocations: 3.984 kB / 0.5038 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4019, allocations: 0 / 0.5038 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.402, allocations: 52.41 kB / 0.5038 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002109/0.4023, allocations: 194.5 kB / 0.504 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.4026, allocations: 117 kB / 0.5041 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.258e-05/0.4026, allocations: 37.7 kB / 0.5042 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004973/0.4031, allocations: 137 kB / 0.5043 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.4032, allocations: 38.55 kB / 0.5043 GB, free: 13.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.4032, allocations: 0 / 0.5043 GB, free: 13.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003473/0.4035, allocations: 117.5 kB / 0.5044 GB, free: 12.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.4036, allocations: 81.11 kB / 0.5045 GB, free: 12.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.4037, allocations: 137.8 kB / 0.5046 GB, free: 12.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.4037, allocations: 29.7 kB / 0.5047 GB, free: 12.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.4038, allocations: 88.12 kB / 0.5048 GB, free: 12.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.4038, allocations: 19.72 kB / 0.5048 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.4039, allocations: 21.72 kB / 0.5048 GB, free: 12.47 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.404, allocations: 322.8 kB / 0.5051 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.467e-05/0.404, allocations: 23.61 kB / 0.5051 GB, free: 12.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.421e-05/0.4041, allocations: 55.34 kB / 0.5052 GB, free: 12.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.4043, allocations: 83.72 kB / 0.5053 GB, free: 11.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4043, allocations: 3.938 kB / 0.5053 GB, free: 11.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002356/0.4045, allocations: 109.5 kB / 0.5054 GB, free: 11.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.4046, allocations: 4 kB / 0.5054 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4046, allocations: 4 kB / 0.5054 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.4046, allocations: 0 / 0.5054 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.749e-05/0.4047, allocations: 19.98 kB / 0.5054 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4047, allocations: 8.062 kB / 0.5054 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/0.4047, allocations: 3.938 kB / 0.5054 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.4047, allocations: 4 kB / 0.5054 GB, free: 11.81 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.866e-05/0.4048, allocations: 125.7 kB / 0.5055 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.4049, allocations: 7.906 kB / 0.5055 GB, free: 11.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002429/0.4051, allocations: 114.5 kB / 0.5056 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4051, allocations: 0 / 0.5056 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4052, allocations: 4 kB / 0.5057 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4052, allocations: 0 / 0.5057 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.4053, allocations: 185.5 kB / 0.5058 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4053, allocations: 4 kB / 0.5058 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.081e-05/0.4054, allocations: 11.98 kB / 0.5058 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.4054, allocations: 3.938 kB / 0.5058 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.4054, allocations: 8 kB / 0.5059 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4054, allocations: 0 / 0.5059 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4054, allocations: 0 / 0.5059 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.4058, allocations: 169.7 kB / 0.506 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.4058, allocations: 85 kB / 0.5061 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.4059, allocations: 8.016 kB / 0.5061 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.34e-05/0.4059, allocations: 1.5 kB / 0.5061 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.406, allocations: 8 kB / 0.5061 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.406, allocations: 4 kB / 0.5061 GB, free: 10.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.312e-05/0.4061, allocations: 115.2 kB / 0.5062 GB, free: 10.87 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4061, allocations: 4.062 kB / 0.5062 GB, free: 10.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004808/0.4066, allocations: 159.9 kB / 0.5064 GB, free: 10.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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0009336/0.4075, allocations: 430.3 kB / 0.5068 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.4077, allocations: 59.91 kB / 0.5069 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4077, allocations: 0 / 0.5069 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.778e-05/0.4078, allocations: 44.03 kB / 0.5069 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.4081, allocations: 26.61 kB / 0.5069 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000493/0.4086, allocations: 306.2 kB / 0.5072 GB, free: 9.836 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.4088, allocations: 0.6885 MB / 0.5079 GB, free: 9.121 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.016e-05/0.4089, allocations: 19.88 kB / 0.5079 GB, free: 9.102 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.4089, allocations: 15.44 kB / 0.5079 GB, free: 9.086 MB / 430.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4089, allocations: 4 kB / 0.5079 GB, free: 9.082 MB / 430.1 MB Notification: Performance of Templates: time 0.008295/0.4172, allocations: 4.726 MB / 0.5125 GB, free: 4.371 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches