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.0009144/0.0009147, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 205.8 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.7 MB / 246.8 MB, free: 9.758 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002089/0.0002089, allocations: 4 kB / 307.7 MB, free: 0.6016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08423/0.08445, allocations: 51.53 MB / 359.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001364/0.08586, allocations: 1.089 MB / 360.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2997/0.3856, allocations: 147.8 MB / 0.4962 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.3857, allocations: 0 / 0.4962 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.3857, allocations: 11.98 kB / 0.4962 GB, free: 6.754 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00083/0.3866, allocations: 199.8 kB / 0.4964 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009324/0.3875, allocations: 330.6 kB / 0.4967 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.762e-05/0.3876, allocations: 59.64 kB / 0.4968 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.044e-05/0.3877, allocations: 4 kB / 0.4968 GB, free: 6.184 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.135e-05/0.3877, allocations: 19.94 kB / 0.4968 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.463e-05/0.3878, allocations: 35.83 kB / 0.4968 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.3878, allocations: 8 kB / 0.4969 GB, free: 6.121 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.3889, allocations: 0.6251 MB / 0.4975 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.389, allocations: 8 kB / 0.4975 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.389, allocations: 49.56 kB / 0.4975 GB, free: 5.434 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008024/0.3898, allocations: 0.495 MB / 0.498 GB, free: 4.938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.3898, allocations: 0 / 0.498 GB, free: 4.938 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3898, allocations: 0 / 0.498 GB, free: 4.938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.3898, allocations: 0 / 0.498 GB, free: 4.938 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.0005188/0.3904, allocations: 423.9 kB / 0.4984 GB, free: 4.477 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3904, allocations: 12.03 kB / 0.4984 GB, free: 4.465 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.3917, allocations: 104.7 kB / 0.4985 GB, free: 4.363 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.3921, allocations: 219.9 kB / 0.4987 GB, free: 4.109 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.3921, allocations: 8.562 kB / 0.4987 GB, free: 4.102 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.3921, allocations: 7.984 kB / 0.4987 GB, free: 4.094 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.3923, allocations: 95.27 kB / 0.4988 GB, free: 3.988 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3924, allocations: 0 / 0.4988 GB, free: 3.988 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3924, allocations: 3.938 kB / 0.4988 GB, free: 3.984 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.3924, allocations: 0 / 0.4988 GB, free: 3.984 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.3926, allocations: 46.58 kB / 0.4989 GB, free: 3.941 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.3928, allocations: 218.6 kB / 0.4991 GB, free: 3.676 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/0.3933, allocations: 121.1 kB / 0.4992 GB, free: 3.539 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.3934, allocations: 41.75 kB / 0.4992 GB, free: 3.492 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006625/0.3941, allocations: 0.9901 MB / 0.5002 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.3941, allocations: 34.56 kB / 0.5002 GB, free: 2.238 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.3941, allocations: 0 / 0.5002 GB, free: 2.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004745/0.3946, allocations: 133.8 kB / 0.5004 GB, free: 2.102 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.3947, allocations: 81.11 kB / 0.5005 GB, free: 2.004 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.3949, allocations: 153.8 kB / 0.5006 GB, free: 1.844 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.3949, allocations: 33.64 kB / 0.5006 GB, free: 1.805 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.395, allocations: 84.14 kB / 0.5007 GB, free: 1.719 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.3951, allocations: 23.66 kB / 0.5007 GB, free: 1.695 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.3951, allocations: 13.72 kB / 0.5007 GB, free: 1.676 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3952, allocations: 322.8 kB / 0.5011 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.3953, allocations: 23.97 kB / 0.5011 GB, free: 1.328 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.3954, allocations: 55.41 kB / 0.5011 GB, free: 1.262 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.3957, allocations: 83.34 kB / 0.5012 GB, free: 1.168 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3957, allocations: 0 / 0.5012 GB, free: 1.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003275/0.396, allocations: 122.3 kB / 0.5013 GB, free: 1.043 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.396, allocations: 8.062 kB / 0.5013 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.396, allocations: 0 / 0.5013 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3961, allocations: 4 kB / 0.5013 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.3962, allocations: 27.91 kB / 0.5014 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3962, allocations: 4 kB / 0.5014 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.3964, allocations: 4 kB / 0.5014 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.3964, allocations: 11.98 kB / 0.5014 GB, free: 0.9844 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 9.111e-05/0.3965, allocations: 113.7 kB / 0.5015 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.3966, allocations: 15.84 kB / 0.5015 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005459/0.3971, allocations: 238.1 kB / 0.5017 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.3972, allocations: 4 kB / 0.5017 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3972, allocations: 0 / 0.5017 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3972, allocations: 0 / 0.5017 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.3974, allocations: 230.8 kB / 0.502 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3974, allocations: 3.938 kB / 0.502 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.3976, allocations: 19.97 kB / 0.502 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3976, allocations: 0 / 0.502 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.3976, allocations: 8 kB / 0.502 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3976, allocations: 0 / 0.502 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3976, allocations: 0 / 0.502 GB, free: 316 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004042/0.398, allocations: 181.8 kB / 0.5022 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.337e-05/0.3981, allocations: 97.2 kB / 0.5023 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.3982, allocations: 11.31 kB / 0.5023 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.3984, allocations: 0 / 0.5023 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.3984, allocations: 11.97 kB / 0.5023 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.3984, allocations: 4 kB / 0.5023 GB, free: 15.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.3986, allocations: 127.2 kB / 0.5024 GB, free: 15.85 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3986, allocations: 4.062 kB / 0.5024 GB, free: 15.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000459/0.3991, allocations: 131.9 kB / 0.5025 GB, free: 15.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.0007192/0.3998, allocations: 322 kB / 0.5028 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.4001, allocations: 75.81 kB / 0.5029 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.4001, allocations: 8.125 kB / 0.5029 GB, free: 15.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.4002, allocations: 39.91 kB / 0.503 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.4005, allocations: 16.22 kB / 0.503 GB, free: 15.26 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005633/0.401, allocations: 353.4 kB / 0.5033 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.4013, allocations: 0.6926 MB / 0.504 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005854/0.4019, allocations: 434.9 kB / 0.5044 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.402, allocations: 47.39 kB / 0.5044 GB, free: 13.7 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.402, allocations: 0 / 0.5044 GB, free: 13.7 MB / 430.1 MB Notification: Performance of Templates: time 0.008726/0.4107, allocations: 5.054 MB / 0.5094 GB, free: 8.652 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