Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000868/0.0008681, allocations: 91.33 kB / 17.36 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001021/0.001022, allocations: 200 kB / 18.28 MB, free: 5.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.245/1.245, allocations: 227.7 MB / 246.8 MB, free: 11.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1751/0.1751, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002243/0.0002244, allocations: 11.98 kB / 419.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08557/0.0858, allocations: 63.57 MB / 483.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.001601/0.08744, allocations: 1.376 MB / 484.4 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008136/0.08827, allocations: 0.5379 MB / 485 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.078e-05/0.08831, allocations: 0 / 485 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004565/0.08878, allocations: 455.2 kB / 485.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.0891, allocations: 279.4 kB / 485.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.08939, allocations: 111.5 kB / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.08957, allocations: 175.6 kB / 486 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.918e-05/0.08966, allocations: 23.97 kB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.435e-05/0.08976, allocations: 95.8 kB / 486.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.08996, allocations: 211.5 kB / 486.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.08999, allocations: 0 / 486.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.119e-05/0.09006, allocations: 39.97 kB / 486.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.89e-05/0.09016, allocations: 83.64 kB / 486.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.719e-05/0.09024, allocations: 128.7 kB / 486.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.09046, allocations: 247 kB / 486.8 MB, free: 444 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.09048, allocations: 4 kB / 486.8 MB, free: 440 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09048, allocations: 0 / 486.8 MB, free: 440 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.09049, allocations: 4 kB / 486.8 MB, free: 436 kB / 350.1 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.0005643/0.09106, allocations: 0.5876 MB / 487.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.0911, allocations: 16.86 kB / 487.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.09115, allocations: 40.38 kB / 487.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.09138, allocations: 300.1 kB / 487.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.0914, allocations: 8.312 kB / 487.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.09143, allocations: 4.375 kB / 487.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.09158, allocations: 65.8 kB / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.0916, allocations: 0 / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.09161, allocations: 0 / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.09162, allocations: 0 / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.09176, allocations: 47.97 kB / 487.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.09215, allocations: 392.6 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.09228, allocations: 46.56 kB / 488.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.308e-05/0.09236, allocations: 32.88 kB / 488.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.09239, allocations: 0 / 488.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.09241, allocations: 34.56 kB / 488.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.09242, allocations: 0 / 488.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008046/0.09323, allocations: 335.9 kB / 488.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.09327, allocations: 51.41 kB / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007478/0.09402, allocations: 0.8575 MB / 489.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.09404, allocations: 29.7 kB / 489.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.09419, allocations: 220 kB / 489.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.09422, allocations: 23.66 kB / 489.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.09425, allocations: 13.66 kB / 489.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.09438, allocations: 370.7 kB / 490.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.0945, allocations: 35.97 kB / 490.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.09462, allocations: 47.91 kB / 490.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.09486, allocations: 93.03 kB / 490.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.09487, allocations: 0 / 490.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003069/0.09519, allocations: 161.2 kB / 490.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.09521, allocations: 4 kB / 490.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.09522, allocations: 4 kB / 490.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-06/0.09523, allocations: 0 / 490.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.09535, allocations: 27.97 kB / 490.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.09536, allocations: 4 kB / 490.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.022e-05/0.09545, allocations: 15.94 kB / 490.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.09547, allocations: 7.922 kB / 490.6 MB, free: 12.37 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.09563, allocations: 209.8 kB / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.09569, allocations: 43.44 kB / 490.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003723/0.09607, allocations: 185.4 kB / 491.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.09608, allocations: 0 / 491.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.09609, allocations: 0 / 491.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.0961, allocations: 3.938 kB / 491.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00061/0.09671, allocations: 0.5139 MB / 491.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.09673, allocations: 0 / 491.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.128e-05/0.09682, allocations: 27.98 kB / 491.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.09683, allocations: 0 / 491.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.09685, allocations: 4.219 kB / 491.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.09685, allocations: 3.938 kB / 491.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.09686, allocations: 4 kB / 491.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.0972, allocations: 259 kB / 491.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/0.09728, allocations: 112.5 kB / 492 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.09731, allocations: 7.938 kB / 492 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.09743, allocations: 19.98 kB / 492 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.09747, allocations: 3.984 kB / 492 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.09748, allocations: 4 kB / 492 MB, free: 10.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005553/0.09804, allocations: 0.6511 MB / 492.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09804, allocations: 0 / 492.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.0983, allocations: 24 kB / 492.7 MB, free: 10.2 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008356/0.09914, allocations: 406.1 kB / 493.1 MB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002862/0.09944, allocations: 95.86 kB / 493.2 MB, free: 9.844 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.09946, allocations: 8 kB / 493.2 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.09959, allocations: 43.97 kB / 493.2 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.09993, allocations: 25.95 kB / 493.3 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.101, allocations: 0.9117 MB / 494.2 MB, free: 8.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.1013, allocations: 0.8223 MB / 495 MB, free: 7.977 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.88e-05/0.1014, allocations: 12 kB / 495 MB, free: 7.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.1014, allocations: 19.42 kB / 495 MB, free: 7.945 MB / 366.1 MB Notification: Performance of SimCode: time 1.503e-06/0.1014, allocations: 0 / 495 MB, free: 7.945 MB / 366.1 MB Notification: Performance of Templates: time 0.003961/0.1054, allocations: 1.447 MB / 496.5 MB, free: 6.504 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches