Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008777/0.0008775, allocations: 96.23 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001026/0.001026, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000209/0.000209, allocations: 4 kB / 306.6 MB, free: 1.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08951/0.08973, allocations: 51.48 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001211/0.09097, allocations: 1.045 MB / 359.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2939/0.3849, allocations: 125.8 MB / 484.9 MB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.817e-05/0.385, allocations: 0 / 484.9 MB, free: 13.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/0.385, allocations: 7.922 kB / 484.9 MB, free: 13.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007202/0.3857, allocations: 199.4 kB / 485.1 MB, free: 13.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005828/0.3863, allocations: 275 kB / 485.4 MB, free: 13.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.441e-05/0.3864, allocations: 39.92 kB / 485.4 MB, free: 13.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.3864, allocations: 11.92 kB / 485.4 MB, free: 13.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.536e-05/0.3865, allocations: 11.94 kB / 485.4 MB, free: 13.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.241e-05/0.3865, allocations: 27.91 kB / 485.4 MB, free: 13.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.3866, allocations: 4 kB / 485.4 MB, free: 13.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009095/0.3875, allocations: 0.4915 MB / 485.9 MB, free: 12.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.3875, allocations: 15.91 kB / 486 MB, free: 12.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.3875, allocations: 37.64 kB / 486 MB, free: 12.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004314/0.388, allocations: 275.9 kB / 486.3 MB, free: 12.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.388, allocations: 0 / 486.3 MB, free: 12.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.388, allocations: 0 / 486.3 MB, free: 12.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.388, allocations: 0 / 486.3 MB, free: 12.44 MB / 398.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.0005017/0.3885, allocations: 418.4 kB / 486.7 MB, free: 11.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.3886, allocations: 8.031 kB / 486.7 MB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.3898, allocations: 111.8 kB / 486.8 MB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.3901, allocations: 215.5 kB / 487 MB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.3901, allocations: 7.953 kB / 487 MB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.3902, allocations: 4 kB / 487 MB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.3904, allocations: 91.31 kB / 487.1 MB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.3904, allocations: 4 kB / 487.1 MB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.3904, allocations: 4 kB / 487.1 MB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3904, allocations: 0 / 487.1 MB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.3906, allocations: 43.89 kB / 487.1 MB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.3908, allocations: 214.9 kB / 487.4 MB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.3913, allocations: 129.1 kB / 487.5 MB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005384/0.3918, allocations: 0.974 MB / 488.5 MB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.3918, allocations: 31.44 kB / 488.5 MB, free: 9.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3918, allocations: 0 / 488.5 MB, free: 9.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004453/0.3923, allocations: 141.6 kB / 488.6 MB, free: 9.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.819e-05/0.3924, allocations: 81.11 kB / 488.7 MB, free: 9.574 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.3926, allocations: 157.8 kB / 488.9 MB, free: 9.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.3926, allocations: 25.7 kB / 488.9 MB, free: 9.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.3927, allocations: 84.14 kB / 489 MB, free: 9.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.3927, allocations: 27.64 kB / 489 MB, free: 9.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.3927, allocations: 0 / 489 MB, free: 9.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3929, allocations: 318.8 kB / 489.3 MB, free: 8.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-05/0.393, allocations: 27.97 kB / 489.3 MB, free: 8.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.3931, allocations: 51.41 kB / 489.4 MB, free: 8.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.3932, allocations: 31.92 kB / 489.4 MB, free: 8.824 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3932, allocations: 0 / 489.4 MB, free: 8.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002978/0.3935, allocations: 125.4 kB / 489.5 MB, free: 8.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3935, allocations: 7.984 kB / 489.5 MB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3935, allocations: 4 kB / 489.5 MB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.3935, allocations: 0 / 489.5 MB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.3937, allocations: 27.97 kB / 489.6 MB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3937, allocations: 0 / 489.6 MB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.3939, allocations: 4 kB / 489.6 MB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.3939, allocations: 14.86 kB / 489.6 MB, free: 8.641 MB / 398.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 7.921e-05/0.394, allocations: 117.9 kB / 489.7 MB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.394, allocations: 15.8 kB / 489.7 MB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00052/0.3946, allocations: 231.5 kB / 489.9 MB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.3946, allocations: 4 kB / 490 MB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3946, allocations: 4 kB / 490 MB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3946, allocations: 0 / 490 MB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.3948, allocations: 215 kB / 490.2 MB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3948, allocations: 0 / 490.2 MB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.395, allocations: 27.91 kB / 490.2 MB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.395, allocations: 7.953 kB / 490.2 MB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.395, allocations: 0 / 490.2 MB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.395, allocations: 0 / 490.2 MB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.395, allocations: 3.938 kB / 490.2 MB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.3954, allocations: 191.5 kB / 490.4 MB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.3955, allocations: 96.98 kB / 490.5 MB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.3955, allocations: 4.359 kB / 490.5 MB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.3957, allocations: 8 kB / 490.5 MB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.3958, allocations: 7.984 kB / 490.5 MB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.3958, allocations: 4.062 kB / 490.5 MB, free: 7.617 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001523/0.3959, allocations: 131.2 kB / 490.6 MB, free: 7.488 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.396, allocations: 0 / 490.6 MB, free: 7.488 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004788/0.3964, allocations: 127.9 kB / 490.8 MB, free: 7.363 MB / 398.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.0006735/0.3971, allocations: 308.8 kB / 491.1 MB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002631/0.3974, allocations: 75.88 kB / 491.1 MB, free: 6.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3974, allocations: 4 kB / 491.1 MB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.3975, allocations: 35.92 kB / 491.2 MB, free: 6.941 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.3977, allocations: 11.98 kB / 491.2 MB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005729/0.3983, allocations: 370.7 kB / 491.6 MB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.3986, allocations: 0.6887 MB / 492.2 MB, free: 5.828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000584/0.3992, allocations: 427 kB / 492.7 MB, free: 5.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.3993, allocations: 39.38 kB / 492.7 MB, free: 5.371 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3993, allocations: 0 / 492.7 MB, free: 5.371 MB / 398.1 MB Notification: Performance of Templates: time 0.008514/0.4078, allocations: 5.018 MB / 497.7 MB, free: 368 kB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches