Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.001164/0.001164, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001659/0.002823, 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.001129/0.001129, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001436/0.002565, 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.09/1.09, allocations: 177.5 MB / 190 MB, free: 4.781 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09458/1.184, allocations: 53.88 MB / 243.9 MB, free: 14.84 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.2885/0.2885, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03091/0.3194, allocations: 13.24 MB / 292.8 MB, free: 6.383 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0 / 294.2 MB, free: 5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.89e-05, allocations: 4.484 kB / 294.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002141/0.00216, allocations: 1.812 MB / 296 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.003559, allocations: 1.02 MB / 297 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.318e-05/0.003633, allocations: 3.938 kB / 297 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.003838, allocations: 47.69 kB / 297.1 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.004062, allocations: 99.42 kB / 297.2 MB, free: 1.996 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.00422, allocations: 79.55 kB / 297.3 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.004381, allocations: 115.6 kB / 297.4 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.649e-05/0.004457, allocations: 4 kB / 297.4 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.004583, allocations: 71.88 kB / 297.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.677e-05/0.004659, allocations: 31.84 kB / 297.5 MB, free: 1.699 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.004674, allocations: 4 kB / 297.5 MB, free: 1.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.82e-05/0.004762, allocations: 47.86 kB / 297.5 MB, free: 1.648 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.004811, allocations: 23.92 kB / 297.5 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.004843, allocations: 19.94 kB / 297.6 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.004995, allocations: 87.67 kB / 297.7 MB, free: 1.52 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.005006, allocations: 4 kB / 297.7 MB, free: 1.516 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005006, allocations: 0 / 297.7 MB, free: 1.516 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.005016, allocations: 0 / 297.7 MB, free: 1.516 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.0004444/0.00546, allocations: 344.9 kB / 298 MB, free: 1.156 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.005498, allocations: 8.922 kB / 298 MB, free: 1.148 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.005534, allocations: 4.938 kB / 298 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.005707, allocations: 154.2 kB / 298.2 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.005724, allocations: 4.375 kB / 298.2 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.005746, allocations: 8.375 kB / 298.2 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.005867, allocations: 61.77 kB / 298.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.00588, allocations: 192 / 298.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.005888, allocations: 384 / 298.2 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.005898, allocations: 7.938 kB / 298.2 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.887e-05/0.005927, allocations: 11.92 kB / 298.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002523/0.00618, allocations: 166 kB / 298.4 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.006294, allocations: 81.3 kB / 298.5 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.511e-05/0.006319, allocations: 12.84 kB / 298.5 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.006333, allocations: 4 kB / 298.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/0.006464, allocations: 70.14 kB / 298.6 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.006465, allocations: 0 / 298.6 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004132/0.006878, allocations: 121.4 kB / 298.7 MB, free: 380 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.00691, allocations: 55.41 kB / 298.7 MB, free: 312 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.007025, allocations: 177.3 kB / 298.9 MB, free: 120 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.007043, allocations: 25.7 kB / 298.9 MB, free: 88 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.007096, allocations: 100.2 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.007128, allocations: 27.77 kB / 299.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.007159, allocations: 17.72 kB / 299.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.086e-05/0.00725, allocations: 330.8 kB / 299.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.672e-05/0.007266, allocations: 18.75 kB / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.11e-05/0.007287, allocations: 17.72 kB / 299.4 MB, free: 15.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.696e-05/0.007334, allocations: 44.45 kB / 299.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.007336, allocations: 0 / 299.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.047e-05/0.007416, allocations: 72.56 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.007431, allocations: 11.92 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.007436, allocations: 3.938 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.007452, allocations: 4 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.007523, allocations: 16.03 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.007528, allocations: 0 / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.022e-05/0.007558, allocations: 8.359 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.007563, allocations: 0 / 299.6 MB, free: 15.39 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.447e-05/0.007637, allocations: 120.6 kB / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.007654, allocations: 19.91 kB / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.00776, allocations: 75.08 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.007763, allocations: 4 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.007764, allocations: 0 / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.00777, allocations: 4 kB / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.007997, allocations: 299.4 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.007999, allocations: 3.938 kB / 300.1 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-05/0.008028, allocations: 12 kB / 300.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-06/0.008038, allocations: 7.953 kB / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.008041, allocations: 0 / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.008048, allocations: 4 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.008049, allocations: 0 / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.008053, allocations: 7.922 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.008169, allocations: 213.8 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.008186, allocations: 8.031 kB / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.802e-05/0.008224, allocations: 0 / 300.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.008253, allocations: 11.92 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.008267, allocations: 8 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.49e-05/0.008312, allocations: 47.62 kB / 300.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008312, allocations: 0 / 300.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001408/0.008453, allocations: 24 kB / 300.5 MB, free: 14.47 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.001562/0.01001, allocations: 0.6186 MB / 301.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.01012, allocations: 32.84 kB / 301.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.01013, allocations: 4 kB / 301.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.388e-05/0.01017, allocations: 44.92 kB / 301.2 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.01042, allocations: 188.6 kB / 301.3 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004791/0.0109, allocations: 223.9 kB / 301.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.109e-05/0.01094, allocations: 67.33 kB / 301.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.456e-05/0.01098, allocations: 8.984 kB / 301.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.01104, allocations: 67.36 kB / 301.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01104, allocations: 4 kB / 301.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of Templates: time 0.004697/0.01574, allocations: 2.057 MB / 303.8 MB, free: 11.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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.089728600345552]