Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001006/0.001006, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.00103/0.00103, allocations: 168.6 kB / 24.84 MB, free: 9.297 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 1/1, allocations: 158.6 MB / 186.7 MB, free: 2.762 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.1293/0.1293, allocations: 32.37 MB / 271.5 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.CombiTable2Dv.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,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.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.716e-05, allocations: 4.281 kB / 348.9 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002046/0.002063, allocations: 1.933 MB / 350.9 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008078/0.002871, allocations: 0.763 MB / 351.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.394e-05/0.002965, allocations: 4 kB / 351.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003364/0.003301, allocations: 263 kB / 351.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.003528, allocations: 199.2 kB / 352.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000638/0.004166, allocations: 0.5807 MB / 352.7 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.004404, allocations: 319.1 kB / 353 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.004526, allocations: 43.67 kB / 353 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.004645, allocations: 179.4 kB / 353.2 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.004798, allocations: 195.6 kB / 353.4 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.004818, allocations: 8 kB / 353.4 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.649e-05/0.004915, allocations: 67.91 kB / 353.4 MB, free: 4.613 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.829e-05/0.004993, allocations: 95.67 kB / 353.5 MB, free: 4.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.00503, allocations: 51.72 kB / 353.6 MB, free: 4.469 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.005225, allocations: 250.9 kB / 353.8 MB, free: 4.223 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.005227, allocations: 0 / 353.8 MB, free: 4.223 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.005227, allocations: 0 / 353.8 MB, free: 4.223 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.005231, allocations: 0 / 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.000372/0.005603, allocations: 0.6738 MB / 354.5 MB, free: 3.512 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.005631, allocations: 12.03 kB / 354.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.005677, allocations: 44.7 kB / 354.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.005847, allocations: 258.8 kB / 354.8 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.005856, allocations: 8.312 kB / 354.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.005887, allocations: 12.38 kB / 354.8 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.005995, allocations: 94.91 kB / 354.9 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.006004, allocations: 192 / 354.9 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.006013, allocations: 4.125 kB / 354.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.006018, allocations: 7.984 kB / 354.9 MB, free: 3.043 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.967e-05/0.006057, allocations: 34.38 kB / 355 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.006359, allocations: 411.8 kB / 355.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.89e-05/0.006428, allocations: 78.89 kB / 355.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.145e-05/0.006449, allocations: 23.67 kB / 355.5 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.006466, allocations: 4 kB / 355.5 MB, free: 2.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.00648, allocations: 33.39 kB / 355.5 MB, free: 2.418 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.006481, allocations: 0 / 355.5 MB, free: 2.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003814/0.006862, allocations: 261 kB / 355.8 MB, free: 2.156 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.741e-05/0.00688, allocations: 55.41 kB / 355.8 MB, free: 2.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.007066, allocations: 434.6 kB / 356.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.007075, allocations: 29.69 kB / 356.3 MB, free: 1.613 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.018e-05/0.007156, allocations: 259.1 kB / 356.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.007187, allocations: 63.47 kB / 356.6 MB, free: 1.293 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.00722, allocations: 39.36 kB / 356.6 MB, free: 1.246 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.037e-05/0.00728, allocations: 0.5273 MB / 357.2 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.007302, allocations: 19.98 kB / 357.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.449e-05/0.007327, allocations: 26.16 kB / 357.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.945e-05/0.007386, allocations: 67.58 kB / 357.3 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.007387, allocations: 0 / 357.3 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001166/0.007504, allocations: 143.9 kB / 357.4 MB, free: 460 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.007515, allocations: 7.984 kB / 357.4 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.007519, allocations: 0 / 357.4 MB, free: 452 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/0.007527, allocations: 7.938 kB / 357.4 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/0.007604, allocations: 31.98 kB / 357.5 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.007608, allocations: 0 / 357.5 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.91e-05/0.007637, allocations: 11.95 kB / 357.5 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.007644, allocations: 0 / 357.5 MB, free: 400 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 5.489e-05/0.007699, allocations: 164.5 kB / 357.6 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.007734, allocations: 43.77 kB / 357.7 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.007931, allocations: 169.4 kB / 357.8 MB, free: 16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.007939, allocations: 11.92 kB / 357.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.007941, allocations: 0 / 357.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.007944, allocations: 4 kB / 357.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.008348, allocations: 487 kB / 358.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.00835, allocations: 3.938 kB / 358.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.084e-05/0.008411, allocations: 31.92 kB / 358.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.008413, allocations: 4 kB / 358.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.008419, allocations: 0 / 358.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.008422, allocations: 7.922 kB / 358.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.008423, allocations: 4 kB / 358.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.008605, allocations: 299.3 kB / 358.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.126e-05/0.008627, allocations: 31.75 kB / 358.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.008644, allocations: 0 / 358.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.499e-05/0.008689, allocations: 11.98 kB / 358.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.008723, allocations: 7.984 kB / 358.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.008729, allocations: 4 kB / 358.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001623/0.008892, allocations: 291 kB / 359 MB, free: 14.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008892, allocations: 0 / 359 MB, free: 14.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000196/0.009088, allocations: 55.88 kB / 359.1 MB, free: 14.72 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.001386/0.01047, allocations: 0.6543 MB / 359.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001225/0.0106, allocations: 83.56 kB / 359.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.0106, allocations: 4 kB / 359.8 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.684e-05/0.01065, allocations: 51.59 kB / 359.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.01094, allocations: 82.38 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.0005411/0.01148, allocations: 0.5705 MB / 360.5 MB, free: 13.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.706e-05/0.01155, allocations: 120.2 kB / 360.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.195e-05/0.01162, allocations: 37.94 kB / 360.7 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.01173, allocations: 118.2 kB / 360.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of SimCode: time 6.12e-07/0.01173, allocations: 0 / 360.8 MB, free: 13.06 MB / 298.7 MB Notification: Performance of Templates: time 0.005488/0.01722, allocations: 3.753 MB / 364.5 MB, free: 9.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.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.16791723202914]