Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 110.2 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3452/0.3452, allocations: 44.13 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 51.91 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3818, allocations: 60.8 MB / 0.5064 GB, free: 38.47 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003489/0.3854, allocations: 1.631 MB / 0.508 GB, free: 37.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008885/0.3863, allocations: 409.1 kB / 0.5084 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.3864, allocations: 1.125 kB / 0.5084 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006777/0.387, allocations: 451.3 kB / 0.5088 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.3874, allocations: 246.7 kB / 0.509 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.3879, allocations: 106.4 kB / 0.5091 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.3881, allocations: 152.8 kB / 0.5093 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3882, allocations: 12.7 kB / 0.5093 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.3884, allocations: 96.7 kB / 0.5094 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.3886, allocations: 201.8 kB / 0.5096 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.3886, allocations: 2.844 kB / 0.5096 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.093e-05/0.3887, allocations: 26.77 kB / 0.5096 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.604e-05/0.3887, allocations: 78.98 kB / 0.5097 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.3888, allocations: 101.3 kB / 0.5098 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.389, allocations: 235.6 kB / 0.51 GB, free: 36.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.389, allocations: 0 / 0.51 GB, free: 36.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.389, allocations: 4 kB / 0.51 GB, free: 36.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.389, allocations: 2.938 kB / 0.51 GB, free: 36.7 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005062/0.3895, allocations: 0.6165 MB / 0.5106 GB, free: 36.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.3896, allocations: 8.094 kB / 0.5106 GB, free: 36.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.3896, allocations: 39.34 kB / 0.5107 GB, free: 36.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.3898, allocations: 291.8 kB / 0.5109 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.3898, allocations: 384 / 0.5109 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.3899, allocations: 2.812 kB / 0.5109 GB, free: 35.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.39, allocations: 62.06 kB / 0.511 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.39, allocations: 3.938 kB / 0.511 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.39, allocations: 0 / 0.511 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.39, allocations: 0 / 0.511 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.346e-05/0.3901, allocations: 19.61 kB / 0.511 GB, free: 35.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.3905, allocations: 369.3 kB / 0.5114 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.187e-05/0.3905, allocations: 38.7 kB / 0.5114 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.247e-05/0.3906, allocations: 13.97 kB / 0.5114 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.3906, allocations: 4 kB / 0.5114 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.3906, allocations: 33.34 kB / 0.5115 GB, free: 35.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3906, allocations: 0 / 0.5115 GB, free: 35.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002281/0.3909, allocations: 91.17 kB / 0.5116 GB, free: 35.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.042e-05/0.3909, allocations: 55.53 kB / 0.5116 GB, free: 35.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005952/0.3915, allocations: 0.8574 MB / 0.5124 GB, free: 34.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.3915, allocations: 25.7 kB / 0.5125 GB, free: 34.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3916, allocations: 218.3 kB / 0.5127 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.3917, allocations: 13.27 kB / 0.5127 GB, free: 34.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.3917, allocations: 15.69 kB / 0.5127 GB, free: 34.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.666e-05/0.3918, allocations: 360.7 kB / 0.513 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.033e-05/0.3918, allocations: 11.83 kB / 0.5131 GB, free: 34.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.094e-05/0.3919, allocations: 12.89 kB / 0.5131 GB, free: 34.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.548e-05/0.3919, allocations: 23.66 kB / 0.5131 GB, free: 34.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3919, allocations: 0 / 0.5131 GB, free: 34.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001228/0.3921, allocations: 87.56 kB / 0.5132 GB, free: 34.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3921, allocations: 5.688 kB / 0.5132 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.3921, allocations: 0 / 0.5132 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3921, allocations: 1.125 kB / 0.5132 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.35e-05/0.3922, allocations: 14.55 kB / 0.5132 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3922, allocations: 1.125 kB / 0.5132 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.072e-05/0.3922, allocations: 2.156 kB / 0.5132 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.3923, allocations: 0.9375 kB / 0.5132 GB, free: 34.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 0.0001584/0.3924, allocations: 213.8 kB / 0.5134 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.3925, allocations: 41.41 kB / 0.5134 GB, free: 34.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.3926, allocations: 106.2 kB / 0.5135 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3927, allocations: 9.969 kB / 0.5136 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3927, allocations: 0 / 0.5136 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3927, allocations: 4 kB / 0.5136 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.3929, allocations: 282.4 kB / 0.5138 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3929, allocations: 0 / 0.5138 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.179e-05/0.3929, allocations: 8.578 kB / 0.5138 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3929, allocations: 3.938 kB / 0.5138 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.3929, allocations: 0 / 0.5138 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3929, allocations: 2.719 kB / 0.5138 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3929, allocations: 0 / 0.5138 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.3933, allocations: 0.827 MB / 0.5146 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.3933, allocations: 112.6 kB / 0.5148 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.3934, allocations: 0 / 0.5148 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-05/0.3934, allocations: 6.875 kB / 0.5148 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.3935, allocations: 0 / 0.5148 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.3935, allocations: 10.22 kB / 0.5148 GB, free: 32.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005191/0.394, allocations: 0.6433 MB / 0.5154 GB, free: 32.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.394, allocations: 0 / 0.5154 GB, free: 32.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003326/0.3943, allocations: 18.19 kB / 0.5154 GB, free: 32.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0007162/0.3951, allocations: 342.3 kB / 0.5157 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.3952, allocations: 20.81 kB / 0.5158 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3952, allocations: 0 / 0.5158 GB, free: 32.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.136e-05/0.3953, allocations: 14.19 kB / 0.5158 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.3956, allocations: 28.47 kB / 0.5158 GB, free: 32.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009004/0.3965, allocations: 0.9357 MB / 0.5167 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.3968, allocations: 0.8153 MB / 0.5175 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.165e-05/0.3968, allocations: 9.875 kB / 0.5175 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.3969, allocations: 10.38 kB / 0.5175 GB, free: 31.26 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3969, allocations: 0 / 0.5175 GB, free: 31.26 MB / 378.7 MB Notification: Performance of Templates: time 0.004046/0.4009, allocations: 1.23 MB / 0.5187 GB, free: 31.09 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches