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.001041/0.001041, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001703/0.002744, 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.001003/0.001003, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.002465, 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.9909/0.9909, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.105/1.096, allocations: 53.86 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.2817/0.2817, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.027/0.3087, allocations: 13.23 MB / 292.8 MB, free: 6.395 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.292e-06/1.292e-06, allocations: 0 / 294.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.318e-06/1.061e-05, allocations: 4 kB / 294.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.002281/0.002291, allocations: 1.747 MB / 295.9 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003804/0.006095, allocations: 0.56 MB / 296.4 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.00614, allocations: 0 / 296.4 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004708/0.006611, allocations: 499 kB / 296.9 MB, free: 2.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003372/0.006948, allocations: 315 kB / 297.2 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.0072, allocations: 127.6 kB / 297.3 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.007381, allocations: 163.6 kB / 297.5 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.285e-05/0.007454, allocations: 19.97 kB / 297.5 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.00763, allocations: 159.7 kB / 297.7 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.007804, allocations: 187.7 kB / 297.9 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.007821, allocations: 7.938 kB / 297.9 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.636e-05/0.007897, allocations: 35.88 kB / 297.9 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.156e-05/0.007979, allocations: 79.72 kB / 298 MB, free: 1.195 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.008013, allocations: 35.75 kB / 298 MB, free: 1.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.00823, allocations: 187.2 kB / 298.2 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.00824, allocations: 0 / 298.2 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.00824, allocations: 0 / 298.2 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.00825, allocations: 4 kB / 298.2 MB, free: 0.9727 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.003593/0.01184, allocations: 0.6005 MB / 298.8 MB, free: 352 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.01188, allocations: 15.38 kB / 298.8 MB, free: 340 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.01192, allocations: 20.92 kB / 298.8 MB, free: 320 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.01213, allocations: 242 kB / 299.1 MB, free: 52 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.01214, allocations: 4.375 kB / 299.1 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.01216, allocations: 4.375 kB / 299.1 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.01228, allocations: 62.92 kB / 299.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.01229, allocations: 192 / 299.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.01229, allocations: 384 / 299.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.0123, allocations: 4.375 kB / 299.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.477e-05/0.01232, allocations: 11.92 kB / 299.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000233/0.01256, allocations: 168.2 kB / 299.3 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.01269, allocations: 34.62 kB / 299.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.416e-05/0.01271, allocations: 4.859 kB / 299.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.01272, allocations: 4 kB / 299.4 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.01275, allocations: 34.56 kB / 299.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.01275, allocations: 0 / 299.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002866/0.01304, allocations: 97.56 kB / 299.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.01307, allocations: 59.39 kB / 299.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003969/0.01346, allocations: 0.5282 MB / 300.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.01347, allocations: 33.64 kB / 300.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.525e-05/0.01354, allocations: 141.3 kB / 300.3 MB, free: 14.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.01356, allocations: 15.84 kB / 300.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.01359, allocations: 17.72 kB / 300.3 MB, free: 14.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.819e-05/0.01369, allocations: 362.7 kB / 300.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.868e-06/0.0137, allocations: 0 / 300.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.01371, allocations: 4 kB / 300.6 MB, free: 14.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.39e-05/0.01374, allocations: 20.84 kB / 300.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.01374, allocations: 0 / 300.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.651e-05/0.01382, allocations: 61.67 kB / 300.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.01383, allocations: 10.75 kB / 300.7 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.01384, allocations: 7.984 kB / 300.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.01385, allocations: 4 kB / 300.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.742e-05/0.01389, allocations: 11.94 kB / 300.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.0139, allocations: 0 / 300.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.375e-05/0.01393, allocations: 8.234 kB / 300.8 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.01394, allocations: 4 kB / 300.8 MB, free: 14.24 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.781e-05/0.014, allocations: 112.6 kB / 300.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.01404, allocations: 31.91 kB / 300.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.01415, allocations: 85.22 kB / 301 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.01416, allocations: 4 kB / 301 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01416, allocations: 4 kB / 301 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.01416, allocations: 0 / 301 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003261/0.01742, allocations: 266.6 kB / 301.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01742, allocations: 0 / 301.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.01747, allocations: 19.92 kB / 301.3 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.0175, allocations: 35.72 kB / 301.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.0175, allocations: 0 / 301.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.0175, allocations: 4 kB / 301.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01751, allocations: 0 / 301.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01751, allocations: 4 kB / 301.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.01761, allocations: 171.4 kB / 301.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.01762, allocations: 0 / 301.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.015e-05/0.01768, allocations: 7.984 kB / 301.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.0177, allocations: 0 / 301.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.01771, allocations: 0 / 301.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002312/0.01794, allocations: 283.2 kB / 301.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01794, allocations: 0 / 301.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001968/0.01813, allocations: 23.98 kB / 301.8 MB, free: 13.15 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.001348/0.01948, allocations: 0.5425 MB / 302.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.925e-05/0.01955, allocations: 24.8 kB / 302.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.01956, allocations: 4 kB / 302.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.118e-05/0.01959, allocations: 24.78 kB / 302.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.01984, allocations: 89.36 kB / 302.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008027/0.02065, allocations: 0.5859 MB / 303.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.393e-05/0.02074, allocations: 119.3 kB / 303.2 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.574e-05/0.02078, allocations: 11.98 kB / 303.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.02083, allocations: 55.38 kB / 303.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02083, allocations: 0 / 303.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of Templates: time 0.003505/0.02434, allocations: 1.466 MB / 304.7 MB, free: 10.47 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9430468045175076]