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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 182.5 kB / 17.27 MB, free: 4.48 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 104.3 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008335/0.0008337, allocations: 43.94 kB / 350 MB, free: 84 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1974, allocations: 49.43 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001969/0.1994, allocations: 1.43 MB / 400.9 MB, free: 31.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.3566/0.556, allocations: 146.8 MB / 0.5349 GB, free: 12.1 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/0.5561, allocations: 1.094 kB / 0.5349 GB, free: 12.1 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.747e-05/0.5562, allocations: 1.969 kB / 0.5349 GB, free: 12.1 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.5572, allocations: 338 kB / 0.5352 GB, free: 12.04 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000969/0.5582, allocations: 461.6 kB / 0.5356 GB, free: 11.97 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 9.703e-05/0.5583, allocations: 86.98 kB / 0.5357 GB, free: 11.95 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.274e-05/0.5584, allocations: 7.969 kB / 0.5357 GB, free: 11.95 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.858e-05/0.5584, allocations: 35.09 kB / 0.5358 GB, free: 11.95 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.966e-05/0.5585, allocations: 33.14 kB / 0.5358 GB, free: 11.95 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.5585, allocations: 6.844 kB / 0.5358 GB, free: 11.95 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.5602, allocations: 1.233 MB / 0.537 GB, free: 11.84 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.113e-05/0.5602, allocations: 15.36 kB / 0.537 GB, free: 11.84 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.5603, allocations: 32.75 kB / 0.537 GB, free: 11.84 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.5613, allocations: 0.7663 MB / 0.5378 GB, free: 11.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5613, allocations: 7.984 kB / 0.5378 GB, free: 11.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.5613, allocations: 1.203 kB / 0.5378 GB, free: 11.67 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.5613, allocations: 0 / 0.5378 GB, free: 11.67 MB / 394.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.0005552/0.5619, allocations: 445.4 kB / 0.5382 GB, free: 11.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.5619, allocations: 13.83 kB / 0.5382 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004227/0.5624, allocations: 67.83 kB / 0.5383 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.5625, allocations: 197.2 kB / 0.5385 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.5626, allocations: 7.922 kB / 0.5385 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.5626, allocations: 2.75 kB / 0.5385 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.5627, allocations: 82.47 kB / 0.5386 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.5628, allocations: 0 / 0.5386 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.5628, allocations: 0 / 0.5386 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.5628, allocations: 0 / 0.5386 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.603e-05/0.5629, allocations: 46.86 kB / 0.5386 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/0.5631, allocations: 194.6 kB / 0.5388 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.5634, allocations: 117.5 kB / 0.5389 GB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.074e-05/0.5634, allocations: 34.55 kB / 0.539 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004703/0.5639, allocations: 136.6 kB / 0.5391 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.564, allocations: 39.02 kB / 0.5391 GB, free: 10.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.564, allocations: 0 / 0.5391 GB, free: 10.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003167/0.5643, allocations: 121.8 kB / 0.5392 GB, free: 10.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.5643, allocations: 80.42 kB / 0.5393 GB, free: 10.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.5645, allocations: 144.7 kB / 0.5395 GB, free: 10.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.5645, allocations: 25.7 kB / 0.5395 GB, free: 10.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.5645, allocations: 86.27 kB / 0.5396 GB, free: 10.1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.5646, allocations: 25.33 kB / 0.5396 GB, free: 10.08 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.5646, allocations: 18.28 kB / 0.5396 GB, free: 10.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.5647, allocations: 321.1 kB / 0.5399 GB, free: 9.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.5648, allocations: 30.12 kB / 0.5399 GB, free: 9.742 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.084e-05/0.5649, allocations: 46.92 kB / 0.54 GB, free: 9.707 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.565, allocations: 80.19 kB / 0.5401 GB, free: 9.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.565, allocations: 7.938 kB / 0.5401 GB, free: 9.652 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002252/0.5653, allocations: 112.2 kB / 0.5402 GB, free: 9.598 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.5653, allocations: 4.875 kB / 0.5402 GB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5653, allocations: 2.062 kB / 0.5402 GB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.5653, allocations: 3.688 kB / 0.5402 GB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.421e-05/0.5654, allocations: 14.41 kB / 0.5402 GB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.5654, allocations: 8.5 kB / 0.5402 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.5654, allocations: 3 kB / 0.5402 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.5655, allocations: 7.609 kB / 0.5402 GB, free: 9.59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/0.5655, allocations: 119.9 kB / 0.5403 GB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.5656, allocations: 8.625 kB / 0.5403 GB, free: 9.461 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.5658, allocations: 121.7 kB / 0.5405 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.5658, allocations: 6.344 kB / 0.5405 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5658, allocations: 0 / 0.5405 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.5658, allocations: 2.875 kB / 0.5405 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.566, allocations: 187.3 kB / 0.5406 GB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.566, allocations: 0 / 0.5406 GB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-05/0.5661, allocations: 18.14 kB / 0.5407 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.5661, allocations: 0 / 0.5407 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.5661, allocations: 3.766 kB / 0.5407 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5661, allocations: 0 / 0.5407 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5661, allocations: 6.656 kB / 0.5407 GB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.5672, allocations: 1.042 MB / 0.5417 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.5673, allocations: 88 kB / 0.5418 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.5673, allocations: 7.188 kB / 0.5418 GB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.215e-05/0.5673, allocations: 2.375 kB / 0.5418 GB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.5674, allocations: 10.64 kB / 0.5418 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.5674, allocations: 2.25 kB / 0.5418 GB, free: 8.078 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.576e-05/0.5675, allocations: 113.4 kB / 0.5419 GB, free: 8 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5675, allocations: 0 / 0.5419 GB, free: 8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005598/0.568, allocations: 177.2 kB / 0.5421 GB, free: 7.957 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 (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.001006/0.5691, allocations: 430.5 kB / 0.5425 GB, free: 7.746 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.5693, allocations: 65.86 kB / 0.5425 GB, free: 7.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5693, allocations: 4.125 kB / 0.5425 GB, free: 7.727 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.881e-05/0.5693, allocations: 30.45 kB / 0.5426 GB, free: 7.723 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.5696, allocations: 22.45 kB / 0.5426 GB, free: 7.719 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005879/0.5702, allocations: 449.1 kB / 0.543 GB, free: 7.332 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.5704, allocations: 0.689 MB / 0.5437 GB, free: 6.629 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.859e-05/0.5705, allocations: 18.7 kB / 0.5437 GB, free: 6.621 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.5705, allocations: 12.16 kB / 0.5437 GB, free: 6.613 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5705, allocations: 0 / 0.5437 GB, free: 6.613 MB / 394.7 MB Notification: Performance of Templates: time 0.008312/0.5789, allocations: 4.619 MB / 0.5482 GB, free: 4.262 MB / 394.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","../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