Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.001134/0.001134, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.002198/0.002198, allocations: 173 kB / 24.06 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.946/0.946, allocations: 158.6 MB / 185.9 MB, free: 2.789 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.1405/0.1405, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.379e-05, allocations: 4.281 kB / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.002595/0.002628, allocations: 1.645 MB / 349.8 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005445/0.003173, allocations: 315.4 kB / 350.1 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.00323, allocations: 0 / 350.1 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004675/0.003698, allocations: 463 kB / 350.5 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.003999, allocations: 247.4 kB / 350.8 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.004265, allocations: 103.7 kB / 350.9 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.004453, allocations: 171.6 kB / 351 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.719e-05/0.00454, allocations: 4.188 kB / 351.1 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.004666, allocations: 115.8 kB / 351.2 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.00485, allocations: 239.7 kB / 351.4 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.004869, allocations: 4 kB / 351.4 MB, free: 5.879 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.31e-05/0.004952, allocations: 35.91 kB / 351.4 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.561e-05/0.005038, allocations: 79.72 kB / 351.5 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.005072, allocations: 39.73 kB / 351.6 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.005275, allocations: 195.1 kB / 351.7 MB, free: 5.535 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.005278, allocations: 0 / 351.7 MB, free: 5.535 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.005279, allocations: 0 / 351.7 MB, free: 5.535 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.005284, allocations: 0 / 351.7 MB, free: 5.535 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.000516/0.0058, allocations: 0.6815 MB / 352.4 MB, free: 4.816 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.00584, allocations: 12.03 kB / 352.4 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.005891, allocations: 56.59 kB / 352.5 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.006065, allocations: 240.8 kB / 352.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.006076, allocations: 8.375 kB / 352.7 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.006094, allocations: 384 / 352.7 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.006204, allocations: 54.95 kB / 352.8 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.006217, allocations: 4.188 kB / 352.8 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.006226, allocations: 3.938 kB / 352.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.006233, allocations: 0 / 352.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.812e-05/0.006261, allocations: 4 kB / 352.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.006593, allocations: 344.2 kB / 353.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.006751, allocations: 43.05 kB / 353.2 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.006769, allocations: 15.7 kB / 353.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.006795, allocations: 4 kB / 353.2 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.006815, allocations: 41.33 kB / 353.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.006816, allocations: 0 / 353.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003401/0.007157, allocations: 125.2 kB / 353.4 MB, free: 3.785 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.657e-05/0.007173, allocations: 51.41 kB / 353.4 MB, free: 3.723 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/0.00753, allocations: 0.5962 MB / 354 MB, free: 3.109 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.094e-06/0.007537, allocations: 29.7 kB / 354 MB, free: 3.074 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.007666, allocations: 290.7 kB / 354.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.007686, allocations: 27.81 kB / 354.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.007724, allocations: 19.38 kB / 354.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.007833, allocations: 0.5547 MB / 354.9 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.007847, allocations: 0 / 354.9 MB, free: 2.164 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.294e-05/0.00786, allocations: 7.984 kB / 354.9 MB, free: 2.156 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.419e-05/0.007894, allocations: 23.67 kB / 355 MB, free: 2.129 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.007896, allocations: 7.938 kB / 355 MB, free: 2.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.255e-05/0.007989, allocations: 89.34 kB / 355 MB, free: 2.027 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.008002, allocations: 8 kB / 355.1 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.008007, allocations: 0 / 355.1 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.00802, allocations: 0 / 355.1 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.479e-05/0.008075, allocations: 12 kB / 355.1 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.008077, allocations: 0 / 355.1 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.343e-05/0.00811, allocations: 7.984 kB / 355.1 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.008115, allocations: 0 / 355.1 MB, free: 2 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 (5): * Single equations (assignments): 5 * 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 7.152e-05/0.008187, allocations: 164.5 kB / 355.2 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.008226, allocations: 39.72 kB / 355.3 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.008358, allocations: 97.05 kB / 355.4 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.008361, allocations: 4 kB / 355.4 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.008364, allocations: 320 / 355.4 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.008367, allocations: 4 kB / 355.4 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002991/0.008666, allocations: 385.9 kB / 355.8 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.008669, allocations: 0 / 355.8 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.008711, allocations: 12 kB / 355.8 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.008714, allocations: 0 / 355.8 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.008721, allocations: 0 / 355.8 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.008724, allocations: 0 / 355.8 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.008725, allocations: 3.938 kB / 355.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.564e-05/0.008821, allocations: 243.6 kB / 356 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.419e-05/0.008845, allocations: 27.77 kB / 356 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.008861, allocations: 0 / 356 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.754e-05/0.008919, allocations: 15.92 kB / 356 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.008944, allocations: 0 / 356 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.008948, allocations: 4 kB / 356.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001899/0.009138, allocations: 386.7 kB / 356.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009138, allocations: 0 / 356.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002289/0.009367, allocations: 27.94 kB / 356.5 MB, free: 0.5469 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 (5): * Single equations (assignments): 5 * 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.0008661/0.01023, allocations: 378.2 kB / 356.8 MB, free: 272 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.832e-05/0.01032, allocations: 35.61 kB / 356.9 MB, free: 232 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01032, allocations: 4 kB / 356.9 MB, free: 228 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.854e-05/0.01034, allocations: 15.69 kB / 356.9 MB, free: 208 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.01064, allocations: 35.09 kB / 356.9 MB, free: 176 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007038/0.01134, allocations: 0.559 MB / 357.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.953e-05/0.01144, allocations: 127.2 kB / 357.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.685e-05/0.01148, allocations: 8 kB / 357.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.01154, allocations: 82.19 kB / 357.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01154, allocations: 0 / 357.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of Templates: time 0.004547/0.01609, allocations: 1.463 MB / 359.2 MB, free: 13.89 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.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.264629542827606]