Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 109.1 kB / 17.16 MB, free: 6.324 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.001108/0.001108, allocations: 198.9 kB / 18.08 MB, free: 5.422 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.326/1.326, allocations: 222.9 MB / 241.8 MB, free: 13.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 46.52 kB / 300.6 MB, free: 6.09 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09601/0.09716, allocations: 49.44 MB / 350 MB, free: 4.641 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002692/0.0999, allocations: 1.434 MB / 351.5 MB, free: 3.191 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.3373/0.4372, allocations: 146.8 MB / 498.3 MB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.853e-05/0.4373, allocations: 0 / 498.3 MB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.232e-05/0.4374, allocations: 4 kB / 498.3 MB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.4387, allocations: 331.7 kB / 498.6 MB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.44, allocations: 458.6 kB / 499.1 MB, free: 224 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.4402, allocations: 103.6 kB / 499.2 MB, free: 120 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.4402, allocations: 8 kB / 499.2 MB, free: 112 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.14e-05/0.4403, allocations: 31.86 kB / 499.2 MB, free: 80 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.92e-05/0.4404, allocations: 35.89 kB / 499.3 MB, free: 44 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.4405, allocations: 4 kB / 499.3 MB, free: 40 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/0.4429, allocations: 1.237 MB / 0.4888 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.443, allocations: 11.81 kB / 0.4888 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.975e-05/0.443, allocations: 27.86 kB / 0.4888 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.4441, allocations: 0.5224 MB / 0.4893 GB, free: 14.24 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4442, allocations: 3.938 kB / 0.4893 GB, free: 14.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4442, allocations: 0 / 0.4893 GB, free: 14.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.4442, allocations: 0 / 0.4893 GB, free: 14.23 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.0007107/0.4449, allocations: 455.8 kB / 0.4897 GB, free: 13.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.4449, allocations: 8.031 kB / 0.4898 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005126/0.4455, allocations: 72.36 kB / 0.4898 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.4456, allocations: 204.4 kB / 0.49 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.4457, allocations: 11.88 kB / 0.49 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.4457, allocations: 4 kB / 0.49 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.4459, allocations: 67.39 kB / 0.4901 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.4459, allocations: 4 kB / 0.4901 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.4459, allocations: 0 / 0.4901 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4459, allocations: 0 / 0.4901 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.446, allocations: 39.97 kB / 0.4901 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000224/0.4463, allocations: 198.5 kB / 0.4903 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.4466, allocations: 117.1 kB / 0.4904 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.723e-05/0.4467, allocations: 37.77 kB / 0.4905 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006147/0.4473, allocations: 137 kB / 0.4906 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.4474, allocations: 39.38 kB / 0.4906 GB, free: 12.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.4474, allocations: 0 / 0.4906 GB, free: 12.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.000396/0.4478, allocations: 117.5 kB / 0.4908 GB, free: 12.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.4478, allocations: 81.11 kB / 0.4908 GB, free: 12.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.448, allocations: 137.8 kB / 0.491 GB, free: 12.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.448, allocations: 25.7 kB / 0.491 GB, free: 12.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.4481, allocations: 92.12 kB / 0.4911 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.4481, allocations: 23.66 kB / 0.4911 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.4481, allocations: 25.7 kB / 0.4911 GB, free: 12.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.4483, allocations: 318.8 kB / 0.4914 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.858e-05/0.4483, allocations: 19.98 kB / 0.4914 GB, free: 11.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.165e-05/0.4484, allocations: 51.41 kB / 0.4915 GB, free: 11.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.4486, allocations: 87.7 kB / 0.4916 GB, free: 11.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.4486, allocations: 3.938 kB / 0.4916 GB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002532/0.4489, allocations: 109.5 kB / 0.4917 GB, free: 11.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.4489, allocations: 7.938 kB / 0.4917 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.4489, allocations: 4 kB / 0.4917 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4489, allocations: 6.438 kB / 0.4917 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.449, allocations: 15.98 kB / 0.4917 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.449, allocations: 4.062 kB / 0.4917 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.4491, allocations: 4 kB / 0.4917 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.4491, allocations: 4 kB / 0.4917 GB, free: 11.47 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 8.861e-05/0.4492, allocations: 117.8 kB / 0.4918 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.4492, allocations: 11.89 kB / 0.4919 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.4495, allocations: 114.5 kB / 0.492 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.4495, allocations: 4 kB / 0.492 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4495, allocations: 4 kB / 0.492 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.4495, allocations: 0 / 0.492 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.4497, allocations: 185.5 kB / 0.4922 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.4497, allocations: 7.984 kB / 0.4922 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.967e-05/0.4498, allocations: 15.94 kB / 0.4922 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.4498, allocations: 0 / 0.4922 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.4498, allocations: 4 kB / 0.4922 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.4498, allocations: 0 / 0.4922 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4498, allocations: 0 / 0.4922 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.4501, allocations: 171 kB / 0.4923 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.4502, allocations: 85 kB / 0.4924 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.4502, allocations: 4.031 kB / 0.4924 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.238e-05/0.4503, allocations: 0 / 0.4924 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.4504, allocations: 11.94 kB / 0.4924 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.984e-06/0.4504, allocations: 3.984 kB / 0.4924 GB, free: 10.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.264e-05/0.4504, allocations: 111.3 kB / 0.4925 GB, free: 10.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4505, allocations: 4.062 kB / 0.4926 GB, free: 10.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006048/0.4511, allocations: 163.8 kB / 0.4927 GB, free: 10.37 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 (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.001205/0.4523, allocations: 436.1 kB / 0.4931 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.4525, allocations: 63.89 kB / 0.4932 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4525, allocations: 4 kB / 0.4932 GB, free: 9.883 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.551e-05/0.4526, allocations: 27.98 kB / 0.4932 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.4528, allocations: 28.05 kB / 0.4932 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005725/0.4534, allocations: 345.2 kB / 0.4936 GB, free: 9.453 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.4537, allocations: 0.6926 MB / 0.4942 GB, free: 8.734 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.4537, allocations: 15.44 kB / 0.4943 GB, free: 8.719 MB / 414.1 MB Notification: Performance of SimCode: time 1.633e-06/0.4537, allocations: 0 / 0.4943 GB, free: 8.719 MB / 414.1 MB Notification: Performance of Templates: time 0.00683/0.4606, allocations: 3.967 MB / 0.4981 GB, free: 4.762 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches