Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001355/0.001355, allocations: 183.1 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.479/1.479, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0007398/0.0007397, allocations: 91.72 kB / 267.1 MB, free: 9.273 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.3749/0.3749, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.081e-05/3.083e-05, allocations: 4 kB / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1251, allocations: 58.85 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4113/0.5365, allocations: 87.1 MB / 0.5579 GB, free: 16.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.5368, allocations: 70.19 kB / 0.5579 GB, free: 16.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01472/0.5515, allocations: 7.869 MB / 0.5656 GB, free: 11.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.5516, allocations: 0 / 0.5656 GB, free: 11.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.5516, allocations: 8 kB / 0.5656 GB, free: 11.45 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.0004169/0.552, allocations: 0.5509 MB / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.5521, allocations: 12.03 kB / 0.5662 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.5521, allocations: 39.44 kB / 0.5662 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.5526, allocations: 336.8 kB / 0.5665 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.5526, allocations: 4 kB / 0.5665 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.5526, allocations: 3.375 kB / 0.5665 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.5527, allocations: 54.31 kB / 0.5666 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.5528, allocations: 0 / 0.5666 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.5528, allocations: 3.062 kB / 0.5666 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.5528, allocations: 0 / 0.5666 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.81e-05/0.5528, allocations: 25.64 kB / 0.5666 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005906/0.5534, allocations: 460.9 kB / 0.5671 GB, free: 9.953 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.814e-05/0.5535, allocations: 36.64 kB / 0.5671 GB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.661e-05/0.5536, allocations: 16.8 kB / 0.5671 GB, free: 9.898 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.5536, allocations: 7.938 kB / 0.5671 GB, free: 9.891 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.5536, allocations: 39.17 kB / 0.5672 GB, free: 9.848 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.5536, allocations: 4 kB / 0.5672 GB, free: 9.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004958/0.5541, allocations: 237.2 kB / 0.5674 GB, free: 9.625 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.5542, allocations: 55.09 kB / 0.5674 GB, free: 9.562 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009337/0.5551, allocations: 0.7806 MB / 0.5682 GB, free: 8.949 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.5551, allocations: 25.7 kB / 0.5682 GB, free: 8.918 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.5552, allocations: 211.4 kB / 0.5684 GB, free: 8.797 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.5552, allocations: 27.2 kB / 0.5685 GB, free: 8.773 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.5553, allocations: 0 / 0.5685 GB, free: 8.773 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.648e-05/0.5553, allocations: 357.1 kB / 0.5688 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-05/0.5554, allocations: 19.19 kB / 0.5688 GB, free: 8.422 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.092e-05/0.5554, allocations: 27.05 kB / 0.5688 GB, free: 8.402 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.958e-05/0.5555, allocations: 28.17 kB / 0.5689 GB, free: 8.387 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.5555, allocations: 0 / 0.5689 GB, free: 8.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001371/0.5556, allocations: 123.3 kB / 0.569 GB, free: 8.277 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.5556, allocations: 7.953 kB / 0.569 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5556, allocations: 4 kB / 0.569 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.5557, allocations: 0 / 0.569 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.5558, allocations: 31.91 kB / 0.569 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.5558, allocations: 0 / 0.569 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.313e-05/0.5559, allocations: 15.94 kB / 0.569 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.5559, allocations: 0.7656 kB / 0.569 GB, free: 8.219 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 4.921e-05/0.556, allocations: 113.5 kB / 0.5691 GB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/0.556, allocations: 43.58 kB / 0.5692 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.5562, allocations: 155.5 kB / 0.5693 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5562, allocations: 0 / 0.5693 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5563, allocations: 0 / 0.5693 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5563, allocations: 0 / 0.5693 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005492/0.5568, allocations: 0.6111 MB / 0.5699 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5568, allocations: 3.953 kB / 0.5699 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.124e-05/0.5569, allocations: 23.98 kB / 0.57 GB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5569, allocations: 4 kB / 0.57 GB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.5569, allocations: 0 / 0.57 GB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.5569, allocations: 3.938 kB / 0.57 GB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.5569, allocations: 0 / 0.57 GB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.5571, allocations: 224 kB / 0.5702 GB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.5573, allocations: 162.6 kB / 0.5703 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.5574, allocations: 9.25 kB / 0.5703 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.5575, allocations: 16.86 kB / 0.5704 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.5575, allocations: 7.984 kB / 0.5704 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.5575, allocations: 0 / 0.5704 GB, free: 6.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005169/0.5581, allocations: 0.6367 MB / 0.571 GB, free: 6.453 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5581, allocations: 0 / 0.571 GB, free: 6.453 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002486/0.5583, allocations: 56 kB / 0.571 GB, free: 6.398 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.000749/0.5591, allocations: 374.1 kB / 0.5714 GB, free: 6.105 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001206/0.5592, allocations: 48 kB / 0.5714 GB, free: 6.074 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5592, allocations: 0 / 0.5714 GB, free: 6.074 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.707e-05/0.5593, allocations: 34.67 kB / 0.5715 GB, free: 6.047 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.5595, allocations: 24.64 kB / 0.5715 GB, free: 6.031 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000815/0.5603, allocations: 0.7351 MB / 0.5722 GB, free: 5.359 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.5606, allocations: 0.8424 MB / 0.573 GB, free: 4.508 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.729e-05/0.5607, allocations: 45.22 kB / 0.5731 GB, free: 4.461 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.5607, allocations: 23.44 kB / 0.5731 GB, free: 4.438 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5607, allocations: 0 / 0.5731 GB, free: 4.438 MB / 394.7 MB Notification: Performance of Templates: time 0.005204/0.5659, allocations: 2.539 MB / 0.5756 GB, free: 1.902 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches