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.001016/0.001016, allocations: 92.94 kB / 17.3 MB, free: 6 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.001252/0.001252, allocations: 181 kB / 18.21 MB, free: 5.414 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.441/1.441, allocations: 205.4 MB / 224.4 MB, free: 13.09 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.000434/0.000434, allocations: 16 kB / 281.4 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08593/0.08638, allocations: 47.58 MB / 329 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.00139/0.08782, allocations: 1.097 MB / 330 MB, free: 2.664 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.3168/0.4046, allocations: 146.9 MB / 477 MB, free: 5.773 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.4047, allocations: 0 / 477 MB, free: 5.773 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.871e-05/0.4048, allocations: 7.938 kB / 477 MB, free: 5.766 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.4058, allocations: 310.4 kB / 477.3 MB, free: 5.465 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.4074, allocations: 0.7111 MB / 478 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.4075, allocations: 91.62 kB / 478.1 MB, free: 4.664 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.4076, allocations: 3.938 kB / 478.1 MB, free: 4.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.477e-05/0.4076, allocations: 39.84 kB / 478.1 MB, free: 4.621 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.373e-05/0.4077, allocations: 35.84 kB / 478.2 MB, free: 4.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.4077, allocations: 0 / 478.2 MB, free: 4.586 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.41, allocations: 1.528 MB / 479.7 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.491e-05/0.4101, allocations: 11.97 kB / 479.7 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.718e-05/0.4101, allocations: 49.58 kB / 479.8 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.4114, allocations: 0.9315 MB / 480.7 MB, free: 2.055 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.4114, allocations: 0 / 480.7 MB, free: 2.055 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4114, allocations: 3.938 kB / 480.7 MB, free: 2.051 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.4114, allocations: 0 / 480.7 MB, free: 2.051 MB / 366.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.0005621/0.412, allocations: 467.7 kB / 481.2 MB, free: 1.547 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.412, allocations: 12.03 kB / 481.2 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002948/0.4123, allocations: 40.83 kB / 481.2 MB, free: 1.496 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.4125, allocations: 196.2 kB / 481.4 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.4125, allocations: 4.562 kB / 481.4 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.4125, allocations: 7.938 kB / 481.4 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.4127, allocations: 71.39 kB / 481.5 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.4127, allocations: 0 / 481.5 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.4127, allocations: 3.938 kB / 481.5 MB, free: 1.168 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.4127, allocations: 0 / 481.5 MB, free: 1.168 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.4128, allocations: 55.89 kB / 481.5 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001821/0.413, allocations: 186.5 kB / 481.7 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.4133, allocations: 117.1 kB / 481.8 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.63e-05/0.4134, allocations: 45.7 kB / 481.9 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004461/0.4138, allocations: 129 kB / 482 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.4139, allocations: 34.56 kB / 482 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.695e-06/0.4139, allocations: 4 kB / 482 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003324/0.4142, allocations: 117.6 kB / 482.2 MB, free: 392 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.4143, allocations: 77.11 kB / 482.2 MB, free: 296 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.4144, allocations: 141.8 kB / 482.4 MB, free: 144 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.4144, allocations: 25.7 kB / 482.4 MB, free: 112 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.4145, allocations: 88.14 kB / 482.5 MB, free: 20 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.4145, allocations: 19.64 kB / 482.5 MB, free: 0 / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.4145, allocations: 17.77 kB / 482.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.33e-05/0.4146, allocations: 322.8 kB / 482.8 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.56e-05/0.4147, allocations: 23.98 kB / 482.9 MB, free: 15.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.618e-05/0.4148, allocations: 51.36 kB / 482.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.4149, allocations: 79.78 kB / 483 MB, free: 15.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.415, allocations: 0 / 483 MB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002425/0.4152, allocations: 122.2 kB / 483.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.4152, allocations: 4 kB / 483.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4152, allocations: 0 / 483.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4153, allocations: 7.984 kB / 483.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.613e-05/0.4153, allocations: 12 kB / 483.1 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.4153, allocations: 0 / 483.1 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.4154, allocations: 4 kB / 483.1 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.4154, allocations: 8.062 kB / 483.1 MB, free: 15.32 MB / 382.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.306e-05/0.4155, allocations: 121.8 kB / 483.3 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.4155, allocations: 11.84 kB / 483.3 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.4158, allocations: 108.8 kB / 483.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.4158, allocations: 7.938 kB / 483.4 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4158, allocations: 3.938 kB / 483.4 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4158, allocations: 0 / 483.4 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.416, allocations: 193.5 kB / 483.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.416, allocations: 4 kB / 483.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-05/0.4161, allocations: 15.94 kB / 483.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.4161, allocations: 3.984 kB / 483.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.4161, allocations: 4 kB / 483.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4161, allocations: 0 / 483.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4161, allocations: 0.7812 kB / 483.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.4164, allocations: 169.8 kB / 483.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.895e-05/0.4165, allocations: 93 kB / 483.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.4165, allocations: 3.984 kB / 483.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.3e-05/0.4166, allocations: 0 / 483.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.4166, allocations: 8 kB / 483.9 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.4167, allocations: 4 kB / 483.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.613e-05/0.4167, allocations: 115.2 kB / 484 MB, free: 14.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4167, allocations: 0 / 484 MB, free: 14.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005548/0.4173, allocations: 203.8 kB / 484.2 MB, free: 14.17 MB / 382.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.001236/0.4185, allocations: 0.5098 MB / 484.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.4187, allocations: 67.89 kB / 484.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4188, allocations: 0 / 484.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.117e-05/0.4188, allocations: 31.92 kB / 484.8 MB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.4191, allocations: 28.06 kB / 484.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.4197, allocations: 363.5 kB / 485.2 MB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.4199, allocations: 0.6926 MB / 485.9 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.106e-05/0.42, allocations: 24.09 kB / 485.9 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.42, allocations: 19.42 kB / 485.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.42, allocations: 0 / 485.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of Templates: time 0.01013/0.4302, allocations: 5.909 MB / 491.8 MB, free: 6.477 MB / 382.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","../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