Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 183.6 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.373/1.373, 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.0007487/0.0007488, allocations: 92.95 kB / 267 MB, free: 9.281 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.3971/0.3971, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.188e-05/3.19e-05, allocations: 3.984 kB / 425.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 58.84 MB / 484.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.405/0.5267, allocations: 88.71 MB / 0.5594 GB, free: 15.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.527, allocations: 71.67 kB / 0.5595 GB, free: 15.63 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01866/0.5457, allocations: 8.458 MB / 0.5678 GB, free: 9.715 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.5457, allocations: 0 / 0.5678 GB, free: 9.715 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.366e-05/0.5458, allocations: 11.94 kB / 0.5678 GB, free: 9.703 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004355/0.5462, allocations: 0.539 MB / 0.5683 GB, free: 9.141 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.5462, allocations: 8.031 kB / 0.5683 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.613e-05/0.5463, allocations: 35.53 kB / 0.5683 GB, free: 9.098 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.5468, allocations: 338.1 kB / 0.5687 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.5468, allocations: 7.375 kB / 0.5687 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.5468, allocations: 11.56 kB / 0.5687 GB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.547, allocations: 83.3 kB / 0.5688 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.547, allocations: 0 / 0.5688 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.547, allocations: 4 kB / 0.5688 GB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.547, allocations: 0 / 0.5688 GB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.208e-05/0.5471, allocations: 57.88 kB / 0.5688 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005226/0.5476, allocations: 487.8 kB / 0.5693 GB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.694e-05/0.5477, allocations: 68.33 kB / 0.5693 GB, free: 8.109 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.5478, allocations: 31.66 kB / 0.5694 GB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.5478, allocations: 7.984 kB / 0.5694 GB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.5478, allocations: 31.5 kB / 0.5694 GB, free: 8.039 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.5478, allocations: 0 / 0.5694 GB, free: 8.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002017/0.548, allocations: 117.3 kB / 0.5695 GB, free: 7.934 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.5481, allocations: 63.34 kB / 0.5696 GB, free: 7.859 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.5486, allocations: 491.9 kB / 0.5701 GB, free: 7.477 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.5486, allocations: 25.7 kB / 0.5701 GB, free: 7.445 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.5487, allocations: 203.5 kB / 0.5703 GB, free: 7.316 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.5487, allocations: 19.66 kB / 0.5703 GB, free: 7.297 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.5487, allocations: 3.188 kB / 0.5703 GB, free: 7.297 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.5488, allocations: 348.9 kB / 0.5706 GB, free: 6.961 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.319e-05/0.5489, allocations: 23.7 kB / 0.5707 GB, free: 6.945 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.733e-05/0.5489, allocations: 22.75 kB / 0.5707 GB, free: 6.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.76e-05/0.5489, allocations: 22.92 kB / 0.5707 GB, free: 6.914 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5489, allocations: 0 / 0.5707 GB, free: 6.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001305/0.5491, allocations: 126.5 kB / 0.5708 GB, free: 6.801 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.5491, allocations: 8 kB / 0.5708 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.5491, allocations: 64 / 0.5708 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.5491, allocations: 4 kB / 0.5708 GB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.194e-05/0.5492, allocations: 11.98 kB / 0.5708 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.5492, allocations: 4 kB / 0.5708 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.501e-05/0.5493, allocations: 8 kB / 0.5709 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.5493, allocations: 0 / 0.5709 GB, free: 6.766 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 (6): * Single equations (assignments): 6 * 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 4.364e-05/0.5494, allocations: 113.6 kB / 0.571 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.312e-05/0.5494, allocations: 43.47 kB / 0.571 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.5496, allocations: 146 kB / 0.5711 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5496, allocations: 0 / 0.5711 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5496, allocations: 0 / 0.5711 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5497, allocations: 3.938 kB / 0.5711 GB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.5499, allocations: 306.7 kB / 0.5714 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5499, allocations: 0 / 0.5714 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.238e-05/0.5499, allocations: 15.98 kB / 0.5715 GB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.55, allocations: 0 / 0.5715 GB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.55, allocations: 6.766 kB / 0.5715 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.55, allocations: 0 / 0.5715 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.55, allocations: 0 / 0.5715 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.5501, allocations: 217.8 kB / 0.5717 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.5503, allocations: 148.1 kB / 0.5718 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.5503, allocations: 3.625 kB / 0.5718 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-05/0.5504, allocations: 11.95 kB / 0.5718 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.5504, allocations: 3.984 kB / 0.5718 GB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.5504, allocations: 4 kB / 0.5718 GB, free: 5.773 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003046/0.5507, allocations: 392.7 kB / 0.5722 GB, free: 5.477 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5508, allocations: 0 / 0.5722 GB, free: 5.477 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002682/0.551, allocations: 59.64 kB / 0.5723 GB, free: 5.422 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 (6): * Single equations (assignments): 6 * 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.001029/0.5521, allocations: 0.5272 MB / 0.5728 GB, free: 4.973 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.5522, allocations: 55.05 kB / 0.5728 GB, free: 4.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5522, allocations: 0 / 0.5728 GB, free: 4.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.749e-05/0.5522, allocations: 31.8 kB / 0.5729 GB, free: 4.906 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.5526, allocations: 63.83 kB / 0.5729 GB, free: 4.863 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005799/0.5532, allocations: 482.8 kB / 0.5734 GB, free: 4.422 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.5534, allocations: 0.8097 MB / 0.5742 GB, free: 3.598 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.5535, allocations: 57.48 kB / 0.5742 GB, free: 3.543 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/0.5536, allocations: 31.36 kB / 0.5743 GB, free: 3.512 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5536, allocations: 0 / 0.5743 GB, free: 3.512 MB / 394.7 MB Notification: Performance of Templates: time 0.005502/0.5591, allocations: 3.091 MB / 0.5773 GB, free: 444 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches