Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.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.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1") translateModel(ModelicaTest.Tables.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001413/0.001413, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.655/1.655, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008821/0.0008822, allocations: 94.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2149/0.2149, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003459, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1236, allocations: 58.86 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4076/0.5312, allocations: 86.46 MB / 0.5632 GB, free: 13.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.5316, allocations: 75.92 kB / 0.5633 GB, free: 13.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009434/0.541, allocations: 3.55 MB / 0.5667 GB, free: 10.33 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.5411, allocations: 0 / 0.5667 GB, free: 10.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.5411, allocations: 0 / 0.5667 GB, free: 10.33 MB / 378.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.0004345/0.5415, allocations: 383.8 kB / 0.5671 GB, free: 9.914 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.5416, allocations: 12.03 kB / 0.5671 GB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.5416, allocations: 7.906 kB / 0.5671 GB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.5418, allocations: 184.4 kB / 0.5673 GB, free: 9.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.5419, allocations: 3.984 kB / 0.5673 GB, free: 9.676 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.5419, allocations: 4 kB / 0.5673 GB, free: 9.672 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.542, allocations: 48.88 kB / 0.5673 GB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.5421, allocations: 0 / 0.5673 GB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.5421, allocations: 4 kB / 0.5673 GB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.5421, allocations: 0 / 0.5673 GB, free: 9.621 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.777e-05/0.5422, allocations: 31.3 kB / 0.5674 GB, free: 9.594 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.5426, allocations: 289.7 kB / 0.5677 GB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.5429, allocations: 46.12 kB / 0.5677 GB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.5429, allocations: 2.875 kB / 0.5677 GB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.5429, allocations: 34.5 kB / 0.5677 GB, free: 9.184 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5429, allocations: 0 / 0.5677 GB, free: 9.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005847/0.5435, allocations: 163 kB / 0.5679 GB, free: 9.035 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.5436, allocations: 55.34 kB / 0.5679 GB, free: 8.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.5437, allocations: 133.7 kB / 0.5681 GB, free: 8.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.5437, allocations: 25.7 kB / 0.5681 GB, free: 8.809 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.5438, allocations: 98.42 kB / 0.5682 GB, free: 8.715 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.5438, allocations: 19.11 kB / 0.5682 GB, free: 8.699 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.5438, allocations: 0 / 0.5682 GB, free: 8.699 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.544, allocations: 313.8 kB / 0.5685 GB, free: 8.387 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.591e-05/0.544, allocations: 26.3 kB / 0.5685 GB, free: 8.367 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.032e-05/0.5441, allocations: 34.72 kB / 0.5686 GB, free: 8.336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.285e-05/0.5442, allocations: 27.48 kB / 0.5686 GB, free: 8.316 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5442, allocations: 0 / 0.5686 GB, free: 8.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001806/0.5444, allocations: 95.2 kB / 0.5687 GB, free: 8.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.5444, allocations: 10.66 kB / 0.5687 GB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5444, allocations: 4 kB / 0.5687 GB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.5445, allocations: 0 / 0.5687 GB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.684e-05/0.5445, allocations: 19.92 kB / 0.5687 GB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.5445, allocations: 0 / 0.5687 GB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.192e-05/0.5446, allocations: 11.94 kB / 0.5687 GB, free: 8.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.5446, allocations: 0 / 0.5687 GB, free: 8.184 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 () * Number of clocked 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 0.0001017/0.5447, allocations: 125.7 kB / 0.5688 GB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.5448, allocations: 11.22 kB / 0.5689 GB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.545, allocations: 104.3 kB / 0.569 GB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.545, allocations: 0 / 0.569 GB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.545, allocations: 0 / 0.569 GB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.545, allocations: 288 / 0.569 GB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004072/0.5454, allocations: 366.8 kB / 0.5693 GB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5455, allocations: 0 / 0.5693 GB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.151e-05/0.5455, allocations: 12 kB / 0.5693 GB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.5455, allocations: 3.984 kB / 0.5693 GB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.5455, allocations: 4 kB / 0.5693 GB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5456, allocations: 4 kB / 0.5693 GB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5456, allocations: 3.953 kB / 0.5693 GB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.5458, allocations: 192.9 kB / 0.5695 GB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.5459, allocations: 92.31 kB / 0.5696 GB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.5459, allocations: 8 kB / 0.5696 GB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/0.546, allocations: 8 kB / 0.5696 GB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.546, allocations: 3.984 kB / 0.5696 GB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.546, allocations: 3.953 kB / 0.5696 GB, free: 7.215 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.124e-05/0.5461, allocations: 111.1 kB / 0.5697 GB, free: 7.117 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5461, allocations: 0 / 0.5697 GB, free: 7.117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002284/0.5463, allocations: 23.3 kB / 0.5698 GB, free: 7.098 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 () * Number of clocked 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.0009122/0.5472, allocations: 407.1 kB / 0.5701 GB, free: 6.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.5475, allocations: 62.14 kB / 0.5702 GB, free: 6.699 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.5475, allocations: 0 / 0.5702 GB, free: 6.699 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.796e-05/0.5476, allocations: 27.11 kB / 0.5702 GB, free: 6.676 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.5478, allocations: 18.98 kB / 0.5702 GB, free: 6.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003977/0.5482, allocations: 174.2 kB / 0.5704 GB, free: 6.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.5485, allocations: 0.6998 MB / 0.5711 GB, free: 5.758 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.73e-05/0.5486, allocations: 20.17 kB / 0.5711 GB, free: 5.734 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.5486, allocations: 11.44 kB / 0.5711 GB, free: 5.723 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.5487, allocations: 3.938 kB / 0.5711 GB, free: 5.719 MB / 378.7 MB Notification: Performance of Templates: time 0.003495/0.5522, allocations: 1.031 MB / 0.5721 GB, free: 4.699 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches