Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 81.08 kB / 20.65 MB, free: 3.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 173 kB / 24.05 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9802/0.9802, allocations: 158.6 MB / 185.9 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1602/0.1602, allocations: 32.37 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27") translateModel(ModelicaTest.Tables.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.081e-05, allocations: 2.312 kB / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test27): time 0.002717/0.002748, allocations: 1.645 MB / 349.8 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005201/0.003268, allocations: 315.3 kB / 350.1 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.444e-05/0.003322, allocations: 0 / 350.1 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002709/0.003593, allocations: 55.75 kB / 350.1 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.003803, allocations: 59.73 kB / 350.2 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.004062, allocations: 123.6 kB / 350.3 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.004199, allocations: 63.84 kB / 350.4 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.004297, allocations: 8.172 kB / 350.4 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.073e-05/0.004378, allocations: 43.89 kB / 350.4 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.667e-05/0.004474, allocations: 43.88 kB / 350.5 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.004491, allocations: 0 / 350.5 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.563e-05/0.004566, allocations: 47.86 kB / 350.5 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.26e-05/0.004639, allocations: 11.94 kB / 350.5 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.004666, allocations: 19.92 kB / 350.6 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.004853, allocations: 71.73 kB / 350.6 MB, free: 6.664 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.004859, allocations: 0 / 350.6 MB, free: 6.664 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.004862, allocations: 0 / 350.6 MB, free: 6.664 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.004869, allocations: 0 / 350.6 MB, free: 6.664 MB / 282.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.0003957/0.005264, allocations: 424.1 kB / 351 MB, free: 6.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.005311, allocations: 12.02 kB / 351.1 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.005355, allocations: 12.89 kB / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.005468, allocations: 144.9 kB / 351.2 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.005478, allocations: 384 / 351.2 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.005498, allocations: 4.375 kB / 351.2 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.005621, allocations: 66.5 kB / 351.3 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.005631, allocations: 0 / 351.3 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.005639, allocations: 0 / 351.3 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.005646, allocations: 0 / 351.3 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.009e-05/0.005676, allocations: 11.98 kB / 351.3 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.005904, allocations: 264.3 kB / 351.5 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.264e-05/0.005957, allocations: 35.09 kB / 351.6 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.819e-05/0.005975, allocations: 23.67 kB / 351.6 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.006004, allocations: 4 kB / 351.6 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.006023, allocations: 41.39 kB / 351.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.006024, allocations: 0 / 351.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003169/0.006341, allocations: 117.4 kB / 351.8 MB, free: 5.398 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.763e-05/0.006359, allocations: 59.34 kB / 351.8 MB, free: 5.328 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.959e-05/0.006438, allocations: 209.8 kB / 352 MB, free: 5.105 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.33e-06/0.006444, allocations: 25.7 kB / 352 MB, free: 5.074 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.00648, allocations: 142.9 kB / 352.2 MB, free: 4.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.006506, allocations: 39.72 kB / 352.2 MB, free: 4.891 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/0.006544, allocations: 19.38 kB / 352.2 MB, free: 4.863 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.571e-05/0.0066, allocations: 0.5 MB / 352.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.732e-05/0.006627, allocations: 4 kB / 352.7 MB, free: 4.348 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.787e-05/0.006645, allocations: 16.05 kB / 352.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.307e-05/0.006678, allocations: 27.83 kB / 352.8 MB, free: 4.301 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.006679, allocations: 0 / 352.8 MB, free: 4.301 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.022e-05/0.006749, allocations: 65.58 kB / 352.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.006759, allocations: 4 kB / 352.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.006764, allocations: 0 / 352.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.006778, allocations: 0 / 352.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.564e-05/0.006853, allocations: 19.98 kB / 352.9 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.006858, allocations: 4 kB / 352.9 MB, free: 4.203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.00688, allocations: 4 kB / 352.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.006885, allocations: 3.938 kB / 352.9 MB, free: 4.195 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.006935, allocations: 156.6 kB / 353 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.006952, allocations: 11.95 kB / 353.1 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.007054, allocations: 78.38 kB / 353.1 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.007058, allocations: 7.984 kB / 353.1 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.00706, allocations: 0 / 353.1 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.007063, allocations: 0 / 353.1 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.007259, allocations: 310 kB / 353.4 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.007261, allocations: 0 / 353.4 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.007305, allocations: 15.98 kB / 353.5 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.007308, allocations: 3.938 kB / 353.5 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.007313, allocations: 0 / 353.5 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.007315, allocations: 4 kB / 353.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007316, allocations: 0 / 353.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.591e-05/0.007402, allocations: 223.7 kB / 353.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-06/0.00741, allocations: 7.953 kB / 353.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.00742, allocations: 0 / 353.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.358e-05/0.007454, allocations: 11.98 kB / 353.7 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.007484, allocations: 11.98 kB / 353.7 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.007488, allocations: 7.938 kB / 353.7 MB, free: 3.297 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.456e-05/0.007543, allocations: 147.2 kB / 353.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007543, allocations: 0 / 353.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001633/0.007706, allocations: 19.98 kB / 353.9 MB, free: 3.133 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008768/0.008583, allocations: 387.1 kB / 354.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.081e-05/0.008674, allocations: 35.64 kB / 354.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.008676, allocations: 0 / 354.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.192e-05/0.008698, allocations: 23.62 kB / 354.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.008919, allocations: 25.23 kB / 354.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.009228, allocations: 210.5 kB / 354.6 MB, free: 2.516 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.09e-05/0.009259, allocations: 71.33 kB / 354.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.862e-05/0.009288, allocations: 4 kB / 354.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.009336, allocations: 86.19 kB / 354.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.009337, allocations: 0 / 354.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of Templates: time 0.003021/0.01236, allocations: 1.417 MB / 356.1 MB, free: 0.9297 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test27/Test27.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1655536089092493]