Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001124/0.001124, allocations: 109.2 kB / 17.73 MB, free: 5.301 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.001094/0.001094, allocations: 188.2 kB / 18.66 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 51.92 kB / 328.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08223/0.08342, allocations: 46.62 MB / 375.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002259/0.08572, allocations: 1.373 MB / 376.5 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3143/0.4001, allocations: 150.8 MB / 0.5149 GB, free: 7.004 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/0.4003, allocations: 4 kB / 0.5149 GB, free: 7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.419e-05/0.4003, allocations: 7.922 kB / 0.5149 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.4014, allocations: 350.5 kB / 0.5153 GB, free: 6.648 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.4033, allocations: 0.8109 MB / 0.516 GB, free: 5.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.4034, allocations: 75.64 kB / 0.5161 GB, free: 5.766 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.4034, allocations: 11.92 kB / 0.5161 GB, free: 5.754 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.464e-05/0.4035, allocations: 31.91 kB / 0.5162 GB, free: 5.723 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.373e-05/0.4036, allocations: 39.78 kB / 0.5162 GB, free: 5.684 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.4036, allocations: 4 kB / 0.5162 GB, free: 5.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002027/0.4056, allocations: 1.407 MB / 0.5176 GB, free: 4.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.783e-05/0.4057, allocations: 11.98 kB / 0.5176 GB, free: 4.258 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.4057, allocations: 23.88 kB / 0.5176 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.4068, allocations: 0.8613 MB / 0.5184 GB, free: 3.371 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4068, allocations: 4 kB / 0.5185 GB, free: 3.367 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4068, allocations: 4 kB / 0.5185 GB, free: 3.363 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.4069, allocations: 0 / 0.5185 GB, free: 3.363 MB / 446.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.0005914/0.4075, allocations: 463.8 kB / 0.5189 GB, free: 2.863 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.4075, allocations: 8.031 kB / 0.5189 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000299/0.4078, allocations: 36.89 kB / 0.5189 GB, free: 2.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.408, allocations: 196.2 kB / 0.5191 GB, free: 2.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.408, allocations: 0.5625 kB / 0.5191 GB, free: 2.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.408, allocations: 15.88 kB / 0.5191 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.4082, allocations: 79.31 kB / 0.5192 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4082, allocations: 0 / 0.5192 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.4082, allocations: 0 / 0.5192 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4083, allocations: 4 kB / 0.5192 GB, free: 2.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.4084, allocations: 39.97 kB / 0.5193 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.4086, allocations: 194.5 kB / 0.5194 GB, free: 2.199 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.4089, allocations: 121.1 kB / 0.5196 GB, free: 2.062 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.612e-05/0.4089, allocations: 37.7 kB / 0.5196 GB, free: 2.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004643/0.4094, allocations: 141 kB / 0.5197 GB, free: 1.863 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.4094, allocations: 34.56 kB / 0.5198 GB, free: 1.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.4095, allocations: 0 / 0.5198 GB, free: 1.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003475/0.4098, allocations: 117.9 kB / 0.5199 GB, free: 1.699 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.4099, allocations: 89.05 kB / 0.52 GB, free: 1.594 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.41, allocations: 139 kB / 0.5201 GB, free: 1.449 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.41, allocations: 25.7 kB / 0.5201 GB, free: 1.418 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.4101, allocations: 88.14 kB / 0.5202 GB, free: 1.328 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.4101, allocations: 27.64 kB / 0.5202 GB, free: 1.301 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.4101, allocations: 17.72 kB / 0.5202 GB, free: 1.277 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4102, allocations: 318.8 kB / 0.5206 GB, free: 0.957 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.875e-05/0.4103, allocations: 27.98 kB / 0.5206 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.438e-05/0.4104, allocations: 47.42 kB / 0.5206 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.4105, allocations: 83.38 kB / 0.5207 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4106, allocations: 0 / 0.5207 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002375/0.4108, allocations: 117.4 kB / 0.5208 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.4108, allocations: 4 kB / 0.5208 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4108, allocations: 4 kB / 0.5208 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.4108, allocations: 0 / 0.5208 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.845e-05/0.4109, allocations: 20.81 kB / 0.5208 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4109, allocations: 0 / 0.5208 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.879e-05/0.411, allocations: 7.984 kB / 0.5208 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.411, allocations: 7.938 kB / 0.5209 GB, free: 0.6133 MB / 446.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 0.0001157/0.4111, allocations: 117.9 kB / 0.521 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/0.4112, allocations: 11.84 kB / 0.521 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.4114, allocations: 116.3 kB / 0.5211 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4114, allocations: 3.984 kB / 0.5211 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4114, allocations: 2.75 kB / 0.5211 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4115, allocations: 0 / 0.5211 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.4116, allocations: 185.5 kB / 0.5213 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4116, allocations: 4 kB / 0.5213 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.89e-05/0.4117, allocations: 19.92 kB / 0.5213 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4117, allocations: 4 kB / 0.5213 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.4117, allocations: 4 kB / 0.5213 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4117, allocations: 0 / 0.5213 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4117, allocations: 3.938 kB / 0.5213 GB, free: 88 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.4121, allocations: 157.9 kB / 0.5215 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.4122, allocations: 85 kB / 0.5215 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.4122, allocations: 8.094 kB / 0.5215 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.497e-05/0.4122, allocations: 7.984 kB / 0.5216 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.4123, allocations: 4 kB / 0.5216 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.4123, allocations: 4.188 kB / 0.5216 GB, free: 15.79 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.13e-05/0.4124, allocations: 111.8 kB / 0.5217 GB, free: 15.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4124, allocations: 0 / 0.5217 GB, free: 15.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005039/0.4129, allocations: 207.8 kB / 0.5219 GB, free: 15.47 MB / 462.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.00114/0.414, allocations: 0.5202 MB / 0.5224 GB, free: 14.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.4142, allocations: 67.89 kB / 0.5224 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4142, allocations: 0 / 0.5224 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.37e-05/0.4143, allocations: 27.98 kB / 0.5225 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.4146, allocations: 25.7 kB / 0.5225 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.415, allocations: 312.5 kB / 0.5228 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.4153, allocations: 0.6885 MB / 0.5235 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.448e-05/0.4154, allocations: 19.89 kB / 0.5235 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.4154, allocations: 19.38 kB / 0.5235 GB, free: 13.75 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4154, allocations: 4 kB / 0.5235 GB, free: 13.75 MB / 462.1 MB Notification: Performance of Templates: time 0.009668/0.4251, allocations: 6.1 MB / 0.5295 GB, free: 7.641 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches