Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001028/0.001028, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2114, allocations: 50.54 MB / 409.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002018/0.2134, allocations: 1.378 MB / 410.6 MB, free: 212 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3639/0.5774, allocations: 151.9 MB / 0.5493 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.575e-05/0.5775, allocations: 5.75 kB / 0.5493 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.509e-05/0.5775, allocations: 5.578 kB / 0.5493 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.5786, allocations: 373.8 kB / 0.5497 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.5796, allocations: 0.505 MB / 0.5502 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.151e-05/0.5797, allocations: 78.7 kB / 0.5503 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.083e-05/0.5797, allocations: 1.312 kB / 0.5503 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.356e-05/0.5798, allocations: 34.45 kB / 0.5503 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.561e-05/0.5799, allocations: 30.91 kB / 0.5503 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.5799, allocations: 2.547 kB / 0.5503 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.5814, allocations: 1.099 MB / 0.5514 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.5814, allocations: 14.5 kB / 0.5514 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.5814, allocations: 25.59 kB / 0.5514 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000828/0.5823, allocations: 0.6989 MB / 0.5521 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5823, allocations: 0 / 0.5521 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5823, allocations: 0 / 0.5521 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.5823, allocations: 4.391 kB / 0.5521 GB, free: 0.8516 MB / 462.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.0005473/0.5829, allocations: 464.8 kB / 0.5526 GB, free: 16.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.752e-05/0.5829, allocations: 10.06 kB / 0.5526 GB, free: 16.43 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004217/0.5833, allocations: 66 kB / 0.5527 GB, free: 16.43 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.5835, allocations: 201.1 kB / 0.5528 GB, free: 16.22 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.5835, allocations: 7.688 kB / 0.5529 GB, free: 16.22 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.5835, allocations: 6.719 kB / 0.5529 GB, free: 16.21 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.5837, allocations: 68.45 kB / 0.5529 GB, free: 16.17 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.5837, allocations: 3.094 kB / 0.5529 GB, free: 16.17 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.5837, allocations: 3.75 kB / 0.5529 GB, free: 16.17 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.5837, allocations: 2.531 kB / 0.5529 GB, free: 16.17 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.535e-05/0.5838, allocations: 36.78 kB / 0.553 GB, free: 16.17 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.584, allocations: 198.7 kB / 0.5532 GB, free: 15.97 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.5842, allocations: 115.5 kB / 0.5533 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.279e-05/0.5843, allocations: 38.36 kB / 0.5533 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004342/0.5847, allocations: 142.5 kB / 0.5534 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.5848, allocations: 33.75 kB / 0.5535 GB, free: 15.76 MB / 478.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.5848, allocations: 0 / 0.5535 GB, free: 15.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003103/0.5851, allocations: 122.3 kB / 0.5536 GB, free: 15.72 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.5851, allocations: 82.33 kB / 0.5537 GB, free: 15.62 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.627e-05/0.5852, allocations: 141 kB / 0.5538 GB, free: 15.53 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.5852, allocations: 25.7 kB / 0.5538 GB, free: 15.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.5853, allocations: 90.48 kB / 0.5539 GB, free: 15.41 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.5853, allocations: 24.84 kB / 0.5539 GB, free: 15.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.5854, allocations: 18.59 kB / 0.554 GB, free: 15.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.905e-05/0.5854, allocations: 320.5 kB / 0.5543 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.202e-05/0.5855, allocations: 29.12 kB / 0.5543 GB, free: 15.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.303e-05/0.5856, allocations: 53.44 kB / 0.5543 GB, free: 15.04 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.5857, allocations: 76.86 kB / 0.5544 GB, free: 15 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5857, allocations: 7.938 kB / 0.5544 GB, free: 15 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002209/0.5859, allocations: 110.6 kB / 0.5545 GB, free: 14.96 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.586, allocations: 8.469 kB / 0.5545 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.586, allocations: 2.5 kB / 0.5545 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.586, allocations: 0 / 0.5545 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.283e-05/0.5861, allocations: 16.7 kB / 0.5545 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.5861, allocations: 2.5 kB / 0.5546 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.652e-05/0.5861, allocations: 13.5 kB / 0.5546 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.5861, allocations: 2.969 kB / 0.5546 GB, free: 14.95 MB / 478.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 6.94e-05/0.5862, allocations: 126.7 kB / 0.5547 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.5863, allocations: 5.75 kB / 0.5547 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.5865, allocations: 117.7 kB / 0.5548 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5865, allocations: 1.203 kB / 0.5548 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5865, allocations: 0 / 0.5548 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5865, allocations: 10 kB / 0.5548 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.5866, allocations: 184 kB / 0.555 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5866, allocations: 0 / 0.555 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.243e-05/0.5867, allocations: 17.31 kB / 0.555 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.5867, allocations: 2.5 kB / 0.555 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.5867, allocations: 0 / 0.555 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.5867, allocations: 3 kB / 0.555 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5868, allocations: 0 / 0.555 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.587, allocations: 163.2 kB / 0.5552 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.5871, allocations: 96.61 kB / 0.5553 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.5871, allocations: 0 / 0.5553 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.186e-05/0.5872, allocations: 2.531 kB / 0.5553 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.5872, allocations: 12.58 kB / 0.5553 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.5872, allocations: 2.875 kB / 0.5553 GB, free: 14.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.57e-05/0.5873, allocations: 109 kB / 0.5554 GB, free: 14.32 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5873, allocations: 2.844 kB / 0.5554 GB, free: 14.32 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004153/0.5877, allocations: 163.8 kB / 0.5555 GB, free: 14.29 MB / 478.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.0008492/0.5886, allocations: 435.1 kB / 0.556 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.5888, allocations: 68.53 kB / 0.556 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5888, allocations: 0 / 0.556 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 6.337e-05/0.5888, allocations: 32.5 kB / 0.5561 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.5891, allocations: 36.7 kB / 0.5561 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.5895, allocations: 310.1 kB / 0.5564 GB, free: 13.89 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.5897, allocations: 0.6902 MB / 0.5571 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 4.575e-05/0.5898, allocations: 13.3 kB / 0.5571 GB, free: 13.19 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.5898, allocations: 18.64 kB / 0.5571 GB, free: 13.18 MB / 478.1 MB Notification: Performance of SimCode: time 2.8e-07/0.5898, allocations: 1.094 kB / 0.5571 GB, free: 13.18 MB / 478.1 MB Notification: Performance of Templates: time 0.006879/0.5967, allocations: 4.723 MB / 0.5617 GB, free: 12.7 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches