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.0007669/0.0007669, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001028/0.001795, allocations: 457.8 kB / 10.45 MB, free: 244 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.0006626/0.0006626, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008809/0.001544, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.996/0.996, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1019/1.098, allocations: 53.87 MB / 243.9 MB, free: 14.87 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.2863/0.2863, allocations: 34.88 MB / 279.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03031/0.3166, allocations: 13.23 MB / 292.8 MB, free: 6.414 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.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.363e-06/1.363e-06, allocations: 0 / 294.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.207e-05, allocations: 2.969 kB / 294.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002635/0.002658, allocations: 1.778 MB / 295.9 MB, free: 3.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004951/0.007608, allocations: 0.5678 MB / 296.5 MB, free: 2.719 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.685e-05/0.007675, allocations: 4 kB / 296.5 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000491/0.008166, allocations: 491 kB / 297 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.008577, allocations: 319 kB / 297.3 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.008893, allocations: 135.5 kB / 297.4 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.009115, allocations: 175.6 kB / 297.6 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.047e-05/0.009196, allocations: 12.22 kB / 297.6 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.009389, allocations: 163.7 kB / 297.7 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.009588, allocations: 195.7 kB / 297.9 MB, free: 1.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.009608, allocations: 4 kB / 297.9 MB, free: 1.246 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.00972, allocations: 55.84 kB / 298 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.319e-05/0.009813, allocations: 83.66 kB / 298.1 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.009851, allocations: 39.75 kB / 298.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.01011, allocations: 207.1 kB / 298.3 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.17e-05/0.01012, allocations: 0 / 298.3 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.01012, allocations: 0 / 298.3 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.01013, allocations: 0 / 298.3 MB, free: 0.8672 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.003614/0.01375, allocations: 0.616 MB / 298.9 MB, free: 228 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.01378, allocations: 8.922 kB / 298.9 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.01383, allocations: 24.91 kB / 299 MB, free: 196 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.01405, allocations: 237.2 kB / 299.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.01406, allocations: 12.31 kB / 299.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.01408, allocations: 384 / 299.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.01419, allocations: 62.94 kB / 299.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.0142, allocations: 12.12 kB / 299.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.01421, allocations: 384 / 299.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.01422, allocations: 2.812 kB / 299.3 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.412e-05/0.01425, allocations: 14.7 kB / 299.3 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/0.01449, allocations: 180.1 kB / 299.5 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.01463, allocations: 38.55 kB / 299.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.01465, allocations: 8.859 kB / 299.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.01467, allocations: 4.125 kB / 299.5 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.01469, allocations: 38.59 kB / 299.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.01469, allocations: 0 / 299.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006064/0.0153, allocations: 225.3 kB / 299.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.01533, allocations: 59.41 kB / 299.8 MB, free: 15.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004208/0.01575, allocations: 0.5282 MB / 300.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.01577, allocations: 29.7 kB / 300.4 MB, free: 14.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.689e-05/0.01584, allocations: 141.3 kB / 300.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.01588, allocations: 43.62 kB / 300.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.01592, allocations: 21.72 kB / 300.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.01604, allocations: 362.6 kB / 301 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/0.01606, allocations: 8 kB / 301 MB, free: 14.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.165e-05/0.01608, allocations: 12.55 kB / 301 MB, free: 14.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.694e-05/0.01614, allocations: 49.14 kB / 301 MB, free: 14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01614, allocations: 0 / 301 MB, free: 14 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.003134/0.01927, allocations: 85.58 kB / 301.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.01929, allocations: 6.812 kB / 301.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01929, allocations: 0 / 301.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.01931, allocations: 4 kB / 301.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.584e-05/0.0194, allocations: 31.92 kB / 301.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.0194, allocations: 0 / 301.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.483e-05/0.01945, allocations: 11.94 kB / 301.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.01946, allocations: 7.984 kB / 301.2 MB, free: 13.86 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 (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 8.237e-05/0.01954, allocations: 116.7 kB / 301.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.01958, allocations: 23.97 kB / 301.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.01976, allocations: 109.5 kB / 301.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01976, allocations: 0 / 301.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.01976, allocations: 4 kB / 301.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01977, allocations: 0 / 301.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.02016, allocations: 332.2 kB / 301.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.02016, allocations: 0 / 301.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.239e-05/0.02025, allocations: 35.98 kB / 301.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.02028, allocations: 39.66 kB / 301.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.02029, allocations: 4 kB / 301.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.02029, allocations: 3.938 kB / 301.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.0203, allocations: 0 / 301.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.0203, allocations: 7.938 kB / 301.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.02045, allocations: 197.2 kB / 302 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.02047, allocations: 0 / 302 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-05/0.02054, allocations: 11.94 kB / 302 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.02058, allocations: 11.92 kB / 302 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.02059, allocations: 8 kB / 302.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002403/0.02083, allocations: 283.2 kB / 302.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02083, allocations: 0 / 302.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00023/0.02106, allocations: 28 kB / 302.4 MB, free: 12.59 MB / 298.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.004738/0.02579, allocations: 0.6143 MB / 303 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.02593, allocations: 52.72 kB / 303 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/0.02594, allocations: 4 kB / 303 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.307e-05/0.026, allocations: 40.75 kB / 303.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.02631, allocations: 101.4 kB / 303.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000997/0.02731, allocations: 0.6272 MB / 303.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.933e-05/0.02741, allocations: 127.2 kB / 303.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.547e-05/0.02747, allocations: 12.48 kB / 303.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.286e-05/0.02754, allocations: 67.36 kB / 304 MB, free: 11.2 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02754, allocations: 0 / 304 MB, free: 11.2 MB / 298.7 MB Notification: Performance of Templates: time 0.005554/0.03309, allocations: 1.886 MB / 305.9 MB, free: 9.34 MB / 298.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9269720567390323]