Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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: 80.8 kB / 21.5 MB, free: 2.992 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.0009634/0.0009634, allocations: 169.4 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9623/0.9623, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2307/0.2307, allocations: 32.81 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 323.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.685e-05, allocations: 2.875 kB / 323.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002633/0.00266, allocations: 2.023 MB / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.004071, allocations: 1.128 MB / 326.4 MB, free: 6.547 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.004192, allocations: 7.938 kB / 326.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004236/0.004615, allocations: 275 kB / 326.7 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004602/0.005076, allocations: 270.8 kB / 326.9 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009666/0.006042, allocations: 0.6314 MB / 327.6 MB, free: 5.371 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003727/0.006415, allocations: 358.9 kB / 327.9 MB, free: 5.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.00655, allocations: 62.8 kB / 328 MB, free: 4.961 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.006729, allocations: 179.5 kB / 328.1 MB, free: 4.785 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.006894, allocations: 171.6 kB / 328.3 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.006918, allocations: 12 kB / 328.3 MB, free: 4.605 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.007047, allocations: 79.83 kB / 328.4 MB, free: 4.527 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.994e-05/0.007147, allocations: 95.62 kB / 328.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.241e-05/0.007199, allocations: 67.64 kB / 328.6 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.007485, allocations: 258.9 kB / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.007488, allocations: 0 / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.007489, allocations: 0 / 328.8 MB, free: 4.113 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.007494, allocations: 7.938 kB / 328.8 MB, free: 4.105 MB / 298.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.0004993/0.007993, allocations: 0.5618 MB / 329.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.008024, allocations: 8.031 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.00807, allocations: 32.91 kB / 329.4 MB, free: 3.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.008298, allocations: 271.9 kB / 329.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.00831, allocations: 8.375 kB / 329.7 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.008333, allocations: 8.375 kB / 329.7 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.008452, allocations: 98.83 kB / 329.8 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.008462, allocations: 8.141 kB / 329.8 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.008472, allocations: 8.125 kB / 329.8 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.008478, allocations: 4 kB / 329.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.991e-05/0.008518, allocations: 31.91 kB / 329.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.008844, allocations: 274.7 kB / 330.1 MB, free: 2.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.095e-05/0.008925, allocations: 57.38 kB / 330.2 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.008946, allocations: 17.02 kB / 330.2 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.008967, allocations: 11.94 kB / 330.2 MB, free: 2.633 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.008986, allocations: 30.56 kB / 330.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.008988, allocations: 4 kB / 330.2 MB, free: 2.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004004/0.009388, allocations: 217.9 kB / 330.4 MB, free: 2.375 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.009417, allocations: 51.41 kB / 330.5 MB, free: 2.312 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.009664, allocations: 420.8 kB / 330.9 MB, free: 1.891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.009682, allocations: 29.7 kB / 330.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.00974, allocations: 149.7 kB / 331.1 MB, free: 1.703 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.009776, allocations: 55.53 kB / 331.1 MB, free: 1.648 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.009814, allocations: 33.69 kB / 331.2 MB, free: 1.609 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.226e-05/0.009906, allocations: 350.7 kB / 331.5 MB, free: 1.258 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.675e-05/0.009933, allocations: 19.98 kB / 331.5 MB, free: 1.238 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.009954, allocations: 16 kB / 331.5 MB, free: 1.223 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.588e-05/0.01002, allocations: 66.12 kB / 331.6 MB, free: 1.156 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.01002, allocations: 0 / 331.6 MB, free: 1.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001138/0.01013, allocations: 109.5 kB / 331.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.01015, allocations: 4 kB / 331.7 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.01015, allocations: 3.938 kB / 331.7 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.01016, allocations: 3.938 kB / 331.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.922e-05/0.01025, allocations: 27.98 kB / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.01025, allocations: 3.984 kB / 331.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.567e-05/0.01029, allocations: 15.92 kB / 331.8 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.0103, allocations: 4 kB / 331.8 MB, free: 0.9766 MB / 298.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.103e-05/0.01037, allocations: 120.6 kB / 331.9 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.0104, allocations: 27.97 kB / 331.9 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.01059, allocations: 148.3 kB / 332.1 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.01059, allocations: 3.938 kB / 332.1 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.01059, allocations: 0 / 332.1 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01059, allocations: 3.984 kB / 332.1 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.01092, allocations: 378.4 kB / 332.4 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.01093, allocations: 0 / 332.4 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.371e-05/0.01099, allocations: 43.84 kB / 332.5 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.01099, allocations: 0 / 332.5 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.011, allocations: 4 kB / 332.5 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.011, allocations: 0 / 332.5 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.011, allocations: 0 / 332.5 MB, free: 220 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.01112, allocations: 192.4 kB / 332.7 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.01116, allocations: 35.69 kB / 332.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.01118, allocations: 4 kB / 332.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.171e-05/0.01122, allocations: 4 kB / 332.7 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.01124, allocations: 11.98 kB / 332.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.01125, allocations: 7.984 kB / 332.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001317/0.01138, allocations: 195.5 kB / 332.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01138, allocations: 0 / 332.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001675/0.01155, allocations: 47.94 kB / 333 MB, free: 15.71 MB / 314.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.001998/0.01355, allocations: 0.9198 MB / 333.9 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.01367, allocations: 79.62 kB / 334 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.01368, allocations: 4 kB / 334 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.938e-05/0.01372, allocations: 44.78 kB / 334 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.01397, allocations: 92.44 kB / 334.1 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005951/0.01456, allocations: 0.5905 MB / 334.7 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.812e-05/0.01463, allocations: 124.2 kB / 334.8 MB, free: 14.31 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.74e-05/0.01472, allocations: 49.89 kB / 334.9 MB, free: 14.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.01482, allocations: 95.34 kB / 335 MB, free: 14.17 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01482, allocations: 0 / 335 MB, free: 14.17 MB / 314.7 MB Notification: Performance of Templates: time 0.00557/0.02039, allocations: 3.763 MB / 338.7 MB, free: 10.44 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 2.9548594830557704]