Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.000721/0.000721, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001019/0.00174, 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.0006774/0.0006774, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008954/0.001573, 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 1.117/1.117, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09391/1.211, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.2973/0.2973, allocations: 34.89 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02971/0.327, allocations: 13.23 MB / 292.8 MB, free: 6.387 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.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 294.2 MB, free: 5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.216e-05, allocations: 5.906 kB / 294.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002699/0.002721, allocations: 1.807 MB / 296 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.004202, allocations: 1.033 MB / 297 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.659e-05/0.004279, allocations: 0 / 297 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.00449, allocations: 51.64 kB / 297.1 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002648/0.004755, allocations: 107.5 kB / 297.2 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.004988, allocations: 79.56 kB / 297.3 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.00517, allocations: 107.6 kB / 297.4 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.902e-05/0.005249, allocations: 4 kB / 297.4 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.005408, allocations: 83.81 kB / 297.5 MB, free: 1.707 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.132e-05/0.0055, allocations: 27.84 kB / 297.5 MB, free: 1.68 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.005517, allocations: 8 kB / 297.5 MB, free: 1.672 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.00563, allocations: 43.92 kB / 297.5 MB, free: 1.629 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.782e-05/0.005688, allocations: 23.86 kB / 297.6 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.00573, allocations: 19.94 kB / 297.6 MB, free: 1.586 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.005944, allocations: 115.5 kB / 297.7 MB, free: 1.473 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/0.005955, allocations: 4 kB / 297.7 MB, free: 1.469 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.005955, allocations: 0 / 297.7 MB, free: 1.469 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.005965, allocations: 0 / 297.7 MB, free: 1.469 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000505/0.00647, allocations: 364.8 kB / 298.1 MB, free: 1.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.006509, allocations: 15.44 kB / 298.1 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.006551, allocations: 8.922 kB / 298.1 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.006747, allocations: 162.4 kB / 298.2 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.006765, allocations: 4.375 kB / 298.2 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.006787, allocations: 8.375 kB / 298.2 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.006905, allocations: 61.77 kB / 298.3 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.006914, allocations: 4.125 kB / 298.3 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.006923, allocations: 384 / 298.3 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.00693, allocations: 7.938 kB / 298.3 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.643e-05/0.006957, allocations: 7.984 kB / 298.3 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.007194, allocations: 169.9 kB / 298.5 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.007296, allocations: 81.3 kB / 298.6 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.57e-05/0.007322, allocations: 24.91 kB / 298.6 MB, free: 492 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.007332, allocations: 0 / 298.6 MB, free: 492 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.007433, allocations: 62.16 kB / 298.7 MB, free: 416 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.007435, allocations: 0 / 298.7 MB, free: 416 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003258/0.00776, allocations: 121.4 kB / 298.8 MB, free: 288 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.007793, allocations: 63.39 kB / 298.8 MB, free: 212 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.007953, allocations: 208 kB / 299 MB, free: 15.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.007971, allocations: 29.7 kB / 299.1 MB, free: 15.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.853e-05/0.008009, allocations: 100.1 kB / 299.2 MB, free: 15.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.008039, allocations: 23.83 kB / 299.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.046e-05/0.00808, allocations: 21.72 kB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.585e-05/0.008176, allocations: 330.8 kB / 299.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.526e-05/0.008201, allocations: 14.81 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.965e-05/0.008231, allocations: 27.48 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.952e-05/0.00828, allocations: 40.45 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.008281, allocations: 0 / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.677e-05/0.008378, allocations: 76.48 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.008391, allocations: 11.94 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.008396, allocations: 0 / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.008407, allocations: 4.031 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.739e-05/0.008484, allocations: 23.92 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.008487, allocations: 0 / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.799e-05/0.008525, allocations: 8.375 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.008531, allocations: 0 / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.471e-05/0.008606, allocations: 124.6 kB / 299.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.008625, allocations: 15.92 kB / 299.9 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.008745, allocations: 79.06 kB / 300 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.00875, allocations: 8 kB / 300 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.008752, allocations: 0 / 300 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.008755, allocations: 4 kB / 300 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.009009, allocations: 291.4 kB / 300.2 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.009015, allocations: 7.922 kB / 300.3 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.009054, allocations: 12 kB / 300.3 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.009069, allocations: 11.91 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.009072, allocations: 3.938 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.00908, allocations: 8 kB / 300.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.009083, allocations: 0 / 300.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009084, allocations: 0 / 300.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.009207, allocations: 215 kB / 300.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.009224, allocations: 7.969 kB / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.274e-05/0.009287, allocations: 8 kB / 300.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.009312, allocations: 3.984 kB / 300.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.009325, allocations: 4 kB / 300.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.372e-05/0.009399, allocations: 75.61 kB / 300.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009399, allocations: 0 / 300.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002084/0.009607, allocations: 20 kB / 300.6 MB, free: 14.3 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001644/0.01125, allocations: 0.6258 MB / 301.2 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.01137, allocations: 52.7 kB / 301.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/0.01138, allocations: 4 kB / 301.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.49e-05/0.01142, allocations: 25.08 kB / 301.3 MB, free: 13.92 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.01171, allocations: 192.6 kB / 301.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005659/0.01227, allocations: 264.5 kB / 301.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.245e-05/0.01233, allocations: 75.19 kB / 301.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.452e-05/0.01237, allocations: 12.97 kB / 301.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.872e-05/0.01245, allocations: 63.38 kB / 301.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01245, allocations: 7.938 kB / 301.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of Templates: time 0.004527/0.01698, allocations: 2.077 MB / 304 MB, free: 11.19 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.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: 3.015344657935202]