Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001792/0.001792, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002224/0.002224, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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.526/1.526, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3522/0.3522, allocations: 34.24 MB / 295.2 MB, free: 0.6523 MB / 266.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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.903e-05/4.096e-05, allocations: 3.297 kB / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003627/0.003668, allocations: 1.683 MB / 378.9 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.004913, allocations: 0.5408 MB / 379.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.058e-05/0.004974, allocations: 4 kB / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006899/0.005664, allocations: 451.1 kB / 379.9 MB, free: 192 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005868/0.00625, allocations: 291.2 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.006644, allocations: 139.5 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.006943, allocations: 179.6 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.007057, allocations: 16.22 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.007273, allocations: 119.8 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.007605, allocations: 255.5 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.007628, allocations: 4 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.007756, allocations: 47.92 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.007886, allocations: 87.66 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.479e-05/0.007951, allocations: 47.72 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.008332, allocations: 247.1 kB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.008338, allocations: 4 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.008339, allocations: 3.938 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.008347, allocations: 0 / 381.3 MB, free: 14.77 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008817/0.009228, allocations: 0.5853 MB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.009266, allocations: 8.031 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.009383, allocations: 56.66 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.00971, allocations: 246 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.00972, allocations: 384 / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.00975, allocations: 8.375 kB / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.009957, allocations: 70.11 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.009972, allocations: 4.188 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.009985, allocations: 4.359 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.00999, allocations: 384 / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.01017, allocations: 39.91 kB / 382.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.01072, allocations: 340.3 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.01098, allocations: 58.55 kB / 382.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.518e-05/0.01106, allocations: 24.97 kB / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.01109, allocations: 0 / 382.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.01112, allocations: 34.5 kB / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.01112, allocations: 0 / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001711/0.01283, allocations: 484.3 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.01288, allocations: 51.41 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.0142, allocations: 0.8652 MB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.01422, allocations: 25.7 kB / 384.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.01443, allocations: 212.1 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/0.01449, allocations: 43.62 kB / 384.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.01455, allocations: 25.7 kB / 384.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002469/0.0148, allocations: 362.7 kB / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.01496, allocations: 39.97 kB / 384.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.01509, allocations: 51.95 kB / 384.9 MB, free: 11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.01538, allocations: 96.81 kB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.01538, allocations: 0 / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003879/0.01577, allocations: 178.1 kB / 385.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.01579, allocations: 15.98 kB / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.0158, allocations: 0 / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.01582, allocations: 0 / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.01594, allocations: 23.98 kB / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.01595, allocations: 3.984 kB / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.853e-05/0.01604, allocations: 19.98 kB / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.01605, allocations: 0 / 385.2 MB, free: 10.66 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 (11): * Single equations (assignments): 11 * 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 0.000245/0.01629, allocations: 221.7 kB / 385.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-05/0.01638, allocations: 55.66 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.01685, allocations: 205.5 kB / 385.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.01685, allocations: 0 / 385.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01686, allocations: 4 kB / 385.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.01686, allocations: 0 / 385.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008626/0.01772, allocations: 0.4996 MB / 386.2 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.01772, allocations: 0 / 386.2 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.01783, allocations: 23.98 kB / 386.2 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.01784, allocations: 4 kB / 386.2 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.01786, allocations: 3.984 kB / 386.2 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.01787, allocations: 7.938 kB / 386.3 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01787, allocations: 0 / 386.3 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00051/0.01838, allocations: 300.8 kB / 386.6 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.01843, allocations: 35.72 kB / 386.6 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.01846, allocations: 0 / 386.6 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.01857, allocations: 15.98 kB / 386.6 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.01863, allocations: 11.92 kB / 386.6 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.01864, allocations: 7.938 kB / 386.6 MB, free: 9.191 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00077/0.01941, allocations: 0.6511 MB / 387.3 MB, free: 8.543 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01941, allocations: 0 / 387.3 MB, free: 8.543 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002874/0.0197, allocations: 35.92 kB / 387.3 MB, free: 8.508 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002215/0.02191, allocations: 478.8 kB / 387.8 MB, free: 8.211 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003616/0.02227, allocations: 107.8 kB / 387.9 MB, free: 8.105 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02227, allocations: 0 / 387.9 MB, free: 8.105 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.02244, allocations: 59.89 kB / 387.9 MB, free: 8.047 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.02291, allocations: 29.95 kB / 388 MB, free: 8.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.02438, allocations: 0.8714 MB / 388.8 MB, free: 7.109 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.02468, allocations: 240.5 kB / 389.1 MB, free: 6.859 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.534e-05/0.02475, allocations: 20.48 kB / 389.1 MB, free: 6.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.0248, allocations: 16.5 kB / 389.1 MB, free: 6.824 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.0248, allocations: 0 / 389.1 MB, free: 6.824 MB / 362.7 MB Notification: Performance of Templates: time 0.006177/0.03097, allocations: 1.739 MB / 390.8 MB, free: 5.094 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.921453432994895]