Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.001314/0.001314, allocations: 81.95 kB / 21.44 MB, free: 3.055 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.001411/0.001411, allocations: 165.7 kB / 24.84 MB, free: 8.867 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.9046/0.9046, allocations: 158.6 MB / 186.7 MB, free: 2.75 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.1438/0.1438, allocations: 32.38 MB / 271.5 MB, free: 14.52 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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.295e-05/1.424e-05, allocations: 9.344 kB / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002255/0.00227, allocations: 1.949 MB / 350.9 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009024/0.003172, allocations: 0.7552 MB / 351.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.979e-05/0.003272, allocations: 7.938 kB / 351.6 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.003625, allocations: 255.1 kB / 351.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.003884, allocations: 203.1 kB / 352.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008646/0.004749, allocations: 0.5769 MB / 352.7 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.005074, allocations: 319.1 kB / 353 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.005199, allocations: 40.92 kB / 353 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.005328, allocations: 179.4 kB / 353.2 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.005474, allocations: 195.6 kB / 353.4 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.005496, allocations: 8 kB / 353.4 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.005597, allocations: 67.91 kB / 353.4 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.638e-05/0.005674, allocations: 95.67 kB / 353.5 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.005711, allocations: 55.72 kB / 353.6 MB, free: 4.469 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.005903, allocations: 246.9 kB / 353.8 MB, free: 4.227 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.005904, allocations: 0 / 353.8 MB, free: 4.227 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.005905, allocations: 0 / 353.8 MB, free: 4.227 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.005909, allocations: 4 kB / 353.8 MB, free: 4.223 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.0004131/0.006322, allocations: 0.6738 MB / 354.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.006357, allocations: 8.031 kB / 354.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.006422, allocations: 48.7 kB / 354.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.006682, allocations: 258.8 kB / 354.8 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.006699, allocations: 8.375 kB / 354.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.006729, allocations: 20.34 kB / 354.8 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.006893, allocations: 90.91 kB / 354.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.006907, allocations: 192 / 354.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.006921, allocations: 8.125 kB / 354.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.006929, allocations: 8 kB / 355 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.276e-05/0.007002, allocations: 31.91 kB / 355 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005442/0.007546, allocations: 411.8 kB / 355.4 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.007665, allocations: 74.95 kB / 355.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.129e-05/0.007696, allocations: 15.69 kB / 355.5 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.00772, allocations: 4 kB / 355.5 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.007741, allocations: 45.31 kB / 355.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.007742, allocations: 0 / 355.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.000469/0.008211, allocations: 249.1 kB / 355.8 MB, free: 2.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.008236, allocations: 59.41 kB / 355.8 MB, free: 2.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.008437, allocations: 438.5 kB / 356.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.208e-06/0.008446, allocations: 29.7 kB / 356.3 MB, free: 1.609 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.271e-05/0.008539, allocations: 255.1 kB / 356.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.008569, allocations: 59.47 kB / 356.6 MB, free: 1.297 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.008605, allocations: 43.34 kB / 356.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.425e-05/0.00867, allocations: 0.5273 MB / 357.2 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/0.008693, allocations: 23.92 kB / 357.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.57e-05/0.008719, allocations: 22.64 kB / 357.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.971e-05/0.008778, allocations: 71.56 kB / 357.3 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.008779, allocations: 0 / 357.3 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001439/0.008923, allocations: 144.1 kB / 357.4 MB, free: 456 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.008936, allocations: 4 kB / 357.4 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.008942, allocations: 0 / 357.4 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.008955, allocations: 3.938 kB / 357.4 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.566e-05/0.009041, allocations: 39.91 kB / 357.5 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.009045, allocations: 0 / 357.5 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.179e-05/0.009087, allocations: 11.95 kB / 357.5 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.009098, allocations: 4 kB / 357.5 MB, free: 392 kB / 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 6.81e-05/0.009166, allocations: 156.6 kB / 357.6 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.009206, allocations: 43.77 kB / 357.7 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.009402, allocations: 177.3 kB / 357.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.009407, allocations: 7.938 kB / 357.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.009409, allocations: 0 / 357.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.009413, allocations: 3.938 kB / 357.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.009843, allocations: 485.7 kB / 358.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.009846, allocations: 3.938 kB / 358.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.557e-05/0.009912, allocations: 31.98 kB / 358.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.009914, allocations: 0 / 358.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.009922, allocations: 4 kB / 358.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.009924, allocations: 11.94 kB / 358.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.009927, allocations: 3.938 kB / 358.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.01011, allocations: 300.9 kB / 358.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/0.01013, allocations: 27.75 kB / 358.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.01015, allocations: 4 kB / 358.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.193e-05/0.01019, allocations: 4 kB / 358.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.01023, allocations: 11.97 kB / 358.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.01023, allocations: 8 kB / 358.7 MB, free: 15.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001801/0.01041, allocations: 287 kB / 359 MB, free: 14.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01041, allocations: 0 / 359 MB, free: 14.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002175/0.01063, allocations: 55.88 kB / 359.1 MB, free: 14.71 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.001396/0.01203, allocations: 0.655 MB / 359.7 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.01216, allocations: 79.62 kB / 359.8 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01216, allocations: 0 / 359.8 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.965e-05/0.01221, allocations: 59.03 kB / 359.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.0125, allocations: 76.88 kB / 359.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000568/0.01307, allocations: 0.5783 MB / 360.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.16e-05/0.01314, allocations: 120.2 kB / 360.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.907e-05/0.01322, allocations: 45.91 kB / 360.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.01333, allocations: 114.2 kB / 360.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01333, allocations: 0 / 360.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of Templates: time 0.005408/0.01873, allocations: 3.732 MB / 364.5 MB, free: 9.328 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/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.20285172900185]