Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.0009697/0.0009697, allocations: 80.8 kB / 21.49 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.001049/0.001049, allocations: 169.9 kB / 24.91 MB, free: 9.188 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.9269/0.9269, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2783/0.2783, allocations: 34.27 MB / 296.1 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.283e-05, allocations: 3.516 kB / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.00334/0.003363, allocations: 2.063 MB / 327.4 MB, free: 5.555 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002086/0.005448, allocations: 1.352 MB / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.005574, allocations: 4 kB / 328.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.005822, allocations: 63.38 kB / 328.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.0062, allocations: 219 kB / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009437/0.007144, allocations: 0.5807 MB / 329.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.007501, allocations: 331 kB / 329.9 MB, free: 3.008 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.007631, allocations: 46.86 kB / 329.9 MB, free: 2.965 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.007868, allocations: 175.5 kB / 330.1 MB, free: 2.793 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.008041, allocations: 163.5 kB / 330.3 MB, free: 2.633 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.00807, allocations: 16 kB / 330.3 MB, free: 2.617 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.008189, allocations: 71.84 kB / 330.4 MB, free: 2.547 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.008305, allocations: 147.5 kB / 330.5 MB, free: 2.402 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.124e-05/0.008367, allocations: 83.64 kB / 330.6 MB, free: 2.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002864/0.008653, allocations: 314.7 kB / 330.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.008657, allocations: 7.984 kB / 330.9 MB, free: 2.004 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.008659, allocations: 0 / 330.9 MB, free: 2.004 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.008664, allocations: 0 / 330.9 MB, free: 2.004 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005765/0.00924, allocations: 0.6704 MB / 331.6 MB, free: 1.309 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.00927, allocations: 8.031 kB / 331.6 MB, free: 1.301 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.009435, allocations: 52.89 kB / 331.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.009725, allocations: 325.7 kB / 332 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.009736, allocations: 8.375 kB / 332 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.009759, allocations: 8.375 kB / 332 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.009898, allocations: 120.6 kB / 332.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.00991, allocations: 3.938 kB / 332.1 MB, free: 0.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.009919, allocations: 4 kB / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.009925, allocations: 4 kB / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.557e-05/0.00997, allocations: 28.91 kB / 332.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.01036, allocations: 366.9 kB / 332.5 MB, free: 344 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.912e-05/0.01044, allocations: 73.05 kB / 332.6 MB, free: 252 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.01072, allocations: 21.97 kB / 332.6 MB, free: 224 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.01074, allocations: 4 kB / 332.6 MB, free: 220 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.01076, allocations: 38.77 kB / 332.6 MB, free: 172 kB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.01076, allocations: 4 kB / 332.6 MB, free: 168 kB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006162/0.01138, allocations: 225.2 kB / 332.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.01141, allocations: 81.05 kB / 332.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.01176, allocations: 0.5477 MB / 333.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.01178, allocations: 33.7 kB / 333.5 MB, free: 15.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/0.01185, allocations: 166.2 kB / 333.7 MB, free: 15.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.01189, allocations: 59.47 kB / 333.7 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.01193, allocations: 33.69 kB / 333.8 MB, free: 14.97 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.01203, allocations: 366.7 kB / 334.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.7e-05/0.01206, allocations: 15.98 kB / 334.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-05/0.0121, allocations: 36.08 kB / 334.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.261e-05/0.01217, allocations: 56.48 kB / 334.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01217, allocations: 4 kB / 334.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001174/0.01229, allocations: 105.7 kB / 334.3 MB, free: 14.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.0123, allocations: 4 kB / 334.3 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01231, allocations: 3.75 kB / 334.3 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.01232, allocations: 4 kB / 334.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.01243, allocations: 35.91 kB / 334.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.01243, allocations: 0 / 334.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.939e-05/0.01248, allocations: 15.98 kB / 334.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.01249, allocations: 4 kB / 334.4 MB, free: 14.31 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.683e-05/0.01257, allocations: 120.6 kB / 334.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.01262, allocations: 35.95 kB / 334.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.01282, allocations: 158.9 kB / 334.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.01282, allocations: 0 / 334.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.01282, allocations: 4 kB / 334.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01282, allocations: 4 kB / 334.7 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004116/0.01324, allocations: 466.1 kB / 335.2 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01324, allocations: 7.938 kB / 335.2 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.097e-05/0.01332, allocations: 31.97 kB / 335.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.01332, allocations: 0 / 335.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.01333, allocations: 4 kB / 335.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01333, allocations: 4 kB / 335.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01333, allocations: 3.938 kB / 335.2 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.01349, allocations: 286.6 kB / 335.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.01353, allocations: 51.61 kB / 335.5 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.01356, allocations: 4 kB / 335.5 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.84e-05/0.01364, allocations: 12 kB / 335.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.01367, allocations: 11.97 kB / 335.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.01368, allocations: 0 / 335.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002025/0.01388, allocations: 291.2 kB / 335.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01388, allocations: 0 / 335.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.01409, allocations: 51.94 kB / 335.9 MB, free: 12.73 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001095/0.01518, allocations: 0.4994 MB / 336.4 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.0153, allocations: 71.84 kB / 336.5 MB, free: 12.42 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.01531, allocations: 4 kB / 336.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.38e-05/0.01535, allocations: 40.77 kB / 336.5 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.01568, allocations: 86.62 kB / 336.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009478/0.01663, allocations: 0.7734 MB / 337.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.741e-05/0.01672, allocations: 140.5 kB / 337.5 MB, free: 11.33 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.01683, allocations: 67.53 kB / 337.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.01696, allocations: 103.4 kB / 337.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01696, allocations: 0 / 337.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of Templates: time 0.007322/0.02428, allocations: 4.397 MB / 342.1 MB, free: 6.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.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.8570633521303535]