Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 176.2 kB / 16.76 MB, free: 5.047 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.643/1.643, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0009417/0.0009418, allocations: 99.38 kB / 271.3 MB, free: 8.227 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.3365/0.3365, allocations: 43.57 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004025, allocations: 12 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1008, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2739/0.3747, allocations: 87.52 MB / 0.5654 GB, free: 14.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.375, allocations: 75.95 kB / 0.5655 GB, free: 14.4 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.011/0.386, allocations: 4.596 MB / 0.57 GB, free: 9.832 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.3861, allocations: 0 / 0.57 GB, free: 9.832 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.3861, allocations: 4 kB / 0.57 GB, free: 9.828 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.0004607/0.3866, allocations: 398.8 kB / 0.5704 GB, free: 9.391 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3866, allocations: 8.031 kB / 0.5704 GB, free: 9.383 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.3867, allocations: 8.844 kB / 0.5704 GB, free: 9.375 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.3869, allocations: 208.1 kB / 0.5706 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.3869, allocations: 384 / 0.5706 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.3869, allocations: 4.375 kB / 0.5706 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.3871, allocations: 79.94 kB / 0.5707 GB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3872, allocations: 1.5 kB / 0.5707 GB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.3872, allocations: 7.938 kB / 0.5707 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3872, allocations: 3.938 kB / 0.5707 GB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.3873, allocations: 47.97 kB / 0.5707 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.3878, allocations: 320.6 kB / 0.571 GB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.3879, allocations: 46.55 kB / 0.5711 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.38e-05/0.388, allocations: 32.94 kB / 0.5711 GB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.388, allocations: 0 / 0.5711 GB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.3881, allocations: 38.88 kB / 0.5711 GB, free: 8.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.3881, allocations: 0 / 0.5711 GB, free: 8.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007778/0.3889, allocations: 257.9 kB / 0.5714 GB, free: 8.223 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.3889, allocations: 81.11 kB / 0.5715 GB, free: 8.125 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.3891, allocations: 148.4 kB / 0.5716 GB, free: 7.973 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.3891, allocations: 29.7 kB / 0.5716 GB, free: 7.938 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.3892, allocations: 90.86 kB / 0.5717 GB, free: 7.848 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.3892, allocations: 27.64 kB / 0.5717 GB, free: 7.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.3892, allocations: 0 / 0.5717 GB, free: 7.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3894, allocations: 318.8 kB / 0.572 GB, free: 7.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.3895, allocations: 56.02 kB / 0.5721 GB, free: 7.445 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.3896, allocations: 57.69 kB / 0.5722 GB, free: 7.383 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.3899, allocations: 109 kB / 0.5723 GB, free: 7.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3899, allocations: 0 / 0.5723 GB, free: 7.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002891/0.3902, allocations: 145.5 kB / 0.5724 GB, free: 7.125 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3902, allocations: 4 kB / 0.5724 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3902, allocations: 3.938 kB / 0.5724 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.3903, allocations: 0 / 0.5724 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3904, allocations: 27.98 kB / 0.5724 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3904, allocations: 0 / 0.5724 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.126e-05/0.3904, allocations: 11.98 kB / 0.5724 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.3905, allocations: 8 kB / 0.5725 GB, free: 7.07 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.649e-05/0.3905, allocations: 125.8 kB / 0.5726 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.3906, allocations: 11.91 kB / 0.5726 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003586/0.391, allocations: 154.2 kB / 0.5727 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.391, allocations: 4 kB / 0.5727 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.391, allocations: 3.984 kB / 0.5727 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.391, allocations: 0 / 0.5727 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005249/0.3915, allocations: 426.4 kB / 0.5731 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3915, allocations: 3.938 kB / 0.5732 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.017e-05/0.3916, allocations: 19.98 kB / 0.5732 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.3916, allocations: 4 kB / 0.5732 GB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.3916, allocations: 7.922 kB / 0.5732 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3916, allocations: 3.938 kB / 0.5732 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3917, allocations: 0 / 0.5732 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.392, allocations: 244.1 kB / 0.5734 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.392, allocations: 85.02 kB / 0.5735 GB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.3921, allocations: 4.281 kB / 0.5735 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.952e-05/0.3922, allocations: 15.92 kB / 0.5735 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.3922, allocations: 11.98 kB / 0.5735 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-06/0.3922, allocations: 0 / 0.5735 GB, free: 5.863 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.663e-05/0.3923, allocations: 116.8 kB / 0.5736 GB, free: 5.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3923, allocations: 0 / 0.5736 GB, free: 5.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002575/0.3926, allocations: 43.88 kB / 0.5737 GB, free: 5.707 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 () * 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 (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.0008605/0.3935, allocations: 460.1 kB / 0.5741 GB, free: 5.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002941/0.3938, allocations: 107.9 kB / 0.5742 GB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3938, allocations: 0 / 0.5742 GB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.3939, allocations: 59.91 kB / 0.5743 GB, free: 5.191 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.3942, allocations: 15.98 kB / 0.5743 GB, free: 5.176 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.3946, allocations: 207.3 kB / 0.5745 GB, free: 4.953 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.3949, allocations: 0.7043 MB / 0.5752 GB, free: 4.223 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.786e-05/0.395, allocations: 20.97 kB / 0.5752 GB, free: 4.199 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.395, allocations: 15.42 kB / 0.5752 GB, free: 4.184 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.395, allocations: 0 / 0.5752 GB, free: 4.184 MB / 394.7 MB Notification: Performance of Templates: time 0.003482/0.3985, allocations: 1.468 MB / 0.5767 GB, free: 2.719 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches