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.001014/0.001014, allocations: 93.55 kB / 16.93 MB, free: 6.441 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.001116/0.001116, allocations: 183 kB / 17.83 MB, free: 6.023 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.394/1.394, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004322/0.0004323, allocations: 12.78 kB / 280.7 MB, free: 3.766 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08819/0.08864, allocations: 47.58 MB / 328.3 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001352/0.09003, allocations: 1.048 MB / 329.4 MB, free: 3.055 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.2891/0.3792, allocations: 127.1 MB / 456.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.3793, allocations: 7.938 kB / 456.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.3793, allocations: 3.984 kB / 456.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007599/0.3801, allocations: 199.3 kB / 456.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.3812, allocations: 471.8 kB / 457.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.659e-05/0.3813, allocations: 43.92 kB / 457.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.717e-05/0.3814, allocations: 4 kB / 457.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.597e-05/0.3814, allocations: 23.92 kB / 457.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.02e-05/0.3815, allocations: 23.91 kB / 457.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.3815, allocations: 4 kB / 457.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.3828, allocations: 0.6397 MB / 457.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.3828, allocations: 0 / 457.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.3829, allocations: 37.64 kB / 457.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000618/0.3835, allocations: 348.8 kB / 458.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.3835, allocations: 0 / 458.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3835, allocations: 0 / 458.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3835, allocations: 0 / 458.2 MB, free: 7.07 MB / 350.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.0005788/0.3841, allocations: 439.7 kB / 458.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3842, allocations: 8.031 kB / 458.7 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.3852, allocations: 104.3 kB / 458.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.3855, allocations: 219.4 kB / 459 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.3855, allocations: 0 / 459 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.3855, allocations: 4 kB / 459 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.3857, allocations: 91.27 kB / 459.1 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.3857, allocations: 0 / 459.1 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3858, allocations: 0 / 459.1 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3858, allocations: 4 kB / 459.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.3859, allocations: 47.94 kB / 459.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002272/0.3862, allocations: 218.7 kB / 459.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.3866, allocations: 125.2 kB / 459.5 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005393/0.3871, allocations: 0.9779 MB / 460.4 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.3872, allocations: 30.56 kB / 460.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.3872, allocations: 0 / 460.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004452/0.3876, allocations: 137.4 kB / 460.6 MB, free: 4.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.3877, allocations: 77.11 kB / 460.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.3879, allocations: 157.8 kB / 460.8 MB, free: 4.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.3879, allocations: 29.64 kB / 460.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.388, allocations: 88.08 kB / 460.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.388, allocations: 27.64 kB / 461 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.388, allocations: 0 / 461 MB, free: 3.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.352e-05/0.3881, allocations: 322.8 kB / 461.3 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.705e-05/0.3882, allocations: 23.97 kB / 461.3 MB, free: 3.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.3884, allocations: 55.41 kB / 461.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.3885, allocations: 31.92 kB / 461.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3885, allocations: 0 / 461.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002982/0.3888, allocations: 117.5 kB / 461.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3888, allocations: 4 kB / 461.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3888, allocations: 0 / 461.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3888, allocations: 15.98 kB / 461.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.389, allocations: 27.97 kB / 461.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.389, allocations: 0 / 461.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.3892, allocations: 7.906 kB / 461.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.3892, allocations: 7.984 kB / 461.6 MB, free: 3.246 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.062e-05/0.3893, allocations: 113.8 kB / 461.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.3893, allocations: 3.953 kB / 461.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005267/0.3899, allocations: 247.1 kB / 461.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.3899, allocations: 4 kB / 461.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3899, allocations: 0 / 461.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3899, allocations: 0 / 461.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.3901, allocations: 212.5 kB / 462.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3901, allocations: 7.984 kB / 462.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.3903, allocations: 23.92 kB / 462.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3903, allocations: 0 / 462.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.3903, allocations: 4.516 kB / 462.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3903, allocations: 3.25 kB / 462.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3903, allocations: 0 / 462.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.3907, allocations: 195.5 kB / 462.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.523e-05/0.3908, allocations: 96.94 kB / 462.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.3909, allocations: 3.984 kB / 462.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.391, allocations: 11.98 kB / 462.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.3911, allocations: 11.92 kB / 462.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.3911, allocations: 0 / 462.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.3912, allocations: 132 kB / 462.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3912, allocations: 4.062 kB / 462.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005119/0.3918, allocations: 163.9 kB / 462.8 MB, free: 1.934 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008739/0.3926, allocations: 380.2 kB / 463.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002941/0.393, allocations: 83.86 kB / 463.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.393, allocations: 0 / 463.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.3931, allocations: 35.97 kB / 463.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.3933, allocations: 11.95 kB / 463.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006311/0.3939, allocations: 377.2 kB / 463.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.3942, allocations: 0.6887 MB / 464.3 MB, free: 332 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005673/0.3947, allocations: 439 kB / 464.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.3949, allocations: 39.27 kB / 464.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3949, allocations: 0 / 464.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of Templates: time 0.009155/0.404, allocations: 5.872 MB / 470.7 MB, free: 9.973 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile Environment - environmentSimulation: (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/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","../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