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.001065/0.001065, allocations: 107.2 kB / 18.34 MB, free: 4.676 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.001069/0.001069, allocations: 188.1 kB / 19.28 MB, free: 3.75 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.336/1.336, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001154/0.001154, allocations: 55.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07613/0.07729, allocations: 46.63 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002393/0.07972, allocations: 1.376 MB / 330.1 MB, free: 2.375 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.2828/0.3625, allocations: 150.7 MB / 480.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.3626, allocations: 0 / 480.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.504e-05/0.3627, allocations: 3.938 kB / 480.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.3637, allocations: 360.7 kB / 481.2 MB, free: 14.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.3654, allocations: 0.796 MB / 482 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.3655, allocations: 83.56 kB / 482.1 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.307e-05/0.3655, allocations: 3.938 kB / 482.1 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.505e-05/0.3656, allocations: 35.84 kB / 482.1 MB, free: 13.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.519e-05/0.3657, allocations: 35.91 kB / 482.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.3657, allocations: 4 kB / 482.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00203/0.3677, allocations: 1.399 MB / 483.5 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.219e-05/0.3678, allocations: 19.91 kB / 483.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.968e-05/0.3678, allocations: 31.8 kB / 483.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.3689, allocations: 0.8459 MB / 484.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.3689, allocations: 0 / 484.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3689, allocations: 0 / 484.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.3689, allocations: 0 / 484.4 MB, free: 10.9 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.0005687/0.3695, allocations: 483.7 kB / 484.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3696, allocations: 8.031 kB / 484.9 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002866/0.3699, allocations: 40.8 kB / 485 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.37, allocations: 192.2 kB / 485.1 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.37, allocations: 4.5 kB / 485.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.3701, allocations: 15.92 kB / 485.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.3702, allocations: 67.39 kB / 485.2 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.3702, allocations: 4 kB / 485.2 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.3703, allocations: 0 / 485.2 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3703, allocations: 4 kB / 485.2 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.8e-05/0.3704, allocations: 47.84 kB / 485.3 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.3706, allocations: 190.6 kB / 485.5 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.3709, allocations: 113.2 kB / 485.6 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.483e-05/0.3709, allocations: 41.7 kB / 485.6 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005241/0.3715, allocations: 145 kB / 485.8 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.3715, allocations: 38.55 kB / 485.8 MB, free: 9.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3715, allocations: 0 / 485.8 MB, free: 9.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003355/0.3719, allocations: 117.8 kB / 485.9 MB, free: 9.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.3719, allocations: 77.11 kB / 486 MB, free: 9.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.372, allocations: 148.8 kB / 486.1 MB, free: 8.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.3721, allocations: 29.7 kB / 486.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.3721, allocations: 88.14 kB / 486.3 MB, free: 8.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.3721, allocations: 23.64 kB / 486.3 MB, free: 8.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.3722, allocations: 25.72 kB / 486.3 MB, free: 8.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.457e-05/0.3723, allocations: 318.8 kB / 486.6 MB, free: 8.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.241e-05/0.3724, allocations: 23.98 kB / 486.6 MB, free: 8.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.481e-05/0.3724, allocations: 55.41 kB / 486.7 MB, free: 8.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.3726, allocations: 83.38 kB / 486.8 MB, free: 8.281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3726, allocations: 0 / 486.8 MB, free: 8.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002426/0.3729, allocations: 109.5 kB / 486.9 MB, free: 8.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3729, allocations: 8.062 kB / 486.9 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3729, allocations: 0 / 486.9 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3729, allocations: 4 kB / 486.9 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.163e-05/0.373, allocations: 15.98 kB / 486.9 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.373, allocations: 0 / 486.9 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.149e-05/0.3731, allocations: 12.78 kB / 486.9 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.3731, allocations: 4 kB / 486.9 MB, free: 8.125 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.922e-05/0.3731, allocations: 113.8 kB / 487 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/0.3732, allocations: 11.84 kB / 487 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.3735, allocations: 118.4 kB / 487.2 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.3735, allocations: 4 kB / 487.2 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.3735, allocations: 0 / 487.2 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3735, allocations: 0 / 487.2 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.3736, allocations: 181.5 kB / 487.3 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3736, allocations: 7.75 kB / 487.4 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.13e-05/0.3737, allocations: 19.92 kB / 487.4 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3737, allocations: 0 / 487.4 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3738, allocations: 4 kB / 487.4 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3738, allocations: 4 kB / 487.4 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3738, allocations: 0 / 487.4 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.3741, allocations: 165.8 kB / 487.5 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.3742, allocations: 81.09 kB / 487.6 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.3742, allocations: 7.984 kB / 487.6 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.599e-05/0.3742, allocations: 4.062 kB / 487.6 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.3743, allocations: 12.12 kB / 487.6 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.3743, allocations: 3.938 kB / 487.6 MB, free: 7.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.148e-05/0.3744, allocations: 115.2 kB / 487.8 MB, free: 7.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3744, allocations: 0 / 487.8 MB, free: 7.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005095/0.3749, allocations: 203.8 kB / 488 MB, free: 6.992 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.001101/0.376, allocations: 0.5092 MB / 488.5 MB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.3762, allocations: 71.89 kB / 488.5 MB, free: 6.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.3762, allocations: 0 / 488.5 MB, free: 6.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.945e-05/0.3763, allocations: 31.92 kB / 488.6 MB, free: 6.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.3765, allocations: 26.58 kB / 488.6 MB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004831/0.377, allocations: 304.2 kB / 488.9 MB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.3773, allocations: 0.6924 MB / 489.6 MB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.924e-05/0.3774, allocations: 24.86 kB / 489.6 MB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.3774, allocations: 19.38 kB / 489.6 MB, free: 5.273 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3774, allocations: 0 / 489.6 MB, free: 5.273 MB / 382.1 MB Notification: Performance of Templates: time 0.009757/0.3872, allocations: 6.094 MB / 495.7 MB, free: 15.18 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 cvode -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