Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 183.7 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.498/1.498, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009564/0.0009564, allocations: 91.72 kB / 267.1 MB, free: 9.277 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.3788/0.3788, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.026e-05/3.03e-05, allocations: 7.938 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1275, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.39/0.5176, allocations: 86.96 MB / 0.5577 GB, free: 16.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.5178, allocations: 67.16 kB / 0.5578 GB, free: 16.97 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01471/0.5326, allocations: 7.93 MB / 0.5655 GB, free: 11.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.5326, allocations: 4 kB / 0.5656 GB, free: 11.56 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.5326, allocations: 8 kB / 0.5656 GB, free: 11.55 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000496/0.5331, allocations: 0.5521 MB / 0.5661 GB, free: 10.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.5332, allocations: 8.031 kB / 0.5661 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.5332, allocations: 43.44 kB / 0.5661 GB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.5337, allocations: 332.5 kB / 0.5665 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.5337, allocations: 0.5625 kB / 0.5665 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.5337, allocations: 4 kB / 0.5665 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.5338, allocations: 49.98 kB / 0.5665 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.5338, allocations: 3.938 kB / 0.5665 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.5339, allocations: 3.938 kB / 0.5665 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.5339, allocations: 0 / 0.5665 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.926e-05/0.5339, allocations: 22.64 kB / 0.5665 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005561/0.5345, allocations: 438.6 kB / 0.567 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.782e-05/0.5346, allocations: 37.38 kB / 0.567 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.718e-05/0.5346, allocations: 19.98 kB / 0.567 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.5346, allocations: 3.5 kB / 0.567 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.5346, allocations: 30.56 kB / 0.5671 GB, free: 9.984 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.5347, allocations: 1.688 kB / 0.5671 GB, free: 9.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.000178/0.5348, allocations: 91.33 kB / 0.5671 GB, free: 9.895 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.5349, allocations: 59.39 kB / 0.5672 GB, free: 9.824 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009224/0.5358, allocations: 0.7798 MB / 0.568 GB, free: 9.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.5358, allocations: 29.7 kB / 0.568 GB, free: 9.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.5359, allocations: 204.4 kB / 0.5682 GB, free: 9.066 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.536, allocations: 19.52 kB / 0.5682 GB, free: 9.051 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.536, allocations: 0 / 0.5682 GB, free: 9.051 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.087e-05/0.5361, allocations: 356.9 kB / 0.5685 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.5361, allocations: 7.75 kB / 0.5685 GB, free: 8.707 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.693e-05/0.5361, allocations: 19.97 kB / 0.5686 GB, free: 8.688 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.575e-05/0.5361, allocations: 11.61 kB / 0.5686 GB, free: 8.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5362, allocations: 0 / 0.5686 GB, free: 8.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001044/0.5363, allocations: 96.19 kB / 0.5687 GB, free: 8.586 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.5363, allocations: 4 kB / 0.5687 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.5363, allocations: 0 / 0.5687 GB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.5363, allocations: 3.953 kB / 0.5687 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.547e-05/0.5364, allocations: 11.98 kB / 0.5687 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.5364, allocations: 1.969 kB / 0.5687 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.624e-05/0.5365, allocations: 12 kB / 0.5687 GB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.5365, allocations: 0 / 0.5687 GB, free: 8.555 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 (3): * Single equations (assignments): 3 * 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 3.717e-05/0.5365, allocations: 105.4 kB / 0.5688 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.5366, allocations: 47.42 kB / 0.5688 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.5368, allocations: 110.5 kB / 0.569 GB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5368, allocations: 0 / 0.569 GB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5368, allocations: 7.891 kB / 0.569 GB, free: 8.293 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.5368, allocations: 0 / 0.569 GB, free: 8.293 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.537, allocations: 331.1 kB / 0.5693 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.537, allocations: 0 / 0.5693 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-05/0.5371, allocations: 11.98 kB / 0.5693 GB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5371, allocations: 0 / 0.5693 GB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.5371, allocations: 0 / 0.5693 GB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.5371, allocations: 0 / 0.5693 GB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.5371, allocations: 0 / 0.5693 GB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.5372, allocations: 193.2 kB / 0.5695 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.5374, allocations: 166.8 kB / 0.5696 GB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.5374, allocations: 3.984 kB / 0.5696 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.048e-05/0.5375, allocations: 8 kB / 0.5696 GB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.5376, allocations: 0 / 0.5696 GB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.5376, allocations: 1.219 kB / 0.5696 GB, free: 7.574 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000497/0.5381, allocations: 0.639 MB / 0.5703 GB, free: 7.113 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5381, allocations: 0 / 0.5703 GB, free: 7.113 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002428/0.5383, allocations: 51.98 kB / 0.5703 GB, free: 7.062 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 (3): * Single equations (assignments): 3 * 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.0006053/0.539, allocations: 328.6 kB / 0.5706 GB, free: 6.812 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.425e-05/0.539, allocations: 27.17 kB / 0.5707 GB, free: 6.789 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5391, allocations: 0 / 0.5707 GB, free: 6.789 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.578e-05/0.5391, allocations: 15.44 kB / 0.5707 GB, free: 6.777 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.5393, allocations: 27.2 kB / 0.5707 GB, free: 6.766 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000799/0.5401, allocations: 0.7026 MB / 0.5714 GB, free: 6.113 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.5404, allocations: 0.8338 MB / 0.5722 GB, free: 5.27 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.459e-05/0.5405, allocations: 40.42 kB / 0.5722 GB, free: 5.227 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.804e-05/0.5405, allocations: 22.69 kB / 0.5723 GB, free: 5.207 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5405, allocations: 0 / 0.5723 GB, free: 5.207 MB / 394.7 MB Notification: Performance of Templates: time 0.00483/0.5454, allocations: 2.31 MB / 0.5745 GB, free: 2.898 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches