Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.00156, 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.332/1.332, allocations: 222.9 MB / 241.6 MB, free: 11 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.0009749/0.000975, allocations: 100 kB / 291.8 MB, free: 10.95 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.3747/0.3747, allocations: 44.13 MB / 386.1 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 59.92 kB / 457.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3574, allocations: 60.8 MB / 0.5064 GB, free: 38.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003219/0.3607, allocations: 1.677 MB / 0.508 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007935/0.3615, allocations: 458.1 kB / 0.5085 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.3616, allocations: 0 / 0.5085 GB, free: 36.97 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004986/0.3621, allocations: 453.3 kB / 0.5089 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.3624, allocations: 242.3 kB / 0.5091 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.3628, allocations: 167.5 kB / 0.5093 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.363, allocations: 166.4 kB / 0.5094 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3632, allocations: 19.81 kB / 0.5095 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.546e-05/0.3633, allocations: 106.9 kB / 0.5096 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.3634, allocations: 206.1 kB / 0.5098 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.3635, allocations: 6.75 kB / 0.5098 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.404e-05/0.3636, allocations: 28.47 kB / 0.5098 GB, free: 36.76 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.314e-05/0.3637, allocations: 85.22 kB / 0.5099 GB, free: 36.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.609e-05/0.3637, allocations: 97.47 kB / 0.51 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.364, allocations: 252.3 kB / 0.5102 GB, free: 36.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.364, allocations: 0 / 0.5102 GB, free: 36.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.364, allocations: 0 / 0.5102 GB, free: 36.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.364, allocations: 4 kB / 0.5102 GB, free: 36.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006383/0.3646, allocations: 0.6384 MB / 0.5108 GB, free: 35.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3647, allocations: 11.86 kB / 0.5108 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.3648, allocations: 41.69 kB / 0.5109 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.365, allocations: 291.1 kB / 0.5112 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.365, allocations: 3.281 kB / 0.5112 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.3651, allocations: 7.219 kB / 0.5112 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.3652, allocations: 65.89 kB / 0.5112 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3652, allocations: 3 kB / 0.5112 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.3653, allocations: 3.938 kB / 0.5112 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3653, allocations: 0 / 0.5112 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.3654, allocations: 40.55 kB / 0.5113 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.3659, allocations: 406.1 kB / 0.5117 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.366, allocations: 53.45 kB / 0.5117 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.3661, allocations: 23.53 kB / 0.5117 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.3661, allocations: 0 / 0.5117 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.3661, allocations: 34.5 kB / 0.5118 GB, free: 35.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.3661, allocations: 0 / 0.5118 GB, free: 35.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008469/0.367, allocations: 308.7 kB / 0.5121 GB, free: 35.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.367, allocations: 51.41 kB / 0.5121 GB, free: 35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007979/0.3678, allocations: 0.8583 MB / 0.513 GB, free: 34.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.3679, allocations: 25.7 kB / 0.513 GB, free: 34.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.368, allocations: 218.4 kB / 0.5132 GB, free: 34.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.368, allocations: 21.81 kB / 0.5132 GB, free: 34.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.3681, allocations: 19.72 kB / 0.5132 GB, free: 34.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.3682, allocations: 364.9 kB / 0.5136 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.3683, allocations: 34.03 kB / 0.5136 GB, free: 34.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.3684, allocations: 36.64 kB / 0.5136 GB, free: 34.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.3686, allocations: 96.55 kB / 0.5137 GB, free: 34.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3687, allocations: 0 / 0.5137 GB, free: 34.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002956/0.369, allocations: 156.6 kB / 0.5139 GB, free: 33.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.369, allocations: 7.031 kB / 0.5139 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.369, allocations: 3.938 kB / 0.5139 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.369, allocations: 4 kB / 0.5139 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.3692, allocations: 19.69 kB / 0.5139 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3692, allocations: 0 / 0.5139 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.97e-05/0.3692, allocations: 12.62 kB / 0.5139 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.3693, allocations: 6.656 kB / 0.5139 GB, free: 33.96 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 (7): * Single equations (assignments): 7 * 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.0001542/0.3694, allocations: 214.5 kB / 0.5141 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.3695, allocations: 38.25 kB / 0.5142 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.3698, allocations: 185.7 kB / 0.5144 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3698, allocations: 2.062 kB / 0.5144 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3698, allocations: 4 kB / 0.5144 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3699, allocations: 6.031 kB / 0.5144 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005797/0.3704, allocations: 0.5039 MB / 0.5149 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3705, allocations: 0 / 0.5149 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.747e-05/0.3706, allocations: 29.39 kB / 0.5149 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3706, allocations: 0 / 0.5149 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3706, allocations: 4.719 kB / 0.5149 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3706, allocations: 1 kB / 0.5149 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3706, allocations: 0 / 0.5149 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007802/0.3714, allocations: 0.9316 MB / 0.5158 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/0.3715, allocations: 109.3 kB / 0.5159 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.841e-05/0.3715, allocations: 5.094 kB / 0.5159 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.934e-05/0.3716, allocations: 8.453 kB / 0.5159 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.3717, allocations: 12.3 kB / 0.5159 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.3717, allocations: 0 / 0.5159 GB, free: 32.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005913/0.3723, allocations: 0.6463 MB / 0.5166 GB, free: 32.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3723, allocations: 0 / 0.5166 GB, free: 32.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003711/0.3727, allocations: 26.5 kB / 0.5166 GB, free: 32.16 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 (7): * Single equations (assignments): 7 * 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.0008128/0.3735, allocations: 401.8 kB / 0.517 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002854/0.3738, allocations: 98.39 kB / 0.5171 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3738, allocations: 3.938 kB / 0.5171 GB, free: 31.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.3739, allocations: 44.11 kB / 0.5171 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.3743, allocations: 28.97 kB / 0.5171 GB, free: 31.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.3753, allocations: 1.024 MB / 0.5181 GB, free: 31.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.3757, allocations: 0.8314 MB / 0.519 GB, free: 30.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.546e-05/0.3757, allocations: 27.39 kB / 0.519 GB, free: 30.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.3758, allocations: 10.66 kB / 0.519 GB, free: 30.61 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.3758, allocations: 2.656 kB / 0.519 GB, free: 30.61 MB / 378.7 MB Notification: Performance of Templates: time 0.004311/0.3801, allocations: 1.518 MB / 0.5205 GB, free: 30.43 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches