Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001532/0.001532, allocations: 181.1 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001124/0.001124, allocations: 90.64 kB / 267.5 MB, free: 14.04 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.281/0.281, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.556e-05/3.574e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1232, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4964/0.6197, allocations: 86.59 MB / 0.5574 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.6199, allocations: 68.16 kB / 0.5574 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02809/0.648, allocations: 7.809 MB / 0.565 GB, free: 9.969 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.6481, allocations: 0 / 0.565 GB, free: 9.969 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.476e-05/0.6482, allocations: 4 kB / 0.565 GB, free: 9.965 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.000782/0.649, allocations: 0.5523 MB / 0.5656 GB, free: 9.387 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.6491, allocations: 12.03 kB / 0.5656 GB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.6492, allocations: 47.38 kB / 0.5656 GB, free: 9.328 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006955/0.6499, allocations: 329.1 kB / 0.566 GB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.6499, allocations: 0 / 0.566 GB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.6499, allocations: 0 / 0.566 GB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.6501, allocations: 40.95 kB / 0.566 GB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.6501, allocations: 0 / 0.566 GB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.6501, allocations: 7.984 kB / 0.566 GB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.6501, allocations: 0 / 0.566 GB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.186e-05/0.6502, allocations: 26.14 kB / 0.566 GB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008284/0.6511, allocations: 415.8 kB / 0.5664 GB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.509e-05/0.6512, allocations: 26.02 kB / 0.5664 GB, free: 8.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.401e-05/0.6512, allocations: 15.98 kB / 0.5665 GB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.6513, allocations: 0 / 0.5665 GB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.6513, allocations: 38 kB / 0.5665 GB, free: 8.422 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.883e-06/0.6513, allocations: 0 / 0.5665 GB, free: 8.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002643/0.6516, allocations: 88.58 kB / 0.5666 GB, free: 8.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.6517, allocations: 51.41 kB / 0.5666 GB, free: 8.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/0.6536, allocations: 0.783 MB / 0.5674 GB, free: 7.656 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.6536, allocations: 25.7 kB / 0.5674 GB, free: 7.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.6538, allocations: 231.1 kB / 0.5676 GB, free: 7.469 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.6539, allocations: 7.844 kB / 0.5677 GB, free: 7.461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.6539, allocations: 7.562 kB / 0.5677 GB, free: 7.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.654, allocations: 314.8 kB / 0.568 GB, free: 7.141 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.471e-05/0.6541, allocations: 4 kB / 0.568 GB, free: 7.137 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.221e-05/0.6541, allocations: 7.625 kB / 0.568 GB, free: 7.133 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.276e-05/0.6542, allocations: 11.55 kB / 0.568 GB, free: 7.129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6542, allocations: 0 / 0.568 GB, free: 7.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001481/0.6544, allocations: 57.17 kB / 0.568 GB, free: 7.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.6544, allocations: 4 kB / 0.568 GB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.6544, allocations: 0 / 0.568 GB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.6544, allocations: 3.953 kB / 0.568 GB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.6546, allocations: 15.98 kB / 0.5681 GB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.6546, allocations: 4 kB / 0.5681 GB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.6548, allocations: 4 kB / 0.5681 GB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.6548, allocations: 0 / 0.5681 GB, free: 7.039 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 () * 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 8.633e-05/0.6549, allocations: 109 kB / 0.5682 GB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.655, allocations: 43.12 kB / 0.5682 GB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/0.6553, allocations: 103.5 kB / 0.5683 GB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.6553, allocations: 7.984 kB / 0.5683 GB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.6553, allocations: 7.953 kB / 0.5683 GB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.6554, allocations: 0 / 0.5683 GB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.6558, allocations: 321.1 kB / 0.5686 GB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6558, allocations: 0 / 0.5686 GB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.82e-05/0.6559, allocations: 12 kB / 0.5686 GB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.656, allocations: 0 / 0.5686 GB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.656, allocations: 3.984 kB / 0.5686 GB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.656, allocations: 0 / 0.5686 GB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.656, allocations: 4 kB / 0.5686 GB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.6563, allocations: 186.2 kB / 0.5688 GB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/0.6566, allocations: 156 kB / 0.569 GB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.6567, allocations: 0 / 0.569 GB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.6568, allocations: 8 kB / 0.569 GB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.6569, allocations: 11.55 kB / 0.569 GB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.6569, allocations: 0 / 0.569 GB, free: 6.059 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00113/0.6581, allocations: 0.6369 MB / 0.5696 GB, free: 5.598 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6581, allocations: 0 / 0.5696 GB, free: 5.598 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000425/0.6585, allocations: 47.98 kB / 0.5697 GB, free: 5.551 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 () * 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.001/0.6595, allocations: 331.1 kB / 0.57 GB, free: 5.273 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.6597, allocations: 22.86 kB / 0.57 GB, free: 5.258 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6597, allocations: 0 / 0.57 GB, free: 5.258 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.311e-05/0.6598, allocations: 11.31 kB / 0.57 GB, free: 5.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.6602, allocations: 25.12 kB / 0.57 GB, free: 5.242 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.6619, allocations: 0.7463 MB / 0.5708 GB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/0.6625, allocations: 0.8257 MB / 0.5716 GB, free: 3.703 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.6627, allocations: 22.88 kB / 0.5716 GB, free: 3.684 MB / 378.7 MB Notification: Performance of SimCode: time 1.353e-06/0.6627, allocations: 4 kB / 0.5716 GB, free: 3.68 MB / 378.7 MB Notification: Performance of Templates: time 0.01206/0.6747, allocations: 4.034 MB / 0.5755 GB, free: 15.66 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches