Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 111.8 kB / 17.68 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 190.9 kB / 18.62 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009774/0.0009777, allocations: 51.66 kB / 302 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08224/0.08323, allocations: 49.43 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002187/0.08546, allocations: 1.359 MB / 352.8 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.2799/0.3654, allocations: 148.7 MB / 0.4898 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.847e-05/0.3655, allocations: 0 / 0.4898 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.3656, allocations: 3.938 kB / 0.4898 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009657/0.3666, allocations: 239.7 kB / 0.4901 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008937/0.3675, allocations: 389 kB / 0.4904 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.208e-05/0.3676, allocations: 59.66 kB / 0.4905 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.3676, allocations: 11.8 kB / 0.4905 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.665e-05/0.3677, allocations: 23.86 kB / 0.4905 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.458e-05/0.3678, allocations: 27.91 kB / 0.4905 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.3678, allocations: 6.531 kB / 0.4905 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.3689, allocations: 0.6706 MB / 0.4912 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.3689, allocations: 4 kB / 0.4912 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.602e-05/0.3689, allocations: 27.86 kB / 0.4912 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006907/0.3696, allocations: 495 kB / 0.4917 GB, free: 12.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3696, allocations: 4 kB / 0.4917 GB, free: 12.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3696, allocations: 0 / 0.4917 GB, free: 12.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.3696, allocations: 0 / 0.4917 GB, free: 12.16 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.000474/0.3701, allocations: 419.8 kB / 0.4921 GB, free: 11.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.3702, allocations: 12.03 kB / 0.4921 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.3713, allocations: 94.17 kB / 0.4922 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.3716, allocations: 227.9 kB / 0.4924 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.3716, allocations: 0 / 0.4924 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.3716, allocations: 4 kB / 0.4924 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.3719, allocations: 95.33 kB / 0.4925 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.3719, allocations: 3.938 kB / 0.4925 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3719, allocations: 0 / 0.4925 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3719, allocations: 5.047 kB / 0.4925 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.3721, allocations: 55.88 kB / 0.4926 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002516/0.3723, allocations: 202.9 kB / 0.4928 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.3728, allocations: 125.1 kB / 0.4929 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.3729, allocations: 41.69 kB / 0.4929 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006126/0.3735, allocations: 0.9823 MB / 0.4939 GB, free: 9.527 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.3736, allocations: 38.55 kB / 0.4939 GB, free: 9.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3736, allocations: 0 / 0.4939 GB, free: 9.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004653/0.3741, allocations: 137.4 kB / 0.4941 GB, free: 9.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.3741, allocations: 77.11 kB / 0.4941 GB, free: 9.246 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.3743, allocations: 153.8 kB / 0.4943 GB, free: 9.086 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.3743, allocations: 29.7 kB / 0.4943 GB, free: 9.051 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.225e-05/0.3744, allocations: 84.14 kB / 0.4944 GB, free: 8.965 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.3744, allocations: 35.62 kB / 0.4944 GB, free: 8.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.3745, allocations: 33.69 kB / 0.4945 GB, free: 8.891 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3746, allocations: 314.8 kB / 0.4948 GB, free: 8.574 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.98e-05/0.3747, allocations: 31.97 kB / 0.4948 GB, free: 8.543 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.3748, allocations: 52.19 kB / 0.4948 GB, free: 8.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.3751, allocations: 83.34 kB / 0.4949 GB, free: 8.387 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3751, allocations: 0 / 0.4949 GB, free: 8.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003192/0.3754, allocations: 122.7 kB / 0.495 GB, free: 8.262 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3754, allocations: 4 kB / 0.495 GB, free: 8.258 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.3754, allocations: 4 kB / 0.495 GB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3754, allocations: 4.062 kB / 0.495 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.3756, allocations: 28.44 kB / 0.4951 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3756, allocations: 0 / 0.4951 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.3758, allocations: 11.89 kB / 0.4951 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.3758, allocations: 4 kB / 0.4951 GB, free: 8.207 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 7.592e-05/0.3759, allocations: 125.7 kB / 0.4952 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.376, allocations: 7.984 kB / 0.4952 GB, free: 8.066 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005651/0.3765, allocations: 245.6 kB / 0.4955 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.3765, allocations: 0 / 0.4955 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.3766, allocations: 0 / 0.4955 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3766, allocations: 3.938 kB / 0.4955 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.3767, allocations: 218.9 kB / 0.4957 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3768, allocations: 4.062 kB / 0.4957 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/0.3769, allocations: 23.97 kB / 0.4957 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.377, allocations: 4 kB / 0.4957 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.377, allocations: 0 / 0.4957 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.377, allocations: 0 / 0.4957 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.377, allocations: 4 kB / 0.4957 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.3774, allocations: 181.7 kB / 0.4959 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.559e-05/0.3775, allocations: 93.11 kB / 0.496 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.3775, allocations: 0 / 0.496 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.3777, allocations: 4 kB / 0.496 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.3777, allocations: 11.98 kB / 0.496 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.3777, allocations: 7.938 kB / 0.496 GB, free: 7.195 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.3779, allocations: 132.9 kB / 0.4961 GB, free: 7.066 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3779, allocations: 0 / 0.4961 GB, free: 7.066 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000444/0.3784, allocations: 139.8 kB / 0.4962 GB, free: 6.93 MB / 414.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.000791/0.3792, allocations: 308.3 kB / 0.4965 GB, free: 6.625 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000347/0.3795, allocations: 79.81 kB / 0.4966 GB, free: 6.547 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3795, allocations: 0 / 0.4966 GB, free: 6.547 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.3797, allocations: 48.05 kB / 0.4967 GB, free: 6.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.3799, allocations: 11.98 kB / 0.4967 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/0.3804, allocations: 295.9 kB / 0.497 GB, free: 6.172 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.3806, allocations: 0.6961 MB / 0.4976 GB, free: 5.449 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004895/0.3811, allocations: 423.8 kB / 0.498 GB, free: 5.035 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.3812, allocations: 47.39 kB / 0.4981 GB, free: 4.988 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3812, allocations: 0 / 0.4981 GB, free: 4.988 MB / 414.1 MB Notification: Performance of Templates: time 0.008247/0.3895, allocations: 5.19 MB / 0.5032 GB, free: 15.8 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches