Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.001132/0.001132, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00161/0.002742, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001013/0.001013, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001241/0.002254, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9994/0.9994, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09391/1.093, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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.2376/0.2376, allocations: 34.86 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02906/0.2667, allocations: 13.22 MB / 292.6 MB, free: 6.469 MB / 282.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 293.9 MB, free: 5.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.448e-05, allocations: 4.281 kB / 293.9 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002637/0.002652, allocations: 1.724 MB / 295.6 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009754/0.003627, allocations: 0.56 MB / 296.2 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/0.003686, allocations: 4 kB / 296.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005562/0.004242, allocations: 495 kB / 296.7 MB, free: 2.375 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000409/0.004651, allocations: 307.1 kB / 297 MB, free: 2.074 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.004891, allocations: 135.6 kB / 297.1 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.005054, allocations: 167.6 kB / 297.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.998e-05/0.005134, allocations: 7.984 kB / 297.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.005289, allocations: 155.7 kB / 297.4 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.005438, allocations: 191.7 kB / 297.6 MB, free: 1.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.005452, allocations: 4 kB / 297.6 MB, free: 1.426 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.963e-05/0.005522, allocations: 39.86 kB / 297.7 MB, free: 1.387 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.138e-05/0.005603, allocations: 79.72 kB / 297.7 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.005635, allocations: 35.75 kB / 297.8 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.005839, allocations: 191.2 kB / 298 MB, free: 1.086 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.928e-05/0.005858, allocations: 8 kB / 298 MB, free: 1.078 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005859, allocations: 0 / 298 MB, free: 1.078 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.005879, allocations: 0 / 298 MB, free: 1.078 MB / 282.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.0005106/0.00639, allocations: 0.6004 MB / 298.6 MB, free: 460 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.006417, allocations: 8.922 kB / 298.6 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.006453, allocations: 24.91 kB / 298.6 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.006617, allocations: 238.1 kB / 298.8 MB, free: 164 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.006627, allocations: 8.375 kB / 298.8 MB, free: 156 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.006644, allocations: 384 / 298.8 MB, free: 156 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.451e-05/0.006728, allocations: 50.95 kB / 298.9 MB, free: 96 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.006739, allocations: 4.172 kB / 298.9 MB, free: 92 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.006746, allocations: 12.38 kB / 298.9 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.00675, allocations: 384 / 298.9 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.588e-05/0.006776, allocations: 15.86 kB / 298.9 MB, free: 64 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/0.006972, allocations: 168.2 kB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.007102, allocations: 30.56 kB / 299.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.161e-05/0.007113, allocations: 4.859 kB / 299.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.007128, allocations: 4 kB / 299.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.007149, allocations: 38.59 kB / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.00715, allocations: 0 / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002615/0.007412, allocations: 105.5 kB / 299.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.007441, allocations: 55.34 kB / 299.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.007757, allocations: 0.5244 MB / 299.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.007768, allocations: 29.7 kB / 299.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.007829, allocations: 145.3 kB / 300 MB, free: 14.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.007848, allocations: 11.86 kB / 300 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.007875, allocations: 21.7 kB / 300 MB, free: 14.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.328e-05/0.007968, allocations: 358.7 kB / 300.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-06/0.007978, allocations: 4 kB / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.735e-06/0.007986, allocations: 0 / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.632e-05/0.008012, allocations: 20.84 kB / 300.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.008013, allocations: 4 kB / 300.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.83e-05/0.008071, allocations: 65.59 kB / 300.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.008083, allocations: 7.938 kB / 300.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.008086, allocations: 0 / 300.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.662e-06/0.008093, allocations: 4 kB / 300.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.212e-05/0.008135, allocations: 15.98 kB / 300.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.008138, allocations: 0 / 300.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.00816, allocations: 4 kB / 300.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.008164, allocations: 3.984 kB / 300.5 MB, free: 14.35 MB / 298.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 6.152e-05/0.008226, allocations: 112.7 kB / 300.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.00825, allocations: 27.91 kB / 300.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.157e-05/0.008342, allocations: 89.17 kB / 300.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.008344, allocations: 4 kB / 300.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.008346, allocations: 0 / 300.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.008348, allocations: 320 / 300.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.008555, allocations: 278.6 kB / 301 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.008556, allocations: 0 / 301 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.891e-05/0.008584, allocations: 11.94 kB / 301 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.008607, allocations: 35.7 kB / 301.1 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.00861, allocations: 11.94 kB / 301.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-06/0.008613, allocations: 0 / 301.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.008614, allocations: 0 / 301.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.008615, allocations: 3.938 kB / 301.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.888e-05/0.008694, allocations: 163.5 kB / 301.2 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.008707, allocations: 0 / 301.2 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.563e-05/0.008743, allocations: 4 kB / 301.2 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.008763, allocations: 3.984 kB / 301.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.008765, allocations: 0 / 301.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001613/0.008927, allocations: 283.2 kB / 301.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008927, allocations: 0 / 301.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001282/0.009055, allocations: 24 kB / 301.6 MB, free: 13.26 MB / 298.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.001233/0.01029, allocations: 0.5298 MB / 302.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.574e-05/0.01035, allocations: 28.78 kB / 302.1 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.976e-06/0.01036, allocations: 8 kB / 302.1 MB, free: 12.99 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.511e-05/0.01038, allocations: 12.86 kB / 302.1 MB, free: 12.97 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.01057, allocations: 36.61 kB / 302.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006675/0.01124, allocations: 0.5859 MB / 302.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.144e-05/0.01131, allocations: 119.3 kB / 302.9 MB, free: 12.19 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.849e-05/0.01134, allocations: 11.97 kB / 302.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.01138, allocations: 55.38 kB / 302.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01138, allocations: 3.938 kB / 302.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of Templates: time 0.003902/0.01529, allocations: 1.484 MB / 304.4 MB, free: 10.64 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.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.875759585760534]