Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001391/0.001391, allocations: 179.3 kB / 16.77 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.674/1.674, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0008343/0.0008343, allocations: 89.05 kB / 271.3 MB, free: 8.25 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.3817/0.3817, allocations: 43.57 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003833, allocations: 12 kB / 432.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1306, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.361/0.4917, allocations: 87.53 MB / 0.5654 GB, free: 14.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.4919, allocations: 73.62 kB / 0.5655 GB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01128/0.5032, allocations: 4.601 MB / 0.57 GB, free: 9.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.827e-06/0.5032, allocations: 7.828 kB / 0.57 GB, free: 9.836 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.5032, allocations: 0 / 0.57 GB, free: 9.836 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.0004188/0.5036, allocations: 398.8 kB / 0.5704 GB, free: 9.398 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.5037, allocations: 12.03 kB / 0.5704 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.449e-05/0.5037, allocations: 8.781 kB / 0.5704 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.5039, allocations: 204.1 kB / 0.5706 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.504, allocations: 8.375 kB / 0.5706 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.504, allocations: 4.359 kB / 0.5706 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.5042, allocations: 75.95 kB / 0.5707 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.5042, allocations: 192 / 0.5707 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.5042, allocations: 3.938 kB / 0.5707 GB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.5042, allocations: 0 / 0.5707 GB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.5044, allocations: 59.89 kB / 0.5707 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.5048, allocations: 320.6 kB / 0.571 GB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.5049, allocations: 42.56 kB / 0.5711 GB, free: 8.566 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.071e-05/0.505, allocations: 32.92 kB / 0.5711 GB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.505, allocations: 4 kB / 0.5711 GB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.5051, allocations: 38.88 kB / 0.5711 GB, free: 8.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.5051, allocations: 0 / 0.5711 GB, free: 8.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007351/0.5058, allocations: 253.1 kB / 0.5714 GB, free: 8.227 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.5059, allocations: 89.05 kB / 0.5715 GB, free: 8.121 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.506, allocations: 137.8 kB / 0.5716 GB, free: 7.977 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.506, allocations: 25.7 kB / 0.5716 GB, free: 7.945 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.5061, allocations: 96.12 kB / 0.5717 GB, free: 7.848 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.5061, allocations: 23.66 kB / 0.5717 GB, free: 7.824 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.5061, allocations: 0 / 0.5717 GB, free: 7.824 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.5062, allocations: 322.8 kB / 0.5721 GB, free: 7.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.5064, allocations: 56.03 kB / 0.5721 GB, free: 7.445 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.5065, allocations: 57.67 kB / 0.5722 GB, free: 7.383 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.5067, allocations: 104.8 kB / 0.5723 GB, free: 7.277 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.5067, allocations: 4 kB / 0.5723 GB, free: 7.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002781/0.507, allocations: 137.7 kB / 0.5724 GB, free: 7.133 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.507, allocations: 4 kB / 0.5724 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.5071, allocations: 80 / 0.5724 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.5071, allocations: 0 / 0.5724 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.5072, allocations: 33.59 kB / 0.5724 GB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.5072, allocations: 3.984 kB / 0.5724 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.199e-05/0.5073, allocations: 12 kB / 0.5724 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.5073, allocations: 0 / 0.5724 GB, free: 7.082 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 9.24e-05/0.5074, allocations: 129.8 kB / 0.5726 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.5074, allocations: 11.91 kB / 0.5726 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.5078, allocations: 158.2 kB / 0.5727 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.5078, allocations: 4 kB / 0.5727 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.5078, allocations: 0 / 0.5727 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.5078, allocations: 0 / 0.5727 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005177/0.5083, allocations: 430.4 kB / 0.5731 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5083, allocations: 3.938 kB / 0.5731 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.159e-05/0.5084, allocations: 31.86 kB / 0.5732 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5084, allocations: 0 / 0.5732 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.5084, allocations: 0.875 kB / 0.5732 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5084, allocations: 3.938 kB / 0.5732 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5085, allocations: 0 / 0.5732 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.5088, allocations: 243.4 kB / 0.5734 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.5088, allocations: 93 kB / 0.5735 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.5089, allocations: 0 / 0.5735 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.953e-05/0.509, allocations: 19.92 kB / 0.5735 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.509, allocations: 8 kB / 0.5735 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.509, allocations: 4.281 kB / 0.5735 GB, free: 5.859 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.622e-05/0.5091, allocations: 114.8 kB / 0.5736 GB, free: 5.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5091, allocations: 0 / 0.5736 GB, free: 5.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002515/0.5094, allocations: 35.94 kB / 0.5737 GB, free: 5.715 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.0008781/0.5103, allocations: 446.2 kB / 0.5741 GB, free: 5.375 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002853/0.5106, allocations: 111.9 kB / 0.5742 GB, free: 5.266 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5106, allocations: 0 / 0.5742 GB, free: 5.266 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.5107, allocations: 59.91 kB / 0.5743 GB, free: 5.207 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.511, allocations: 23.92 kB / 0.5743 GB, free: 5.184 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003863/0.5114, allocations: 207.3 kB / 0.5745 GB, free: 4.961 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.5117, allocations: 0.7083 MB / 0.5752 GB, free: 4.227 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.933e-05/0.5118, allocations: 20.64 kB / 0.5752 GB, free: 4.203 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.5118, allocations: 11.44 kB / 0.5752 GB, free: 4.191 MB / 394.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5118, allocations: 0 / 0.5752 GB, free: 4.191 MB / 394.7 MB Notification: Performance of Templates: time 0.003746/0.5156, allocations: 1.482 MB / 0.5767 GB, free: 2.715 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches