Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") translateModel(ModelicaTest.Tables.CombiTable2D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008693/0.0008694, allocations: 90.59 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3435/0.3435, allocations: 43.46 MB / 358.6 MB, free: 52.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.879e-05/3.895e-05, allocations: 4 kB / 425.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1311, allocations: 58.85 MB / 484.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3557/0.4868, allocations: 86.75 MB / 0.5575 GB, free: 2.254 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.4871, allocations: 76.09 kB / 0.5576 GB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01602/0.5032, allocations: 8.022 MB / 0.5654 GB, free: 10.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5032, allocations: 4 kB / 0.5654 GB, free: 10.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.959e-05/0.5032, allocations: 8 kB / 0.5654 GB, free: 10.17 MB / 394.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.0005381/0.5038, allocations: 0.5536 MB / 0.566 GB, free: 9.578 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.5039, allocations: 12.02 kB / 0.566 GB, free: 9.566 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.668e-05/0.5039, allocations: 43.44 kB / 0.566 GB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004668/0.5044, allocations: 327.2 kB / 0.5664 GB, free: 9.164 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.5044, allocations: 0 / 0.5664 GB, free: 9.164 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.5045, allocations: 4 kB / 0.5664 GB, free: 9.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.5046, allocations: 53.64 kB / 0.5664 GB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5046, allocations: 3.984 kB / 0.5664 GB, free: 9.102 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.5046, allocations: 4 kB / 0.5664 GB, free: 9.098 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5046, allocations: 0 / 0.5664 GB, free: 9.098 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.498e-05/0.5047, allocations: 27.94 kB / 0.5664 GB, free: 9.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005374/0.5052, allocations: 428.7 kB / 0.5669 GB, free: 8.602 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.23e-05/0.5053, allocations: 38.58 kB / 0.5669 GB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.5053, allocations: 14.17 kB / 0.5669 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.5054, allocations: 4 kB / 0.5669 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.5054, allocations: 34.52 kB / 0.5669 GB, free: 8.492 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.5054, allocations: 0 / 0.5669 GB, free: 8.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005075/0.5059, allocations: 220.1 kB / 0.5672 GB, free: 8.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.506, allocations: 55.41 kB / 0.5672 GB, free: 8.203 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.5071, allocations: 0.7732 MB / 0.568 GB, free: 7.418 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.5071, allocations: 25.7 kB / 0.568 GB, free: 7.387 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.5073, allocations: 220 kB / 0.5682 GB, free: 7.168 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.5073, allocations: 23.78 kB / 0.5682 GB, free: 7.145 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.5073, allocations: 0 / 0.5682 GB, free: 7.145 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.5075, allocations: 358.8 kB / 0.5686 GB, free: 6.785 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.354e-05/0.5075, allocations: 27.94 kB / 0.5686 GB, free: 6.758 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-05/0.5075, allocations: 12 kB / 0.5686 GB, free: 6.746 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.409e-05/0.5076, allocations: 12.66 kB / 0.5686 GB, free: 6.734 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.5076, allocations: 3.062 kB / 0.5686 GB, free: 6.734 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001434/0.5077, allocations: 109.1 kB / 0.5687 GB, free: 6.621 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.5078, allocations: 7.953 kB / 0.5687 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.5078, allocations: 0 / 0.5687 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.5078, allocations: 0 / 0.5687 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.5079, allocations: 35.97 kB / 0.5688 GB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.5079, allocations: 3.938 kB / 0.5688 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.914e-05/0.508, allocations: 12 kB / 0.5688 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.5081, allocations: 0 / 0.5688 GB, free: 6.562 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.477e-05/0.5081, allocations: 112.9 kB / 0.5689 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.859e-05/0.5082, allocations: 43.44 kB / 0.5689 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.5084, allocations: 141.8 kB / 0.5691 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5084, allocations: 0 / 0.5691 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5085, allocations: 4 kB / 0.5691 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5085, allocations: 0 / 0.5691 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007402/0.5092, allocations: 0.5842 MB / 0.5696 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5092, allocations: 3.953 kB / 0.5696 GB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.016e-05/0.5093, allocations: 19.98 kB / 0.5697 GB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.5093, allocations: 8 kB / 0.5697 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.5094, allocations: 8 kB / 0.5697 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.5094, allocations: 0 / 0.5697 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5094, allocations: 0 / 0.5697 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.5096, allocations: 206.9 kB / 0.5699 GB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.5097, allocations: 164.6 kB / 0.57 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.5098, allocations: 4 kB / 0.57 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.5099, allocations: 15.98 kB / 0.57 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.51, allocations: 7.984 kB / 0.57 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.51, allocations: 4.656 kB / 0.5701 GB, free: 5.145 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006412/0.5106, allocations: 0.6303 MB / 0.5707 GB, free: 4.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5106, allocations: 0 / 0.5707 GB, free: 4.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002716/0.5109, allocations: 60 kB / 0.5707 GB, free: 4.461 MB / 394.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 () * 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 (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.0008549/0.5118, allocations: 372.9 kB / 0.5711 GB, free: 4.172 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.5119, allocations: 47.94 kB / 0.5711 GB, free: 4.125 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5119, allocations: 0 / 0.5711 GB, free: 4.125 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.071e-05/0.5119, allocations: 24 kB / 0.5712 GB, free: 4.102 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.5122, allocations: 25.52 kB / 0.5712 GB, free: 4.078 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009894/0.5132, allocations: 0.7198 MB / 0.5719 GB, free: 3.344 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.5136, allocations: 0.8357 MB / 0.5727 GB, free: 2.484 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.783e-05/0.5137, allocations: 48.47 kB / 0.5727 GB, free: 2.438 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.717e-05/0.5138, allocations: 23.44 kB / 0.5728 GB, free: 2.414 MB / 394.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5138, allocations: 0 / 0.5728 GB, free: 2.414 MB / 394.7 MB Notification: Performance of Templates: time 0.005804/0.5196, allocations: 2.497 MB / 0.5752 GB, free: 15.91 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches