Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.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.0008768/0.0008768, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.0009827/0.0009827, allocations: 162.2 kB / 24.92 MB, free: 8.77 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 0.9333/0.9333, allocations: 177 MB / 205.2 MB, free: 5.438 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.3061/0.3061, allocations: 34.86 MB / 296.6 MB, free: 0.5156 MB / 266.7 MB " [Timeout remaining time 180] 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/2.066e-05, allocations: 5.641 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002355/0.002376, allocations: 2.086 MB / 328 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.004127, allocations: 1.404 MB / 329.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.004268, allocations: 11.94 kB / 329.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.004541, allocations: 55.45 kB / 329.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004614/0.005002, allocations: 222.9 kB / 329.7 MB, free: 3.363 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009152/0.005918, allocations: 0.6119 MB / 330.3 MB, free: 2.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003667/0.006284, allocations: 366.8 kB / 330.7 MB, free: 2.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.006418, allocations: 50.86 kB / 330.7 MB, free: 2.344 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002694/0.006688, allocations: 183.5 kB / 330.9 MB, free: 2.164 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.006873, allocations: 171.6 kB / 331.1 MB, free: 1.996 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.006899, allocations: 12 kB / 331.1 MB, free: 1.984 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.007011, allocations: 79.8 kB / 331.2 MB, free: 1.906 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.00713, allocations: 159.4 kB / 331.3 MB, free: 1.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.958e-05/0.0072, allocations: 91.58 kB / 331.4 MB, free: 1.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.007505, allocations: 330.6 kB / 331.7 MB, free: 1.336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.007507, allocations: 0 / 331.7 MB, free: 1.336 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.007508, allocations: 0 / 331.7 MB, free: 1.336 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.007513, allocations: 0 / 331.7 MB, free: 1.336 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.0006277/0.008141, allocations: 0.6937 MB / 332.4 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.008172, allocations: 12.03 kB / 332.4 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/0.008388, allocations: 72.86 kB / 332.5 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.008702, allocations: 342.5 kB / 332.8 MB, free: 172 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.008712, allocations: 8.375 kB / 332.8 MB, free: 164 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.008741, allocations: 12.33 kB / 332.9 MB, free: 152 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.008892, allocations: 132.5 kB / 333 MB, free: 4 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.008901, allocations: 192 / 333 MB, free: 4 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.008911, allocations: 384 / 333 MB, free: 4 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/0.008929, allocations: 8.141 kB / 333 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.227e-05/0.008981, allocations: 31.92 kB / 333 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.009405, allocations: 386.8 kB / 333.4 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.009514, allocations: 77.19 kB / 333.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.009543, allocations: 21.72 kB / 333.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.009563, allocations: 8.125 kB / 333.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.009585, allocations: 30.56 kB / 333.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.502e-06/0.009586, allocations: 0 / 333.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005874/0.01017, allocations: 284.4 kB / 333.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.01021, allocations: 85.05 kB / 333.9 MB, free: 15.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003778/0.01059, allocations: 0.5837 MB / 334.5 MB, free: 14.42 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.01061, allocations: 29.7 kB / 334.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.01068, allocations: 170.6 kB / 334.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/0.01073, allocations: 67.38 kB / 334.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.01078, allocations: 45.55 kB / 334.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.76e-05/0.01088, allocations: 374.7 kB / 335.2 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.94e-05/0.01092, allocations: 19.98 kB / 335.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.823e-05/0.01097, allocations: 38.89 kB / 335.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.914e-05/0.01107, allocations: 80.59 kB / 335.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.01107, allocations: 4 kB / 335.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001447/0.01121, allocations: 127.3 kB / 335.4 MB, free: 13.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.01122, allocations: 4 kB / 335.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.01123, allocations: 0 / 335.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.01124, allocations: 4 kB / 335.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.01136, allocations: 47.91 kB / 335.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.01136, allocations: 3.938 kB / 335.5 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.936e-05/0.01143, allocations: 11.98 kB / 335.5 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.01145, allocations: 11.98 kB / 335.5 MB, free: 13.36 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 (20): * Single equations (assignments): 20 * 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 8.593e-05/0.01153, allocations: 120.7 kB / 335.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.346e-05/0.01158, allocations: 39.95 kB / 335.7 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.01181, allocations: 182.8 kB / 335.8 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01181, allocations: 0 / 335.8 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01181, allocations: 3.938 kB / 335.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.01182, allocations: 4 kB / 335.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.01227, allocations: 0.4899 MB / 336.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01228, allocations: 0 / 336.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.847e-05/0.01237, allocations: 43.97 kB / 336.4 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.01238, allocations: 7.984 kB / 336.4 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.01239, allocations: 7.938 kB / 336.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01239, allocations: 0 / 336.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.01239, allocations: 3.938 kB / 336.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.01258, allocations: 297.8 kB / 336.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.01263, allocations: 55.59 kB / 336.7 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.01266, allocations: 15.94 kB / 336.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.44e-05/0.01275, allocations: 15.98 kB / 336.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.0128, allocations: 15.95 kB / 336.8 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.01281, allocations: 8 kB / 336.8 MB, free: 12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002029/0.01301, allocations: 303.4 kB / 337.1 MB, free: 11.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01301, allocations: 0 / 337.1 MB, free: 11.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002189/0.01323, allocations: 63.94 kB / 337.2 MB, free: 11.64 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 (20): * Single equations (assignments): 20 * 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.001037/0.01427, allocations: 0.4924 MB / 337.6 MB, free: 11.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.01442, allocations: 80.75 kB / 337.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.01442, allocations: 4 kB / 337.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.056e-05/0.01448, allocations: 60.69 kB / 337.8 MB, free: 11.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.0148, allocations: 98.56 kB / 337.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009378/0.01573, allocations: 0.8207 MB / 338.7 MB, free: 10.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.968e-05/0.01582, allocations: 145 kB / 338.8 MB, free: 10.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.01594, allocations: 67.2 kB / 338.9 MB, free: 10.06 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.01609, allocations: 115.3 kB / 339 MB, free: 9.945 MB / 314.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01609, allocations: 0 / 339 MB, free: 9.945 MB / 314.7 MB Notification: Performance of Templates: time 0.007982/0.02407, allocations: 4.846 MB / 343.9 MB, free: 5.188 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.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.0477360510267317]