Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.0009617/0.0009617, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.0009356/0.0009356, allocations: 161.9 kB / 24.99 MB, free: 8.246 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.9376/0.9376, allocations: 177 MB / 205.2 MB, free: 5.586 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.2705/0.2705, allocations: 34.86 MB / 296.6 MB, free: 0.5469 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 378.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.408e-05, allocations: 3.578 kB / 378.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002664/0.002688, allocations: 1.697 MB / 380.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009413/0.00363, allocations: 0.5719 MB / 381 MB, free: 96 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.93e-05/0.003699, allocations: 0 / 381 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005856/0.004285, allocations: 455 kB / 381.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004618/0.004746, allocations: 303.1 kB / 381.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.005182, allocations: 171.6 kB / 381.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000298/0.00548, allocations: 187.5 kB / 382.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.005597, allocations: 11.98 kB / 382.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.005766, allocations: 119.8 kB / 382.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.006031, allocations: 243.6 kB / 382.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.006052, allocations: 0 / 382.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.552e-05/0.006147, allocations: 47.84 kB / 382.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.006253, allocations: 91.64 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.324e-05/0.006306, allocations: 35.75 kB / 382.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.006581, allocations: 195.2 kB / 382.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.006584, allocations: 0 / 382.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.006585, allocations: 0 / 382.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.006592, allocations: 3.984 kB / 382.9 MB, free: 14.27 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.0007097/0.007302, allocations: 0.7009 MB / 383.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.007341, allocations: 8.031 kB / 383.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.792e-05/0.007419, allocations: 52.59 kB / 383.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.007669, allocations: 252.8 kB / 383.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.007682, allocations: 8.375 kB / 383.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.007707, allocations: 4.375 kB / 383.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.007852, allocations: 58.94 kB / 383.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.007862, allocations: 4.188 kB / 383.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.007872, allocations: 384 / 383.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.007881, allocations: 384 / 383.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.496e-05/0.007925, allocations: 15.92 kB / 384 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.008441, allocations: 443.5 kB / 384.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.897e-05/0.00853, allocations: 35.05 kB / 384.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.149e-05/0.008562, allocations: 19.69 kB / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.008584, allocations: 4 kB / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.008612, allocations: 37.33 kB / 384.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.008613, allocations: 0 / 384.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005651/0.009178, allocations: 212.8 kB / 384.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.009215, allocations: 59.34 kB / 384.8 MB, free: 12.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005629/0.009778, allocations: 0.6277 MB / 385.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.009794, allocations: 25.7 kB / 385.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.009982, allocations: 290.8 kB / 385.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.01001, allocations: 23.8 kB / 385.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.01005, allocations: 35.36 kB / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.01026, allocations: 0.547 MB / 386.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.357e-05/0.01029, allocations: 11.98 kB / 386.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.616e-05/0.01032, allocations: 8 kB / 386.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.153e-05/0.01039, allocations: 35.75 kB / 386.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.01039, allocations: 0 / 386.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000154/0.01054, allocations: 105.3 kB / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.01056, allocations: 7.984 kB / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.01057, allocations: 7.938 kB / 386.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.01058, allocations: 0 / 386.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.01068, allocations: 16 kB / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.01069, allocations: 3.984 kB / 386.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.01074, allocations: 8 kB / 386.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.01075, allocations: 4 kB / 386.5 MB, free: 10.41 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 9.997e-05/0.01085, allocations: 152.6 kB / 386.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.01091, allocations: 55.61 kB / 386.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.01111, allocations: 109.8 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01111, allocations: 0 / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01112, allocations: 0 / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01112, allocations: 4 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004628/0.01158, allocations: 489.3 kB / 387.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01158, allocations: 0 / 387.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.246e-05/0.01165, allocations: 23.92 kB / 387.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01165, allocations: 288 / 387.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.01166, allocations: 0 / 387.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01166, allocations: 0 / 387.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.01166, allocations: 4 kB / 387.3 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.01185, allocations: 263.6 kB / 387.6 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.01188, allocations: 35.72 kB / 387.6 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.0119, allocations: 0 / 387.6 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.01197, allocations: 8 kB / 387.6 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.01201, allocations: 3.984 kB / 387.6 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.01202, allocations: 8 kB / 387.6 MB, free: 9.195 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003369/0.01236, allocations: 426.8 kB / 388 MB, free: 8.781 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01236, allocations: 0 / 388 MB, free: 8.781 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000257/0.01261, allocations: 31.94 kB / 388.1 MB, free: 8.75 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.0008335/0.01345, allocations: 381.9 kB / 388.4 MB, free: 8.484 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.01356, allocations: 39.67 kB / 388.5 MB, free: 8.441 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01356, allocations: 0 / 388.5 MB, free: 8.441 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.206e-05/0.01359, allocations: 35.61 kB / 388.5 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.01384, allocations: 34.19 kB / 388.6 MB, free: 8.371 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006505/0.01449, allocations: 0.5927 MB / 389.1 MB, free: 7.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.464e-05/0.01456, allocations: 127.2 kB / 389.3 MB, free: 7.605 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.75e-05/0.01461, allocations: 17.02 kB / 389.3 MB, free: 7.586 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.01464, allocations: 16.5 kB / 389.3 MB, free: 7.57 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01464, allocations: 0 / 389.3 MB, free: 7.57 MB / 362.7 MB Notification: Performance of Templates: time 0.003961/0.0186, allocations: 1.539 MB / 390.8 MB, free: 6.039 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.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.9737611450254917]