Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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.001977/0.001977, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 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: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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.497/1.497, allocations: 177 MB / 204.1 MB, free: 9.137 MB / 190.1 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.2135/0.2135, allocations: 34.25 MB / 294.8 MB, free: 14.5 MB / 286.1 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 442.7 MB, free: 5.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.465e-05, allocations: 6.281 kB / 442.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003096/0.003121, allocations: 1.666 MB / 444.4 MB, free: 3.547 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.004279, allocations: 0.5641 MB / 444.9 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.716e-05/0.004347, allocations: 4 kB / 444.9 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.00465, allocations: 75.7 kB / 445 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.004994, allocations: 99.53 kB / 445.1 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.005462, allocations: 183.2 kB / 445.3 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.005644, allocations: 91.75 kB / 445.4 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.005754, allocations: 16.22 kB / 445.4 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.005856, allocations: 47.89 kB / 445.4 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.005983, allocations: 55.86 kB / 445.5 MB, free: 2.418 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.006005, allocations: 4 kB / 445.5 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.00612, allocations: 55.84 kB / 445.5 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.05e-05/0.006201, allocations: 31.86 kB / 445.6 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.093e-05/0.006252, allocations: 15.88 kB / 445.6 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.006492, allocations: 127.6 kB / 445.7 MB, free: 2.188 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.006495, allocations: 0 / 445.7 MB, free: 2.188 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.006496, allocations: 0 / 445.7 MB, free: 2.188 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.0065, allocations: 0 / 445.7 MB, free: 2.188 MB / 366.1 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.0005535/0.007054, allocations: 349.5 kB / 446.1 MB, free: 1.812 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.007094, allocations: 12.03 kB / 446.1 MB, free: 1.801 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.007137, allocations: 12.84 kB / 446.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.007339, allocations: 146.5 kB / 446.2 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.007349, allocations: 4.375 kB / 446.2 MB, free: 1.617 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.007376, allocations: 12.36 kB / 446.2 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.007573, allocations: 70.22 kB / 446.3 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.007586, allocations: 192 / 446.3 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.007595, allocations: 384 / 446.3 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.007599, allocations: 384 / 446.3 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.007759, allocations: 43.91 kB / 446.3 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.008252, allocations: 268.4 kB / 446.6 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.008497, allocations: 54.55 kB / 446.7 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.008597, allocations: 37 kB / 446.7 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.008621, allocations: 4 kB / 446.7 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.008655, allocations: 38.5 kB / 446.7 MB, free: 1.043 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.008656, allocations: 0 / 446.7 MB, free: 1.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001657/0.01031, allocations: 432.9 kB / 447.2 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.01036, allocations: 59.41 kB / 447.2 MB, free: 0.543 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.01059, allocations: 214.3 kB / 447.4 MB, free: 332 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.01062, allocations: 25.7 kB / 447.5 MB, free: 300 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.671e-05/0.0107, allocations: 112.1 kB / 447.6 MB, free: 184 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.01074, allocations: 35.64 kB / 447.6 MB, free: 148 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.636e-05/0.0108, allocations: 29.7 kB / 447.6 MB, free: 112 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1873/0.1981, allocations: 326.6 kB / 447.9 MB, free: 18.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.1983, allocations: 48.09 kB / 448 MB, free: 18.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.1984, allocations: 57.42 kB / 448 MB, free: 18.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.1987, allocations: 124 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1987, allocations: 3.781 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004238/0.1992, allocations: 170.1 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.1992, allocations: 7.141 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1992, allocations: 0 / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/0.1992, allocations: 1.031 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.1994, allocations: 28.66 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.1994, allocations: 5 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.225e-05/0.1995, allocations: 12.56 kB / 448.4 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.1995, allocations: 3.062 kB / 448.4 MB, free: 18.86 MB / 366.1 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 0.0001898/0.1997, allocations: 137.8 kB / 448.5 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.706e-05/0.1997, allocations: 14.3 kB / 448.5 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005969/0.2003, allocations: 190.3 kB / 448.7 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2003, allocations: 5.344 kB / 448.7 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2003, allocations: 3.938 kB / 448.7 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2003, allocations: 0.75 kB / 448.7 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008054/0.2011, allocations: 443.5 kB / 449.2 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2011, allocations: 1.219 kB / 449.2 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.2013, allocations: 30.02 kB / 449.2 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.2013, allocations: 5.953 kB / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.2013, allocations: 6.031 kB / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.2013, allocations: 1.719 kB / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2013, allocations: 1.156 kB / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004983/0.2018, allocations: 270.5 kB / 449.5 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.2018, allocations: 20.92 kB / 449.5 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.2019, allocations: 1.844 kB / 449.5 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.202, allocations: 12.98 kB / 449.5 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.979e-05/0.202, allocations: 13.58 kB / 449.5 MB, free: 18.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.202, allocations: 3.406 kB / 449.5 MB, free: 18.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.2022, allocations: 160.8 kB / 449.7 MB, free: 18.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2022, allocations: 0 / 449.7 MB, free: 18.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002987/0.2025, allocations: 31 kB / 449.7 MB, free: 18.12 MB / 366.1 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.001845/0.2044, allocations: 496.8 kB / 450.2 MB, free: 17.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000367/0.2047, allocations: 123.4 kB / 450.3 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2047, allocations: 1.031 kB / 450.3 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.2049, allocations: 68.05 kB / 450.4 MB, free: 17.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.2053, allocations: 23.61 kB / 450.4 MB, free: 17.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006663/0.206, allocations: 329 kB / 450.7 MB, free: 17.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.2061, allocations: 111.8 kB / 450.8 MB, free: 17.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.262e-05/0.2062, allocations: 27.67 kB / 450.9 MB, free: 17.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.2062, allocations: 20.8 kB / 450.9 MB, free: 17.59 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2062, allocations: 0 / 450.9 MB, free: 17.59 MB / 366.1 MB Notification: Performance of Templates: time 0.005647/0.2119, allocations: 1.641 MB / 452.5 MB, free: 17.39 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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: 4.870914578437805]