Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.0008533/0.0008533, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001157/0.00201, allocations: 449.7 kB / 10.37 MB, free: 324 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.0006906/0.0006906, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001444/0.002135, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9993/0.9993, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09964/1.099, allocations: 53.86 MB / 243.8 MB, free: 14.9 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.2623/0.2623, allocations: 34.85 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02398/0.2863, allocations: 13.23 MB / 292.6 MB, free: 6.465 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 294 MB, free: 5.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.069e-05, allocations: 5.375 kB / 294 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002377/0.002398, allocations: 1.798 MB / 295.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.003713, allocations: 1.025 MB / 296.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.254e-05/0.003796, allocations: 3.938 kB / 296.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.003999, allocations: 39.77 kB / 296.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.004265, allocations: 95.53 kB / 296.9 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.00448, allocations: 83.59 kB / 297 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.004646, allocations: 103.6 kB / 297.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.619e-05/0.004732, allocations: 11.98 kB / 297.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.004858, allocations: 75.81 kB / 297.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.096e-05/0.004939, allocations: 27.91 kB / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.004956, allocations: 4 kB / 297.2 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.124e-05/0.005047, allocations: 47.91 kB / 297.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.005091, allocations: 19.94 kB / 297.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.005126, allocations: 19.94 kB / 297.3 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.005312, allocations: 99.55 kB / 297.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.56e-05/0.005328, allocations: 0 / 297.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.005329, allocations: 0 / 297.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.005346, allocations: 0 / 297.4 MB, free: 1.625 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.0004551/0.005802, allocations: 337 kB / 297.7 MB, free: 1.273 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.005835, allocations: 12.92 kB / 297.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.005866, allocations: 8.922 kB / 297.8 MB, free: 1.254 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.006017, allocations: 150.1 kB / 297.9 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.006032, allocations: 8.25 kB / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.006048, allocations: 8.375 kB / 297.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.006151, allocations: 61.77 kB / 298 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.00616, allocations: 192 / 298 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.006167, allocations: 4.359 kB / 298 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.006173, allocations: 3.938 kB / 298 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.655e-05/0.0062, allocations: 12 kB / 298 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/0.006402, allocations: 177.9 kB / 298.2 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.914e-05/0.006491, allocations: 85.23 kB / 298.3 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/0.006508, allocations: 8.859 kB / 298.3 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.00652, allocations: 4 kB / 298.3 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.006623, allocations: 70.19 kB / 298.3 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.006624, allocations: 0 / 298.3 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002897/0.006914, allocations: 105.5 kB / 298.4 MB, free: 496 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.006943, allocations: 51.41 kB / 298.5 MB, free: 432 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.007049, allocations: 188.2 kB / 298.7 MB, free: 228 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.007064, allocations: 29.7 kB / 298.7 MB, free: 192 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.916e-05/0.007093, allocations: 92.11 kB / 298.8 MB, free: 96 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.007118, allocations: 27.73 kB / 298.8 MB, free: 68 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.007156, allocations: 25.7 kB / 298.8 MB, free: 36 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.007236, allocations: 330.8 kB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.712e-05/0.007253, allocations: 6.828 kB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.428e-05/0.007277, allocations: 33.62 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.786e-05/0.007315, allocations: 36.61 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.007316, allocations: 0 / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.56e-05/0.007391, allocations: 76.42 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.007403, allocations: 7.938 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.007407, allocations: 0 / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.007416, allocations: 0 / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.786e-05/0.007484, allocations: 24.02 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.007486, allocations: 0 / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/0.007516, allocations: 4 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.007522, allocations: 4 kB / 299.4 MB, free: 15.49 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 6.145e-05/0.007584, allocations: 124.6 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.007596, allocations: 11.94 kB / 299.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.948e-05/0.007695, allocations: 80.05 kB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.007697, allocations: 7.875 kB / 299.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.007699, allocations: 0 / 299.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.007702, allocations: 0 / 299.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.007905, allocations: 291.5 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.007908, allocations: 4.312 kB / 299.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-05/0.007938, allocations: 15.98 kB / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.136e-05/0.007949, allocations: 11.91 kB / 299.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.007951, allocations: 0 / 299.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.00796, allocations: 8 kB / 299.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.007961, allocations: 0 / 299.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007962, allocations: 0 / 299.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.008066, allocations: 227 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.008082, allocations: 4.031 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.00812, allocations: 4 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.008146, allocations: 11.98 kB / 300.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.008157, allocations: 4 kB / 300.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.22e-05/0.008199, allocations: 51.64 kB / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008199, allocations: 0 / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001443/0.008343, allocations: 23.94 kB / 300.2 MB, free: 14.56 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.001456/0.009799, allocations: 0.6166 MB / 300.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.647e-05/0.009895, allocations: 48.75 kB / 300.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.009904, allocations: 4 kB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.667e-05/0.00993, allocations: 20.8 kB / 300.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.01011, allocations: 43.97 kB / 301 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.01055, allocations: 248 kB / 301.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.672e-05/0.01058, allocations: 67.34 kB / 301.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.774e-05/0.01062, allocations: 12.97 kB / 301.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.01068, allocations: 67.36 kB / 301.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01068, allocations: 3.938 kB / 301.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of Templates: time 0.00354/0.01422, allocations: 2.062 MB / 303.4 MB, free: 11.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.927300164476037]