Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001211/0.001211, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 167.4 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.064/1.064, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2094/0.2094, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.353e-05, allocations: 3.156 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.00254/0.002564, allocations: 2.013 MB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.004308, allocations: 1.327 MB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.004433, allocations: 7.938 kB / 383.4 MB, free: 19.37 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.0047, allocations: 55.5 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004206/0.00512, allocations: 215 kB / 383.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007438/0.005864, allocations: 0.5886 MB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.006159, allocations: 334.9 kB / 384.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.006307, allocations: 44.89 kB / 384.6 MB, free: 18.14 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.006517, allocations: 179.5 kB / 384.8 MB, free: 17.97 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.006692, allocations: 171.6 kB / 384.9 MB, free: 17.8 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.006716, allocations: 12 kB / 384.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.006823, allocations: 71.86 kB / 385 MB, free: 17.72 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.006935, allocations: 151.5 kB / 385.2 MB, free: 17.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.084e-05/0.006996, allocations: 87.58 kB / 385.2 MB, free: 17.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.007262, allocations: 314.7 kB / 385.6 MB, free: 17.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.007264, allocations: 0 / 385.6 MB, free: 17.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.007265, allocations: 0 / 385.6 MB, free: 17.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.007271, allocations: 0 / 385.6 MB, free: 17.18 MB / 314.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.000639/0.00791, allocations: 0.8133 MB / 386.4 MB, free: 16.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.007951, allocations: 12.03 kB / 386.4 MB, free: 16.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.008142, allocations: 80.55 kB / 386.5 MB, free: 16.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.008431, allocations: 352.5 kB / 386.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.008447, allocations: 4.375 kB / 386.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.00847, allocations: 8.375 kB / 386.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.00862, allocations: 123.3 kB / 386.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.008635, allocations: 4.188 kB / 386.9 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.008646, allocations: 4.375 kB / 386.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.008655, allocations: 7.938 kB / 386.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.85e-05/0.008713, allocations: 35.56 kB / 387 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.009147, allocations: 0.5574 MB / 387.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.009251, allocations: 94.14 kB / 387.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.009281, allocations: 31.48 kB / 387.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.009304, allocations: 4 kB / 387.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.009325, allocations: 41.39 kB / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.009327, allocations: 0 / 387.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005643/0.009891, allocations: 265.2 kB / 388 MB, free: 14.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.009923, allocations: 85.11 kB / 388.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.01027, allocations: 0.6312 MB / 388.7 MB, free: 13.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.01028, allocations: 29.64 kB / 388.7 MB, free: 13.81 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.01041, allocations: 334.9 kB / 389 MB, free: 13.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.01045, allocations: 63.47 kB / 389.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.01049, allocations: 35.36 kB / 389.1 MB, free: 13.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.0106, allocations: 0.5702 MB / 389.7 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.681e-05/0.01063, allocations: 11.98 kB / 389.7 MB, free: 12.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-05/0.01068, allocations: 35.36 kB / 389.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.478e-05/0.01077, allocations: 63.34 kB / 389.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.01077, allocations: 0 / 389.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001602/0.01093, allocations: 157.2 kB / 390 MB, free: 12.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.01094, allocations: 5.938 kB / 390 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01094, allocations: 4 kB / 390 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.01096, allocations: 11.88 kB / 390 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.907e-05/0.01105, allocations: 31.92 kB / 390 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.01106, allocations: 4 kB / 390 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.989e-05/0.01111, allocations: 11.98 kB / 390 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.01112, allocations: 4 kB / 390 MB, free: 12.43 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.072e-05/0.01119, allocations: 156.6 kB / 390.2 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.01125, allocations: 59.62 kB / 390.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.01148, allocations: 186.5 kB / 390.4 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.01148, allocations: 3.938 kB / 390.4 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.01148, allocations: 0 / 390.4 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.01149, allocations: 4 kB / 390.4 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004308/0.01192, allocations: 0.6336 MB / 391.1 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.01192, allocations: 4.375 kB / 391.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-05/0.012, allocations: 31.92 kB / 391.1 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.012, allocations: 3.938 kB / 391.1 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.01201, allocations: 19.97 kB / 391.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01202, allocations: 0 / 391.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01202, allocations: 4 kB / 391.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.01221, allocations: 424.6 kB / 391.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.01225, allocations: 55.55 kB / 391.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.01228, allocations: 0 / 391.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.737e-05/0.01236, allocations: 8 kB / 391.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.0124, allocations: 19.95 kB / 391.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.0124, allocations: 8 kB / 391.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002073/0.01261, allocations: 398.6 kB / 392 MB, free: 10.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01261, allocations: 0 / 392 MB, free: 10.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.01284, allocations: 55.94 kB / 392.1 MB, free: 10.32 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.0008432/0.01368, allocations: 376.8 kB / 392.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.01384, allocations: 71.73 kB / 392.5 MB, free: 10.01 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01384, allocations: 0 / 392.5 MB, free: 10.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.429e-05/0.01389, allocations: 51.73 kB / 392.6 MB, free: 9.957 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.01428, allocations: 91.81 kB / 392.7 MB, free: 9.875 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008555/0.01513, allocations: 0.7734 MB / 393.4 MB, free: 9.066 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.911e-05/0.01521, allocations: 144.5 kB / 393.6 MB, free: 8.906 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.344e-05/0.01531, allocations: 63.22 kB / 393.6 MB, free: 8.844 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.01543, allocations: 130.2 kB / 393.8 MB, free: 8.715 MB / 314.7 MB Notification: Performance of SimCode: time 1.372e-06/0.01543, allocations: 0 / 393.8 MB, free: 8.715 MB / 314.7 MB Notification: Performance of Templates: time 0.006586/0.02202, allocations: 4.584 MB / 398.3 MB, free: 4.176 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 3.9079025271348655]