Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008599/0.0008599, allocations: 180.2 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.243/1.243, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006738/0.0006739, allocations: 86.3 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002884/0.0002884, allocations: 12 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2069, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001276/0.2082, allocations: 1.078 MB / 375.6 MB, free: 44.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2959/0.5041, allocations: 136.9 MB / 0.5005 GB, free: 1.496 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.929e-05/0.5042, allocations: 0 / 0.5005 GB, free: 1.496 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.827e-05/0.5043, allocations: 5.922 kB / 0.5005 GB, free: 1.496 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009768/0.5052, allocations: 243.8 kB / 0.5008 GB, free: 1.488 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.5067, allocations: 0.5873 MB / 0.5013 GB, free: 1.465 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.667e-05/0.5068, allocations: 80.56 kB / 0.5014 GB, free: 1.465 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.5068, allocations: 6.547 kB / 0.5014 GB, free: 1.465 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.994e-05/0.5069, allocations: 32.41 kB / 0.5015 GB, free: 1.465 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.973e-05/0.5069, allocations: 39.38 kB / 0.5015 GB, free: 1.465 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.507, allocations: 3.438 kB / 0.5015 GB, free: 1.465 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.5085, allocations: 1.045 MB / 0.5025 GB, free: 1.449 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.5086, allocations: 18.41 kB / 0.5025 GB, free: 1.449 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/0.5086, allocations: 35.08 kB / 0.5026 GB, free: 1.418 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005712/0.5092, allocations: 0.5207 MB / 0.5031 GB, free: 1.391 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5092, allocations: 5 kB / 0.5031 GB, free: 1.391 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.5092, allocations: 4 kB / 0.5031 GB, free: 1.387 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.5092, allocations: 0 / 0.5031 GB, free: 1.387 MB / 378.7 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.0005395/0.5097, allocations: 465.8 kB / 0.5035 GB, free: 16.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.5098, allocations: 11.66 kB / 0.5035 GB, free: 16.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002923/0.5101, allocations: 30.12 kB / 0.5036 GB, free: 16.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.5103, allocations: 206.9 kB / 0.5038 GB, free: 16.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.5103, allocations: 0 / 0.5038 GB, free: 16.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.5104, allocations: 3 kB / 0.5038 GB, free: 16.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.5105, allocations: 78.39 kB / 0.5038 GB, free: 16.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.5105, allocations: 0 / 0.5038 GB, free: 16.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.5106, allocations: 2.625 kB / 0.5038 GB, free: 16.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.5106, allocations: 2.656 kB / 0.5038 GB, free: 16.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.5107, allocations: 43.42 kB / 0.5039 GB, free: 16.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.5109, allocations: 189.2 kB / 0.5041 GB, free: 16.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.5112, allocations: 122.5 kB / 0.5042 GB, free: 16.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.088e-05/0.5113, allocations: 35.75 kB / 0.5042 GB, free: 16.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005065/0.5118, allocations: 135.8 kB / 0.5043 GB, free: 16.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.5119, allocations: 33.73 kB / 0.5044 GB, free: 16.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.5119, allocations: 0 / 0.5044 GB, free: 16.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002991/0.5122, allocations: 123 kB / 0.5045 GB, free: 16.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.5122, allocations: 77.11 kB / 0.5046 GB, free: 16.17 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.5123, allocations: 140.9 kB / 0.5047 GB, free: 16.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.5124, allocations: 28.58 kB / 0.5047 GB, free: 16.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.5124, allocations: 87.39 kB / 0.5048 GB, free: 15.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.5124, allocations: 25.55 kB / 0.5048 GB, free: 15.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.5125, allocations: 3.281 kB / 0.5048 GB, free: 15.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.5125, allocations: 317.3 kB / 0.5051 GB, free: 15.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.207e-05/0.5126, allocations: 27.3 kB / 0.5052 GB, free: 15.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.906e-05/0.5127, allocations: 49.62 kB / 0.5052 GB, free: 15.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.414e-05/0.5128, allocations: 30.97 kB / 0.5052 GB, free: 15.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5128, allocations: 5.734 kB / 0.5053 GB, free: 15.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002064/0.513, allocations: 106.1 kB / 0.5054 GB, free: 15.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.513, allocations: 5.062 kB / 0.5054 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.513, allocations: 2.875 kB / 0.5054 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.513, allocations: 0 / 0.5054 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.499e-05/0.5131, allocations: 19.44 kB / 0.5054 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.5131, allocations: 4.062 kB / 0.5054 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.779e-05/0.5132, allocations: 12.72 kB / 0.5054 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.5132, allocations: 1.828 kB / 0.5054 GB, free: 15.55 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.494e-05/0.5132, allocations: 112.8 kB / 0.5055 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.5133, allocations: 20.59 kB / 0.5055 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.5135, allocations: 113.3 kB / 0.5056 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5135, allocations: 0 / 0.5056 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5135, allocations: 8.953 kB / 0.5056 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.5135, allocations: 0 / 0.5056 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.5137, allocations: 188.4 kB / 0.5058 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5137, allocations: 0 / 0.5058 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.658e-05/0.5138, allocations: 18.75 kB / 0.5058 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.5138, allocations: 0 / 0.5058 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.5138, allocations: 2.562 kB / 0.5058 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.5138, allocations: 3.094 kB / 0.5058 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5138, allocations: 0 / 0.5058 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.5141, allocations: 163.9 kB / 0.506 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.5141, allocations: 96.89 kB / 0.5061 GB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.5142, allocations: 3.953 kB / 0.5061 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-05/0.5142, allocations: 2.281 kB / 0.5061 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.5142, allocations: 8.922 kB / 0.5061 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.5143, allocations: 2.875 kB / 0.5061 GB, free: 15 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.398e-05/0.5143, allocations: 112.9 kB / 0.5062 GB, free: 14.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5143, allocations: 4.062 kB / 0.5062 GB, free: 14.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004387/0.5148, allocations: 204.3 kB / 0.5064 GB, free: 14.89 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008966/0.5157, allocations: 456.6 kB / 0.5069 GB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.5159, allocations: 56.95 kB / 0.5069 GB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.5159, allocations: 2.969 kB / 0.5069 GB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.159e-05/0.5159, allocations: 36.84 kB / 0.5069 GB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.5162, allocations: 21.2 kB / 0.507 GB, free: 14.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.5167, allocations: 396.7 kB / 0.5073 GB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.5169, allocations: 0.6891 MB / 0.508 GB, free: 13.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.517, allocations: 19.66 kB / 0.508 GB, free: 13.74 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.517, allocations: 0 / 0.508 GB, free: 13.74 MB / 394.7 MB Notification: Performance of Templates: time 0.006785/0.5238, allocations: 4.761 MB / 0.5127 GB, free: 13.14 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches