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.001111/0.001111, allocations: 80.98 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.001228/0.001228, 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 1.043/1.043, allocations: 158.6 MB / 185.9 MB, free: 2.809 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.1681/0.1681, allocations: 32.38 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.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.903e-06/1.903e-06, allocations: 0 / 348.1 MB, free: 9.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.485e-05, allocations: 6.25 kB / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002931/0.002956, allocations: 1.943 MB / 350.1 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.004132, allocations: 0.7436 MB / 350.8 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.004253, allocations: 7.938 kB / 350.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004437/0.004697, allocations: 267 kB / 351.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.005037, allocations: 207.1 kB / 351.3 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009911/0.006028, allocations: 0.5808 MB / 351.9 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003777/0.006405, allocations: 311.1 kB / 352.2 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.006573, allocations: 40.92 kB / 352.2 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.006771, allocations: 175.5 kB / 352.4 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.00699, allocations: 199.5 kB / 352.6 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.007021, allocations: 12 kB / 352.6 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.007158, allocations: 63.91 kB / 352.7 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.007271, allocations: 103.6 kB / 352.8 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.837e-05/0.00733, allocations: 51.72 kB / 352.8 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.007619, allocations: 243 kB / 353 MB, free: 4.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.007621, allocations: 4 kB / 353 MB, free: 4.238 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.007622, allocations: 0 / 353 MB, free: 4.238 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.007628, allocations: 0 / 353 MB, free: 4.238 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.0005436/0.008171, allocations: 0.6738 MB / 353.7 MB, free: 3.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.00821, allocations: 8.031 kB / 353.7 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.035e-05/0.00827, allocations: 44.7 kB / 353.8 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.008486, allocations: 262.8 kB / 354 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.008502, allocations: 12.38 kB / 354 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.008528, allocations: 8.375 kB / 354 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.008683, allocations: 90.91 kB / 354.1 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.008696, allocations: 192 / 354.1 MB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.008707, allocations: 16.12 kB / 354.2 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.008714, allocations: 0 / 354.2 MB, free: 3.059 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.449e-05/0.008768, allocations: 35.89 kB / 354.2 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.009154, allocations: 407.8 kB / 354.6 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.43e-05/0.009239, allocations: 67.02 kB / 354.7 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.009267, allocations: 31.83 kB / 354.7 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.009297, allocations: 7.938 kB / 354.7 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.009315, allocations: 41.33 kB / 354.7 MB, free: 2.426 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.009316, allocations: 0 / 354.7 MB, free: 2.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004837/0.009799, allocations: 252.9 kB / 355 MB, free: 2.172 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.885e-05/0.009818, allocations: 55.41 kB / 355 MB, free: 2.105 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.01008, allocations: 438.5 kB / 355.5 MB, free: 1.66 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.01009, allocations: 29.7 kB / 355.5 MB, free: 1.625 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.0102, allocations: 255.1 kB / 355.7 MB, free: 1.371 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.01024, allocations: 63.41 kB / 355.8 MB, free: 1.309 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.01029, allocations: 43.34 kB / 355.8 MB, free: 1.258 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.349e-05/0.01037, allocations: 0.5312 MB / 356.4 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.986e-05/0.0104, allocations: 19.92 kB / 356.4 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.459e-05/0.01043, allocations: 26.17 kB / 356.4 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.242e-05/0.01052, allocations: 67.56 kB / 356.5 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01052, allocations: 4 kB / 356.5 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001615/0.01068, allocations: 139.9 kB / 356.6 MB, free: 468 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.01069, allocations: 4 kB / 356.6 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.01069, allocations: 0 / 356.6 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.01071, allocations: 7.938 kB / 356.6 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.01081, allocations: 31.92 kB / 356.7 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.01081, allocations: 0 / 356.7 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.099e-05/0.01085, allocations: 11.95 kB / 356.7 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.01086, allocations: 7.984 kB / 356.7 MB, free: 404 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 7.275e-05/0.01094, allocations: 164.6 kB / 356.8 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.01099, allocations: 43.77 kB / 356.9 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.01121, allocations: 173.3 kB / 357.1 MB, free: 0 / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.803e-05/0.01124, allocations: 4.141 kB / 357.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.01124, allocations: 0 / 357.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.01125, allocations: 4 kB / 357.1 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.01178, allocations: 491.1 kB / 357.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.01179, allocations: 3.984 kB / 357.6 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.2e-05/0.01187, allocations: 35.91 kB / 357.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.01187, allocations: 0 / 357.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.01188, allocations: 12 kB / 357.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.01188, allocations: 3.938 kB / 357.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01189, allocations: 0 / 357.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.01211, allocations: 299.2 kB / 357.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/0.01214, allocations: 31.73 kB / 357.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.01216, allocations: 0 / 357.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.01223, allocations: 11.94 kB / 357.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.01227, allocations: 11.97 kB / 357.9 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.01228, allocations: 8 kB / 358 MB, free: 15.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000208/0.01249, allocations: 283 kB / 358.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01249, allocations: 0 / 358.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002851/0.01277, allocations: 55.89 kB / 358.3 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.001666/0.01444, allocations: 0.658 MB / 358.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.01459, allocations: 71.64 kB / 359 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.01459, allocations: 0 / 359 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.382e-05/0.01465, allocations: 55.34 kB / 359.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.01506, allocations: 92.86 kB / 359.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007227/0.01578, allocations: 0.5782 MB / 359.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.896e-05/0.01587, allocations: 120.3 kB / 359.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.01597, allocations: 37.91 kB / 359.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.01611, allocations: 118.2 kB / 360 MB, free: 13.05 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01611, allocations: 0 / 360 MB, free: 13.05 MB / 298.7 MB Notification: Performance of Templates: time 0.007189/0.0233, allocations: 3.704 MB / 363.7 MB, free: 9.363 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.2904298533685505]