Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 176.7 kB / 8.008 MB, free: 1.066 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.655/1.655, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0008782/0.0008783, allocations: 82.36 kB / 261.7 MB, free: 1.688 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.2158/0.2158, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.744e-05/1.746e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1267, allocations: 58.86 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4412/0.5679, allocations: 86.54 MB / 0.5504 GB, free: 8.387 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001868/0.5681, allocations: 73 kB / 0.5505 GB, free: 8.352 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01441/0.5826, allocations: 8.034 MB / 0.5584 GB, free: 1.508 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5826, allocations: 0 / 0.5584 GB, free: 1.508 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.824e-05/0.5826, allocations: 4 kB / 0.5584 GB, free: 1.504 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.0004364/0.5831, allocations: 0.5452 MB / 0.5589 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.5831, allocations: 12.03 kB / 0.5589 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.006e-05/0.5832, allocations: 52.22 kB / 0.559 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.5836, allocations: 325.5 kB / 0.5593 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.5836, allocations: 4 kB / 0.5593 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.5836, allocations: 0 / 0.5593 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.334e-05/0.5837, allocations: 18.75 kB / 0.5593 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.103e-05/0.5838, allocations: 45.25 kB / 0.5593 GB, free: 484 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.5838, allocations: 7.875 kB / 0.5593 GB, free: 476 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.5838, allocations: 0 / 0.5593 GB, free: 476 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.5838, allocations: 3.953 kB / 0.5593 GB, free: 472 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.5843, allocations: 424.2 kB / 0.5597 GB, free: 64 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.5845, allocations: 34.17 kB / 0.5598 GB, free: 28 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.264e-05/0.5845, allocations: 16.84 kB / 0.5598 GB, free: 8 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.5845, allocations: 0 / 0.5598 GB, free: 8 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.5846, allocations: 42 kB / 0.5598 GB, free: 15.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.5846, allocations: 0 / 0.5598 GB, free: 15.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004642/0.5851, allocations: 199.4 kB / 0.56 GB, free: 15.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.5851, allocations: 51.41 kB / 0.5601 GB, free: 15.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.5862, allocations: 0.7544 MB / 0.5608 GB, free: 15.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.5862, allocations: 25.7 kB / 0.5608 GB, free: 15.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.5864, allocations: 218.4 kB / 0.561 GB, free: 14.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.5864, allocations: 7.812 kB / 0.5611 GB, free: 14.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-06/0.5864, allocations: 7.938 kB / 0.5611 GB, free: 14.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.5866, allocations: 361.5 kB / 0.5614 GB, free: 14.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.87e-05/0.5866, allocations: 11.73 kB / 0.5614 GB, free: 14.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.923e-05/0.5866, allocations: 11.88 kB / 0.5614 GB, free: 14.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.987e-05/0.5867, allocations: 11.81 kB / 0.5614 GB, free: 14.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5867, allocations: 0 / 0.5614 GB, free: 14.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001314/0.5868, allocations: 100.8 kB / 0.5615 GB, free: 14.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.5868, allocations: 7.984 kB / 0.5615 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.5868, allocations: 8.062 kB / 0.5616 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.5869, allocations: 7.953 kB / 0.5616 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.894e-05/0.5869, allocations: 12 kB / 0.5616 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.587, allocations: 0 / 0.5616 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.802e-05/0.587, allocations: 7.984 kB / 0.5616 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-06/0.587, allocations: 4 kB / 0.5616 GB, free: 14.45 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 (5): * Single equations (assignments): 5 * 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.549e-05/0.5871, allocations: 104.9 kB / 0.5617 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.111e-05/0.5872, allocations: 43.44 kB / 0.5617 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000191/0.5874, allocations: 120.4 kB / 0.5618 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.5874, allocations: 3.953 kB / 0.5618 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.5874, allocations: 0 / 0.5618 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5874, allocations: 4.125 kB / 0.5618 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006245/0.5881, allocations: 0.5462 MB / 0.5624 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5881, allocations: 3.938 kB / 0.5624 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.305e-05/0.5881, allocations: 15.98 kB / 0.5624 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5882, allocations: 4 kB / 0.5624 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.5882, allocations: 3.953 kB / 0.5624 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5882, allocations: 0 / 0.5624 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5882, allocations: 0 / 0.5624 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.5884, allocations: 198.3 kB / 0.5626 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.5886, allocations: 160.1 kB / 0.5627 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.5886, allocations: 0 / 0.5627 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.431e-05/0.5887, allocations: 15.89 kB / 0.5628 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.5887, allocations: 8.172 kB / 0.5628 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.5888, allocations: 8 kB / 0.5628 GB, free: 13.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005625/0.5893, allocations: 0.6086 MB / 0.5634 GB, free: 12.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.407e-06/0.5893, allocations: 0 / 0.5634 GB, free: 12.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002922/0.5896, allocations: 59.88 kB / 0.5634 GB, free: 12.75 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 (5): * Single equations (assignments): 5 * 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.0007545/0.5904, allocations: 323.2 kB / 0.5637 GB, free: 12.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.5905, allocations: 31.31 kB / 0.5638 GB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5905, allocations: 0 / 0.5638 GB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.464e-05/0.5906, allocations: 19.81 kB / 0.5638 GB, free: 12.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.5909, allocations: 33.44 kB / 0.5638 GB, free: 12.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.5919, allocations: 0.7116 MB / 0.5645 GB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.5923, allocations: 0.8335 MB / 0.5653 GB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.118e-05/0.5924, allocations: 43.98 kB / 0.5654 GB, free: 10.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.261e-05/0.5925, allocations: 19.44 kB / 0.5654 GB, free: 10.85 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5925, allocations: 0 / 0.5654 GB, free: 10.85 MB / 378.7 MB Notification: Performance of Templates: time 0.005584/0.5981, allocations: 2.131 MB / 0.5675 GB, free: 8.727 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches