Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001396/0.001396, allocations: 190.9 kB / 19.28 MB, free: 3.766 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.313/1.313, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001136/0.001136, allocations: 43.94 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07627/0.07742, allocations: 46.62 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002215/0.07967, allocations: 1.36 MB / 330.1 MB, free: 2.387 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.291/0.3707, allocations: 150.4 MB / 480.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.3709, allocations: 0 / 480.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.3709, allocations: 7.922 kB / 480.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.3721, allocations: 241.1 kB / 480.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001969/0.3741, allocations: 0.6166 MB / 481.3 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.3742, allocations: 55.72 kB / 481.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.3742, allocations: 3.984 kB / 481.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.141e-05/0.3743, allocations: 27.86 kB / 481.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.388e-05/0.3744, allocations: 27.92 kB / 481.4 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.3744, allocations: 4 kB / 481.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.3764, allocations: 0.8851 MB / 482.3 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.3764, allocations: 11.91 kB / 482.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.816e-05/0.3765, allocations: 19.94 kB / 482.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.3775, allocations: 0.6081 MB / 482.9 MB, free: 12.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3776, allocations: 4 kB / 482.9 MB, free: 12.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3776, allocations: 0 / 482.9 MB, free: 12.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.3776, allocations: 0 / 482.9 MB, free: 12.27 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.0005526/0.3781, allocations: 451.8 kB / 483.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3782, allocations: 8.031 kB / 483.4 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.3793, allocations: 97.2 kB / 483.5 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.3796, allocations: 224.4 kB / 483.7 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.3796, allocations: 7.875 kB / 483.7 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.3796, allocations: 8 kB / 483.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.3798, allocations: 95.27 kB / 483.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.3799, allocations: 0 / 483.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3799, allocations: 0 / 483.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.3799, allocations: 0 / 483.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.38, allocations: 47.95 kB / 483.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/0.3803, allocations: 206.9 kB / 484.1 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004904/0.3808, allocations: 125 kB / 484.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.3809, allocations: 41.75 kB / 484.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006389/0.3816, allocations: 0.9823 MB / 485.2 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.3816, allocations: 38.56 kB / 485.2 MB, free: 9.562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.3816, allocations: 0 / 485.2 MB, free: 9.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004916/0.3821, allocations: 133.8 kB / 485.4 MB, free: 9.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.3822, allocations: 77.11 kB / 485.4 MB, free: 9.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.3824, allocations: 162.7 kB / 485.6 MB, free: 9.164 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.3824, allocations: 29.64 kB / 485.6 MB, free: 9.129 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.3825, allocations: 88.14 kB / 485.7 MB, free: 9.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.3825, allocations: 15.75 kB / 485.7 MB, free: 9.023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/0.3826, allocations: 37.59 kB / 485.8 MB, free: 8.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3827, allocations: 318.8 kB / 486.1 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.3828, allocations: 28.84 kB / 486.1 MB, free: 8.633 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.3829, allocations: 57.06 kB / 486.2 MB, free: 8.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.3831, allocations: 87.33 kB / 486.2 MB, free: 8.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.3832, allocations: 3.938 kB / 486.3 MB, free: 8.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003404/0.3835, allocations: 113.6 kB / 486.4 MB, free: 8.348 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3835, allocations: 4 kB / 486.4 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3835, allocations: 8.062 kB / 486.4 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3836, allocations: 0 / 486.4 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.3837, allocations: 34.53 kB / 486.4 MB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3837, allocations: 3.984 kB / 486.4 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.3839, allocations: 4 kB / 486.4 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.3839, allocations: 11.98 kB / 486.4 MB, free: 8.285 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.698e-05/0.384, allocations: 113.8 kB / 486.5 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.3841, allocations: 7.906 kB / 486.5 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005512/0.3846, allocations: 236.9 kB / 486.8 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3846, allocations: 0 / 486.8 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3847, allocations: 3.984 kB / 486.8 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3847, allocations: 0 / 486.8 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.3849, allocations: 223.5 kB / 487 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3849, allocations: 3.938 kB / 487 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.3851, allocations: 19.97 kB / 487 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3851, allocations: 7.938 kB / 487 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.3851, allocations: 3.984 kB / 487 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3851, allocations: 0 / 487 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3851, allocations: 4 kB / 487 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.3855, allocations: 177.8 kB / 487.2 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-05/0.3856, allocations: 93.03 kB / 487.3 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.3857, allocations: 2.75 kB / 487.3 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.3859, allocations: 11.98 kB / 487.3 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.3859, allocations: 4 kB / 487.3 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.3859, allocations: 7.984 kB / 487.3 MB, free: 7.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.3861, allocations: 127.2 kB / 487.5 MB, free: 7.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3861, allocations: 4.062 kB / 487.5 MB, free: 7.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005163/0.3866, allocations: 167.9 kB / 487.6 MB, free: 6.996 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007966/0.3874, allocations: 397.5 kB / 488 MB, free: 6.602 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002793/0.3877, allocations: 79.88 kB / 488.1 MB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3877, allocations: 0 / 488.1 MB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.3879, allocations: 43.91 kB / 488.1 MB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.3881, allocations: 11.94 kB / 488.1 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005499/0.3886, allocations: 317.1 kB / 488.5 MB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.3889, allocations: 0.6846 MB / 489.1 MB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000523/0.3894, allocations: 435 kB / 489.6 MB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.3896, allocations: 43.39 kB / 489.6 MB, free: 4.953 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3896, allocations: 0 / 489.6 MB, free: 4.953 MB / 382.1 MB Notification: Performance of Templates: time 0.009928/0.3995, allocations: 6.107 MB / 495.7 MB, free: 14.84 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_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_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches