Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.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.0009793/0.0009793, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.0009696/0.0009696, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 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.8805/0.8805, allocations: 158.6 MB / 185.7 MB, free: 2.934 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.1348/0.1348, allocations: 32.36 MB / 270.4 MB, free: 14.71 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21") translateModel(ModelicaTest.Tables.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207e-05/1.336e-05, allocations: 10.25 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.001871/0.001884, allocations: 1.956 MB / 349.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007133/0.002598, allocations: 0.6736 MB / 350.3 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.229e-05/0.00267, allocations: 4 kB / 350.3 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.003007, allocations: 251.1 kB / 350.6 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.003242, allocations: 195.2 kB / 350.8 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004877/0.003729, allocations: 423 kB / 351.2 MB, free: 5.934 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.00394, allocations: 287.2 kB / 351.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.004056, allocations: 56.88 kB / 351.5 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.00416, allocations: 163.5 kB / 351.7 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.004294, allocations: 191.6 kB / 351.9 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.004318, allocations: 12 kB / 351.9 MB, free: 5.242 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.818e-05/0.004406, allocations: 71.84 kB / 351.9 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.72e-05/0.004484, allocations: 95.61 kB / 352 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.86e-05/0.004522, allocations: 47.78 kB / 352.1 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.004716, allocations: 234.9 kB / 352.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.004718, allocations: 0 / 352.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004719, allocations: 0 / 352.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.004723, allocations: 0 / 352.3 MB, free: 4.801 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0003973/0.00512, allocations: 0.6622 MB / 353 MB, free: 4.102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.005151, allocations: 8.031 kB / 353 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.005201, allocations: 40.7 kB / 353 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.005366, allocations: 254.8 kB / 353.3 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.005376, allocations: 8.375 kB / 353.3 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.005401, allocations: 12.38 kB / 353.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.005522, allocations: 94.91 kB / 353.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.005531, allocations: 192 / 353.4 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.005542, allocations: 12.12 kB / 353.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.005548, allocations: 0 / 353.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.587e-05/0.005604, allocations: 39.97 kB / 353.4 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.005941, allocations: 459.3 kB / 353.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.077e-05/0.006022, allocations: 78.97 kB / 354 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.00605, allocations: 27.67 kB / 354 MB, free: 3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.006072, allocations: 3.984 kB / 354 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.335e-05/0.006085, allocations: 41.39 kB / 354 MB, free: 2.945 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 7.31e-07/0.006086, allocations: 0 / 354 MB, free: 2.945 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004416/0.006528, allocations: 316.6 kB / 354.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.642e-05/0.006544, allocations: 55.41 kB / 354.4 MB, free: 2.562 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.006767, allocations: 454.6 kB / 354.8 MB, free: 2.102 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.493e-06/0.006773, allocations: 29.7 kB / 354.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/0.006845, allocations: 251.2 kB / 355.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.006873, allocations: 63.42 kB / 355.2 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.006904, allocations: 39.36 kB / 355.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.507e-05/0.006959, allocations: 0.5274 MB / 355.7 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.443e-05/0.006993, allocations: 23.98 kB / 355.8 MB, free: 1.145 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.337e-05/0.007027, allocations: 30.33 kB / 355.8 MB, free: 1.117 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.612e-05/0.007103, allocations: 75.58 kB / 355.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.007104, allocations: 0 / 355.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001271/0.007231, allocations: 163.9 kB / 356 MB, free: 0.875 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.007241, allocations: 11.94 kB / 356 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.007245, allocations: 0 / 356 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.007257, allocations: 0 / 356 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.46e-05/0.007342, allocations: 31.98 kB / 356.1 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.007346, allocations: 0 / 356.1 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.73e-05/0.007374, allocations: 8 kB / 356.1 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.007381, allocations: 4 kB / 356.1 MB, free: 0.8203 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 (17): * Single equations (assignments): 17 * 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 4.765e-05/0.007428, allocations: 168.4 kB / 356.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.00746, allocations: 43.77 kB / 356.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.007634, allocations: 181.2 kB / 356.5 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.007635, allocations: 4 kB / 356.5 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.007638, allocations: 0 / 356.5 MB, free: 420 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.007642, allocations: 7.984 kB / 356.5 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.008023, allocations: 0.5416 MB / 357 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.008024, allocations: 0 / 357 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.667e-05/0.008081, allocations: 27.98 kB / 357 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.008084, allocations: 4 kB / 357 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.008092, allocations: 4 kB / 357 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008094, allocations: 0 / 357 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.008094, allocations: 4 kB / 357 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.008291, allocations: 323.3 kB / 357.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.008309, allocations: 23.81 kB / 357.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.008328, allocations: 8 kB / 357.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.983e-05/0.008368, allocations: 0 / 357.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.008412, allocations: 19.97 kB / 357.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.008418, allocations: 4 kB / 357.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001827/0.0086, allocations: 299.1 kB / 357.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0086, allocations: 0 / 357.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001961/0.008797, allocations: 47.94 kB / 357.8 MB, free: 15.05 MB / 298.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 (17): * Single equations (assignments): 17 * 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.00129/0.01009, allocations: 0.6479 MB / 358.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.01024, allocations: 91.58 kB / 358.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.01025, allocations: 0 / 358.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.814e-05/0.0103, allocations: 59.36 kB / 358.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.01061, allocations: 88.61 kB / 358.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005724/0.01118, allocations: 0.5551 MB / 359.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.314e-05/0.01124, allocations: 107.9 kB / 359.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.99e-05/0.01131, allocations: 45.89 kB / 359.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.01136, allocations: 24.5 kB / 359.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01136, allocations: 0 / 359.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of Templates: time 0.004876/0.01623, allocations: 3.257 MB / 362.6 MB, free: 10.25 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.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.142278991173953]