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.0008245/0.0008246, allocations: 93.27 kB / 16.65 MB, free: 6.535 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.0008752/0.0008752, allocations: 176.3 kB / 17.56 MB, free: 6.18 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.301/1.301, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002401/0.0002402, allocations: 15.92 kB / 301.4 MB, free: 5.906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08112/0.08138, allocations: 50.41 MB / 351.8 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001336/0.08275, allocations: 1.083 MB / 352.9 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.3025/0.3853, allocations: 144.9 MB / 497.8 MB, free: 3.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.3853, allocations: 0 / 497.8 MB, free: 3.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/0.3854, allocations: 7.922 kB / 497.8 MB, free: 3.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006971/0.3861, allocations: 199.1 kB / 498 MB, free: 3.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007793/0.3869, allocations: 340.2 kB / 498.3 MB, free: 3.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.772e-05/0.3869, allocations: 52.39 kB / 498.4 MB, free: 3.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.172e-05/0.387, allocations: 3.984 kB / 498.4 MB, free: 3.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.274e-05/0.387, allocations: 27.86 kB / 498.4 MB, free: 3.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.286e-05/0.3871, allocations: 31.91 kB / 498.5 MB, free: 2.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.3871, allocations: 0 / 498.5 MB, free: 2.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009581/0.3881, allocations: 0.616 MB / 499.1 MB, free: 2.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.3881, allocations: 15.86 kB / 499.1 MB, free: 2.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.133e-05/0.3882, allocations: 43.61 kB / 499.1 MB, free: 2.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006531/0.3888, allocations: 0.5003 MB / 499.6 MB, free: 1.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3888, allocations: 0 / 499.6 MB, free: 1.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3889, allocations: 0 / 499.6 MB, free: 1.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.3889, allocations: 0 / 499.6 MB, free: 1.809 MB / 398.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.0004516/0.3893, allocations: 419.8 kB / 0.4883 GB, free: 1.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.3894, allocations: 12.03 kB / 0.4883 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.3904, allocations: 97.7 kB / 0.4884 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.3906, allocations: 216.1 kB / 0.4886 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.3907, allocations: 0 / 0.4886 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.3907, allocations: 7.906 kB / 0.4886 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.3909, allocations: 91.33 kB / 0.4887 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.3909, allocations: 3.938 kB / 0.4887 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.3909, allocations: 4 kB / 0.4887 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.391, allocations: 7.984 kB / 0.4887 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.3911, allocations: 39.95 kB / 0.4888 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.3914, allocations: 210.9 kB / 0.489 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/0.3918, allocations: 129.1 kB / 0.4891 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.3919, allocations: 37.77 kB / 0.4891 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005821/0.3925, allocations: 0.9862 MB / 0.4901 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.3925, allocations: 34.56 kB / 0.4901 GB, free: 15.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3926, allocations: 3.938 kB / 0.4901 GB, free: 15.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004433/0.393, allocations: 133.5 kB / 0.4903 GB, free: 14.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.3931, allocations: 81.09 kB / 0.4904 GB, free: 14.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.3933, allocations: 154.5 kB / 0.4905 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.3933, allocations: 25.7 kB / 0.4905 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.3933, allocations: 88.14 kB / 0.4906 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.3934, allocations: 19.64 kB / 0.4906 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.3934, allocations: 17.72 kB / 0.4906 GB, free: 14.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.878e-05/0.3935, allocations: 326.7 kB / 0.491 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.3936, allocations: 27.97 kB / 0.491 GB, free: 14.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.3937, allocations: 51.72 kB / 0.491 GB, free: 14.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.394, allocations: 83.33 kB / 0.4911 GB, free: 14.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.394, allocations: 4 kB / 0.4911 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003038/0.3943, allocations: 117.5 kB / 0.4912 GB, free: 13.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.3943, allocations: 4 kB / 0.4912 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3943, allocations: 0 / 0.4912 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3943, allocations: 4 kB / 0.4912 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.3945, allocations: 27.97 kB / 0.4913 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3945, allocations: 8.156 kB / 0.4913 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.3947, allocations: 11.92 kB / 0.4913 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.3947, allocations: 12.45 kB / 0.4913 GB, free: 13.87 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.238e-05/0.3948, allocations: 113.8 kB / 0.4914 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.3948, allocations: 3.906 kB / 0.4914 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005443/0.3954, allocations: 239.2 kB / 0.4916 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3954, allocations: 4 kB / 0.4916 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.3954, allocations: 0 / 0.4916 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3954, allocations: 3.984 kB / 0.4916 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.3956, allocations: 211 kB / 0.4918 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3956, allocations: 0 / 0.4918 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.3958, allocations: 24.78 kB / 0.4919 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3958, allocations: 4 kB / 0.4919 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.3958, allocations: 7.984 kB / 0.4919 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.3958, allocations: 3.984 kB / 0.4919 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3958, allocations: 0 / 0.4919 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.3962, allocations: 185.7 kB / 0.4921 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.398e-05/0.3963, allocations: 99.91 kB / 0.4922 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.3964, allocations: 8.062 kB / 0.4922 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.3965, allocations: 15.92 kB / 0.4922 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.3966, allocations: 4 kB / 0.4922 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.3966, allocations: 7.984 kB / 0.4922 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.3968, allocations: 127.2 kB / 0.4923 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.352e-06/0.3968, allocations: 4 kB / 0.4923 GB, free: 12.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004432/0.3972, allocations: 127.9 kB / 0.4924 GB, free: 12.6 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.0006437/0.3979, allocations: 314.3 kB / 0.4927 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002627/0.3982, allocations: 83.8 kB / 0.4928 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3982, allocations: 0 / 0.4928 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.3983, allocations: 39.92 kB / 0.4928 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.3985, allocations: 16.11 kB / 0.4929 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005416/0.3991, allocations: 359.3 kB / 0.4932 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.3993, allocations: 0.6926 MB / 0.4939 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005756/0.3999, allocations: 434.9 kB / 0.4943 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.4, allocations: 43.39 kB / 0.4943 GB, free: 10.59 MB / 414.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4, allocations: 0 / 0.4943 GB, free: 10.59 MB / 414.1 MB Notification: Performance of Templates: time 0.008225/0.4082, allocations: 5.015 MB / 0.4992 GB, free: 5.578 MB / 414.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 -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/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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches