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.001047/0.001047, allocations: 104.4 kB / 18.35 MB, free: 4.645 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.00105/0.00105, allocations: 191 kB / 19.29 MB, free: 3.715 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.33/1.33, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001225/0.001225, allocations: 51.92 kB / 282.1 MB, free: 2.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07481/0.07605, allocations: 46.63 MB / 328.7 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002247/0.07833, allocations: 1.364 MB / 330.1 MB, free: 2.402 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.2842/0.3625, allocations: 150.8 MB / 480.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.3626, allocations: 0 / 480.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.655e-05/0.3627, allocations: 9.812 kB / 480.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.3637, allocations: 352.7 kB / 481.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.3654, allocations: 0.7998 MB / 482 MB, free: 13.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.925e-05/0.3655, allocations: 71.7 kB / 482.1 MB, free: 13.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.3655, allocations: 11.92 kB / 482.1 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.183e-05/0.3656, allocations: 31.86 kB / 482.1 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.181e-05/0.3657, allocations: 35.89 kB / 482.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.3657, allocations: 7.938 kB / 482.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002065/0.3678, allocations: 1.399 MB / 483.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.168e-05/0.3678, allocations: 11.92 kB / 483.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.17e-05/0.3679, allocations: 31.84 kB / 483.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.369, allocations: 0.8459 MB / 484.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.369, allocations: 0 / 484.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.369, allocations: 4 kB / 484.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.369, allocations: 0 / 484.4 MB, free: 10.95 MB / 382.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.0005697/0.3696, allocations: 479.7 kB / 484.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.3697, allocations: 8.031 kB / 484.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002952/0.37, allocations: 40.8 kB / 485 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.3701, allocations: 204.1 kB / 485.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3701, allocations: 0.5625 kB / 485.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.3702, allocations: 9.719 kB / 485.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.3703, allocations: 75.39 kB / 485.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3704, allocations: 0 / 485.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3704, allocations: 0 / 485.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3704, allocations: 4 kB / 485.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.3705, allocations: 43.91 kB / 485.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.3707, allocations: 191.5 kB / 485.5 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.371, allocations: 121.1 kB / 485.6 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.604e-05/0.3711, allocations: 41.64 kB / 485.6 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000523/0.3716, allocations: 145 kB / 485.8 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.3716, allocations: 30.56 kB / 485.8 MB, free: 9.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3716, allocations: 0 / 485.8 MB, free: 9.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003433/0.372, allocations: 117.5 kB / 485.9 MB, free: 9.266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.372, allocations: 85.11 kB / 486 MB, free: 9.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3721, allocations: 137.8 kB / 486.1 MB, free: 9.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.3722, allocations: 25.7 kB / 486.2 MB, free: 8.988 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.3722, allocations: 92.12 kB / 486.3 MB, free: 8.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.3722, allocations: 27.59 kB / 486.3 MB, free: 8.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.3723, allocations: 25.7 kB / 486.3 MB, free: 8.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.799e-05/0.3724, allocations: 318.8 kB / 486.6 MB, free: 8.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.94e-05/0.3724, allocations: 27.98 kB / 486.7 MB, free: 8.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.693e-05/0.3725, allocations: 52.5 kB / 486.7 MB, free: 8.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.3727, allocations: 79.34 kB / 486.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3727, allocations: 2.938 kB / 486.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002538/0.373, allocations: 113.5 kB / 486.9 MB, free: 8.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.373, allocations: 4 kB / 486.9 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.373, allocations: 4 kB / 486.9 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.373, allocations: 0 / 486.9 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.802e-05/0.3731, allocations: 15.98 kB / 486.9 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.3731, allocations: 0 / 486.9 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.265e-05/0.3732, allocations: 11.91 kB / 486.9 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.3732, allocations: 4 kB / 486.9 MB, free: 8.18 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 6.808e-05/0.3732, allocations: 113.9 kB / 487 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-05/0.3733, allocations: 15.83 kB / 487.1 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.3736, allocations: 112.7 kB / 487.2 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3736, allocations: 4 kB / 487.2 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3736, allocations: 0 / 487.2 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3736, allocations: 0 / 487.2 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.3737, allocations: 197.4 kB / 487.4 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3737, allocations: 4 kB / 487.4 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.848e-05/0.3738, allocations: 11.94 kB / 487.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3738, allocations: 4 kB / 487.4 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.3738, allocations: 8 kB / 487.4 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3738, allocations: 0 / 487.4 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3739, allocations: 0 / 487.4 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.3742, allocations: 165.8 kB / 487.6 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.3742, allocations: 83.28 kB / 487.6 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.3743, allocations: 8.094 kB / 487.6 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.404e-05/0.3743, allocations: 3.938 kB / 487.6 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.3744, allocations: 8 kB / 487.7 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.3744, allocations: 7.984 kB / 487.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.006e-05/0.3744, allocations: 107.7 kB / 487.8 MB, free: 7.246 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3744, allocations: 0 / 487.8 MB, free: 7.246 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005116/0.375, allocations: 203.8 kB / 488 MB, free: 7.047 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.00108/0.376, allocations: 0.5181 MB / 488.5 MB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.3763, allocations: 63.89 kB / 488.5 MB, free: 6.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3763, allocations: 0 / 488.5 MB, free: 6.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.613e-05/0.3763, allocations: 35.92 kB / 488.6 MB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.3766, allocations: 25.09 kB / 488.6 MB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004854/0.3771, allocations: 313.3 kB / 488.9 MB, free: 6.074 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.3773, allocations: 0.6924 MB / 489.6 MB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.533e-05/0.3774, allocations: 20.05 kB / 489.6 MB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.3774, allocations: 15.42 kB / 489.6 MB, free: 5.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3774, allocations: 0 / 489.6 MB, free: 5.32 MB / 382.1 MB Notification: Performance of Templates: time 0.009742/0.3872, allocations: 6.092 MB / 495.7 MB, free: 15.23 MB / 398.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 -s gbode -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/jenkins1/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/jenkins1/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