Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 176 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 86.64 kB / 261.7 MB, free: 1.684 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.2281/0.2281, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.498e-05/1.501e-05, allocations: 0 / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1282, allocations: 58.87 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4181/0.5464, allocations: 86.04 MB / 0.55 GB, free: 8.754 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.5467, allocations: 69.38 kB / 0.55 GB, free: 8.723 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01349/0.5602, allocations: 7.686 MB / 0.5575 GB, free: 2.148 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5602, allocations: 3.5 kB / 0.5575 GB, free: 2.148 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.5602, allocations: 4 kB / 0.5575 GB, free: 2.145 MB / 362.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.0004379/0.5607, allocations: 0.5609 MB / 0.5581 GB, free: 1.559 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.5607, allocations: 8.031 kB / 0.5581 GB, free: 1.551 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.949e-05/0.5608, allocations: 51.38 kB / 0.5581 GB, free: 1.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003549/0.5612, allocations: 322.7 kB / 0.5585 GB, free: 1.168 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.5612, allocations: 0 / 0.5585 GB, free: 1.168 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.5612, allocations: 4 kB / 0.5585 GB, free: 1.164 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.797e-05/0.5613, allocations: 19.5 kB / 0.5585 GB, free: 1.148 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.591e-05/0.5614, allocations: 49.14 kB / 0.5585 GB, free: 1.102 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.5614, allocations: 4 kB / 0.5585 GB, free: 1.098 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.5614, allocations: 0 / 0.5585 GB, free: 1.098 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.5614, allocations: 3.953 kB / 0.5585 GB, free: 1.094 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.5619, allocations: 406.2 kB / 0.5589 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.99e-05/0.5619, allocations: 33.64 kB / 0.559 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.303e-05/0.562, allocations: 19.98 kB / 0.559 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.562, allocations: 0 / 0.559 GB, free: 0.6602 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.562, allocations: 30.56 kB / 0.559 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.562, allocations: 4 kB / 0.559 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004497/0.5625, allocations: 216.4 kB / 0.5592 GB, free: 428 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/0.5625, allocations: 59.34 kB / 0.5593 GB, free: 356 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.5635, allocations: 0.7493 MB / 0.56 GB, free: 15.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.5636, allocations: 29.64 kB / 0.56 GB, free: 15.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.5637, allocations: 213.5 kB / 0.5602 GB, free: 15.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.5638, allocations: 22.89 kB / 0.5603 GB, free: 15.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/0.5638, allocations: 0 / 0.5603 GB, free: 15.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.5639, allocations: 356.1 kB / 0.5606 GB, free: 15.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.737e-05/0.564, allocations: 18.88 kB / 0.5606 GB, free: 15.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.564, allocations: 15.36 kB / 0.5606 GB, free: 15.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.339e-05/0.564, allocations: 18.55 kB / 0.5606 GB, free: 15.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.564, allocations: 0 / 0.5606 GB, free: 15.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001556/0.5642, allocations: 106.9 kB / 0.5607 GB, free: 15.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.5642, allocations: 8 kB / 0.5608 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.5642, allocations: 0 / 0.5608 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.5643, allocations: 3.953 kB / 0.5608 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.5644, allocations: 27.92 kB / 0.5608 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.5644, allocations: 0 / 0.5608 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.011e-05/0.5645, allocations: 15.98 kB / 0.5608 GB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.5645, allocations: 7.438 kB / 0.5608 GB, free: 15.06 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 () * 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 8.388e-05/0.5646, allocations: 101 kB / 0.5609 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.5647, allocations: 43.58 kB / 0.5609 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.5649, allocations: 133.6 kB / 0.5611 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5649, allocations: 3.953 kB / 0.5611 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5649, allocations: 0 / 0.5611 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.565, allocations: 4 kB / 0.5611 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006863/0.5656, allocations: 0.5515 MB / 0.5616 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5657, allocations: 0 / 0.5616 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.288e-05/0.5658, allocations: 23.98 kB / 0.5616 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.5658, allocations: 0 / 0.5616 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.5658, allocations: 3.953 kB / 0.5616 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5658, allocations: 0 / 0.5616 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5658, allocations: 8 kB / 0.5616 GB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.566, allocations: 205.5 kB / 0.5618 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.5662, allocations: 156.4 kB / 0.562 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.5663, allocations: 4 kB / 0.562 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.5664, allocations: 15.94 kB / 0.562 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.5664, allocations: 11.86 kB / 0.562 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.5665, allocations: 4 kB / 0.562 GB, free: 13.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006294/0.5671, allocations: 0.6081 MB / 0.5626 GB, free: 13.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5671, allocations: 0 / 0.5626 GB, free: 13.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002915/0.5674, allocations: 59.91 kB / 0.5627 GB, free: 13.35 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 () * 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.000882/0.5683, allocations: 334.8 kB / 0.563 GB, free: 13.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.5684, allocations: 50.94 kB / 0.563 GB, free: 13.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5684, allocations: 0 / 0.563 GB, free: 13.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.161e-05/0.5685, allocations: 19.56 kB / 0.5631 GB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.5688, allocations: 25.14 kB / 0.5631 GB, free: 13.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.57, allocations: 0.7109 MB / 0.5638 GB, free: 12.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.5705, allocations: 0.8332 MB / 0.5646 GB, free: 11.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.5706, allocations: 39.98 kB / 0.5646 GB, free: 11.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.5707, allocations: 23.44 kB / 0.5647 GB, free: 11.44 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5707, allocations: 0 / 0.5647 GB, free: 11.44 MB / 378.7 MB Notification: Performance of Templates: time 0.006287/0.577, allocations: 2.208 MB / 0.5668 GB, free: 9.238 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches