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.001477/0.001477, allocations: 113.6 kB / 17.69 MB, free: 5.297 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.001628/0.001628, allocations: 191 kB / 18.63 MB, free: 4.363 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.342/1.342, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000963/0.000963, allocations: 48.56 kB / 302 MB, free: 5.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08158/0.08256, allocations: 49.46 MB / 351.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002247/0.08484, allocations: 1.338 MB / 352.8 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.2969/0.3818, allocations: 148.7 MB / 0.4898 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.3819, allocations: 0 / 0.4898 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.939e-05/0.382, allocations: 11.86 kB / 0.4898 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009035/0.3829, allocations: 235.7 kB / 0.4901 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009413/0.3838, allocations: 392.3 kB / 0.4904 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.748e-05/0.3839, allocations: 55.7 kB / 0.4905 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.384, allocations: 7.797 kB / 0.4905 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.172e-05/0.384, allocations: 27.86 kB / 0.4905 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.017e-05/0.3841, allocations: 27.91 kB / 0.4906 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.3841, allocations: 4 kB / 0.4906 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.3852, allocations: 0.6628 MB / 0.4912 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.3852, allocations: 15.92 kB / 0.4912 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.3852, allocations: 15.94 kB / 0.4912 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006844/0.3859, allocations: 0.4912 MB / 0.4917 GB, free: 12.15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3859, allocations: 0 / 0.4917 GB, free: 12.15 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3859, allocations: 0 / 0.4917 GB, free: 12.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3859, allocations: 0 / 0.4917 GB, free: 12.15 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.0005106/0.3865, allocations: 423.8 kB / 0.4921 GB, free: 11.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.3865, allocations: 12.03 kB / 0.4921 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.3876, allocations: 93.3 kB / 0.4922 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.3878, allocations: 231.9 kB / 0.4924 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3878, allocations: 0 / 0.4924 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.3879, allocations: 8 kB / 0.4924 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.3881, allocations: 83.33 kB / 0.4925 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.3881, allocations: 0 / 0.4925 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3881, allocations: 11.47 kB / 0.4925 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3881, allocations: 4 kB / 0.4925 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.3883, allocations: 43.89 kB / 0.4926 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.3885, allocations: 206.9 kB / 0.4928 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004586/0.389, allocations: 129.1 kB / 0.4929 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.3891, allocations: 37.77 kB / 0.4929 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005713/0.3897, allocations: 0.9823 MB / 0.4939 GB, free: 9.516 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.3897, allocations: 34.56 kB / 0.4939 GB, free: 9.473 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.695e-06/0.3897, allocations: 3.984 kB / 0.4939 GB, free: 9.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004622/0.3902, allocations: 137.4 kB / 0.4941 GB, free: 9.328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.3903, allocations: 77.11 kB / 0.4941 GB, free: 9.234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.3905, allocations: 162.6 kB / 0.4943 GB, free: 9.066 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.3905, allocations: 25.7 kB / 0.4943 GB, free: 9.035 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/0.3905, allocations: 92.14 kB / 0.4944 GB, free: 8.941 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.3906, allocations: 23.64 kB / 0.4944 GB, free: 8.918 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.3907, allocations: 25.7 kB / 0.4945 GB, free: 8.887 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3908, allocations: 330.8 kB / 0.4948 GB, free: 8.555 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.765e-05/0.3909, allocations: 19.98 kB / 0.4948 GB, free: 8.535 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.391, allocations: 51.41 kB / 0.4948 GB, free: 8.473 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.3912, allocations: 91.33 kB / 0.4949 GB, free: 8.371 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3912, allocations: 0 / 0.4949 GB, free: 8.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000314/0.3915, allocations: 113.5 kB / 0.495 GB, free: 8.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.3916, allocations: 8 kB / 0.495 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3916, allocations: 3.984 kB / 0.495 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3916, allocations: 0 / 0.495 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.3917, allocations: 31.91 kB / 0.4951 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.3918, allocations: 5.719 kB / 0.4951 GB, free: 8.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.3919, allocations: 12.84 kB / 0.4951 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.392, allocations: 11.98 kB / 0.4951 GB, free: 8.184 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.606e-05/0.3921, allocations: 117.7 kB / 0.4952 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.3921, allocations: 4 kB / 0.4952 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005471/0.3927, allocations: 244.8 kB / 0.4955 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3927, allocations: 0 / 0.4955 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3927, allocations: 5.688 kB / 0.4955 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3927, allocations: 0 / 0.4955 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.3929, allocations: 218.9 kB / 0.4957 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3929, allocations: 0 / 0.4957 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.3931, allocations: 23.91 kB / 0.4957 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3931, allocations: 0.5156 kB / 0.4957 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.3931, allocations: 8 kB / 0.4957 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3931, allocations: 4 kB / 0.4957 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3931, allocations: 3.938 kB / 0.4957 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.3935, allocations: 177.8 kB / 0.4959 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.3936, allocations: 89.08 kB / 0.496 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.3936, allocations: 4 kB / 0.496 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.3938, allocations: 19.98 kB / 0.496 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.3939, allocations: 7.922 kB / 0.496 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.3939, allocations: 4 kB / 0.496 GB, free: 7.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.394, allocations: 131.2 kB / 0.4961 GB, free: 7.051 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3941, allocations: 0 / 0.4961 GB, free: 7.051 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000447/0.3945, allocations: 135.9 kB / 0.4963 GB, free: 6.918 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.0006414/0.3952, allocations: 310.4 kB / 0.4965 GB, free: 6.617 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000274/0.3954, allocations: 84.58 kB / 0.4966 GB, free: 6.535 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3955, allocations: 0 / 0.4966 GB, free: 6.535 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.3956, allocations: 39.91 kB / 0.4967 GB, free: 6.496 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.3958, allocations: 12 kB / 0.4967 GB, free: 6.484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005176/0.3963, allocations: 303.6 kB / 0.497 GB, free: 6.164 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.3965, allocations: 0.6883 MB / 0.4976 GB, free: 5.449 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004913/0.397, allocations: 435 kB / 0.4981 GB, free: 5.023 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.3971, allocations: 35.39 kB / 0.4981 GB, free: 4.988 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3972, allocations: 3.938 kB / 0.4981 GB, free: 4.984 MB / 414.1 MB Notification: Performance of Templates: time 0.008211/0.4054, allocations: 5.189 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 gbode -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