Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001953/0.001953, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002069/0.002069, allocations: 160.8 kB / 24.27 MB, free: 156 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.635/1.635, allocations: 177 MB / 204.5 MB, free: 5.605 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.35/0.35, allocations: 34.26 MB / 295.2 MB, free: 0.6406 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.351e-05, allocations: 2.312 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003288/0.003321, allocations: 1.663 MB / 378.9 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.00458, allocations: 0.5447 MB / 379.4 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.004649, allocations: 0 / 379.4 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007207/0.00537, allocations: 447.1 kB / 379.9 MB, free: 240 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005684/0.005938, allocations: 299.2 kB / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.006304, allocations: 131.5 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.006561, allocations: 171.6 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.869e-05/0.006659, allocations: 12 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.006835, allocations: 119.8 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000356/0.007191, allocations: 239.6 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.007218, allocations: 3.938 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.00732, allocations: 31.98 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.007451, allocations: 87.7 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.194e-05/0.007502, allocations: 35.75 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.007872, allocations: 239.1 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.007876, allocations: 4 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.007877, allocations: 0 / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.007883, allocations: 0 / 381.2 MB, free: 14.89 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.001073/0.008956, allocations: 0.7123 MB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.008998, allocations: 12.02 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.873e-05/0.009086, allocations: 44.66 kB / 382 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.009424, allocations: 244.9 kB / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.009442, allocations: 8.375 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.009463, allocations: 8.375 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.009629, allocations: 50.23 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.009641, allocations: 192 / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.009654, allocations: 4.375 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.009659, allocations: 384 / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.771e-05/0.009757, allocations: 27.86 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006779/0.01043, allocations: 451.7 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.0107, allocations: 47.05 kB / 382.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.01075, allocations: 19.77 kB / 382.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.01077, allocations: 11.94 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.01082, allocations: 45.31 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.01082, allocations: 0 / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000671/0.01149, allocations: 224.7 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.01154, allocations: 55.41 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000897/0.01244, allocations: 0.6667 MB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.01246, allocations: 25.7 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.01276, allocations: 302.8 kB / 384.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.01279, allocations: 23.83 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.01284, allocations: 27.38 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004024/0.01324, allocations: 0.5665 MB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.784e-05/0.01331, allocations: 16 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.295e-05/0.01338, allocations: 15.98 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.0135, allocations: 39.67 kB / 384.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.0135, allocations: 0 / 384.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002183/0.01372, allocations: 117.3 kB / 384.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.01374, allocations: 8 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.01374, allocations: 7.984 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.01376, allocations: 0 / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.589e-05/0.01382, allocations: 11.94 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.01383, allocations: 0 / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.01388, allocations: 4 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.01389, allocations: 0 / 385 MB, free: 10.91 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 (5): * Single equations (assignments): 5 * 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.0001498/0.01404, allocations: 164.6 kB / 385.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-05/0.01411, allocations: 47.66 kB / 385.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003006/0.01441, allocations: 121.4 kB / 385.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.01441, allocations: 4 kB / 385.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.01442, allocations: 0 / 385.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01442, allocations: 0 / 385.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007408/0.01516, allocations: 0.513 MB / 385.8 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01516, allocations: 0 / 385.8 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.334e-05/0.01521, allocations: 8 kB / 385.8 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.01522, allocations: 3.938 kB / 385.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.01523, allocations: 4 kB / 385.8 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.01523, allocations: 4 kB / 385.8 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.01524, allocations: 3.984 kB / 385.8 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.01555, allocations: 259.6 kB / 386.1 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.01561, allocations: 35.72 kB / 386.1 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.01564, allocations: 3.984 kB / 386.1 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.01571, allocations: 4 kB / 386.1 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.01575, allocations: 0 / 386.1 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.01575, allocations: 0 / 386.1 MB, free: 9.664 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005219/0.01628, allocations: 442.8 kB / 386.6 MB, free: 9.234 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.01628, allocations: 0 / 386.6 MB, free: 9.234 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002586/0.01653, allocations: 24 kB / 386.6 MB, free: 9.211 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 (5): * Single equations (assignments): 5 * 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.002982/0.01952, allocations: 436.3 kB / 387 MB, free: 8.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003437/0.01986, allocations: 47.66 kB / 387.1 MB, free: 8.879 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01986, allocations: 0 / 387.1 MB, free: 8.879 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.977e-05/0.01994, allocations: 31.67 kB / 387.1 MB, free: 8.844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.02032, allocations: 33.83 kB / 387.1 MB, free: 8.809 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.02136, allocations: 0.5822 MB / 387.7 MB, free: 8.195 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.02161, allocations: 216 kB / 387.9 MB, free: 7.965 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.451e-05/0.02166, allocations: 4 kB / 387.9 MB, free: 7.961 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/0.0217, allocations: 20.48 kB / 387.9 MB, free: 7.941 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0217, allocations: 0 / 387.9 MB, free: 7.941 MB / 362.7 MB Notification: Performance of Templates: time 0.005603/0.02731, allocations: 1.325 MB / 389.3 MB, free: 6.629 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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: 5.064465787960216]