Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001345/0.001345, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001684/0.001684, allocations: 170 kB / 24.82 MB, free: 9.254 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.9582/0.9582, allocations: 177 MB / 205.1 MB, free: 5.48 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.2706/0.2706, 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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.867e-05, allocations: 3.578 kB / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002031/0.00205, allocations: 1.695 MB / 380.9 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.003188, allocations: 1.301 MB / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.453e-05/0.003232, allocations: 0 / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.003393, allocations: 19.8 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.003626, allocations: 95.47 kB / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.00382, allocations: 131.6 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.003928, allocations: 67.83 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.74e-05/0.004005, allocations: 8 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.358e-05/0.004068, allocations: 47.83 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.586e-05/0.004144, allocations: 27.89 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.004157, allocations: 8 kB / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.00427, allocations: 99.75 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.004312, allocations: 11.98 kB / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.797e-05/0.00433, allocations: 15.94 kB / 382.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.004491, allocations: 143.5 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004494, allocations: 0 / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.004494, allocations: 4 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.297e-06/0.004498, allocations: 0 / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003218/0.004819, allocations: 435.9 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.00485, allocations: 8.031 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.718e-05/0.004877, allocations: 12.89 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.004988, allocations: 136.4 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-06/0.004996, allocations: 4.375 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.005012, allocations: 4.375 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.005124, allocations: 104 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.005133, allocations: 8.188 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-06/0.005139, allocations: 4.359 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.005144, allocations: 4.359 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.111e-05/0.005165, allocations: 7.938 kB / 383.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.005366, allocations: 268.3 kB / 383.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.066e-05/0.005416, allocations: 38.98 kB / 383.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/0.005432, allocations: 11.69 kB / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.005451, allocations: 0 / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.005473, allocations: 37.48 kB / 384 MB, free: 12.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.005474, allocations: 0 / 384 MB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002709/0.005745, allocations: 125.4 kB / 384.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.005772, allocations: 77.11 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.83e-05/0.00586, allocations: 193.9 kB / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.00587, allocations: 29.64 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.005983, allocations: 146.8 kB / 384.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.006001, allocations: 23.81 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.006029, allocations: 23.36 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.006128, allocations: 0.4884 MB / 385.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/0.006143, allocations: 11.98 kB / 385.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.229e-05/0.006176, allocations: 61.05 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.109e-05/0.006207, allocations: 23.69 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.006208, allocations: 4 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.976e-05/0.006278, allocations: 65.56 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.006288, allocations: 8 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.006291, allocations: 3.938 kB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.006301, allocations: 0 / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.944e-05/0.00636, allocations: 19.98 kB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.006363, allocations: 0 / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.006386, allocations: 8 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.00639, allocations: 4.344 kB / 385.3 MB, free: 11.55 MB / 362.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 (7): * Single equations (assignments): 7 * 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 6.432e-05/0.006454, allocations: 160.6 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.006474, allocations: 15.89 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.006591, allocations: 82.31 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.006592, allocations: 0 / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.006594, allocations: 0 / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.006598, allocations: 0 / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.00682, allocations: 310.1 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.006822, allocations: 3.938 kB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.006861, allocations: 15.98 kB / 385.8 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.006862, allocations: 7.938 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.006867, allocations: 0 / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.006869, allocations: 7.938 kB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.00687, allocations: 0 / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.00697, allocations: 215.9 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-06/0.006979, allocations: 11.89 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.006988, allocations: 0 / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.776e-05/0.007026, allocations: 7.984 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.007048, allocations: 8 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.007051, allocations: 0 / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.859e-05/0.0071, allocations: 153.6 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0071, allocations: 0 / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001734/0.007273, allocations: 43.86 kB / 386.3 MB, free: 10.45 MB / 362.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 (7): * Single equations (assignments): 7 * 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.0008387/0.008112, allocations: 473.1 kB / 386.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.615e-05/0.008188, allocations: 47.59 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.008189, allocations: 3.938 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.239e-05/0.008212, allocations: 23.67 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.008396, allocations: 31.86 kB / 386.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000252/0.008648, allocations: 194.3 kB / 387 MB, free: 9.797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.025e-05/0.008678, allocations: 59.34 kB / 387.1 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.763e-05/0.008716, allocations: 20.28 kB / 387.1 MB, free: 9.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.122e-05/0.008807, allocations: 94.19 kB / 387.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.008808, allocations: 0 / 387.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of Templates: time 0.003268/0.01208, allocations: 2.175 MB / 389.4 MB, free: 7.449 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.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.975360060110688]