Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.001079/0.001079, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001711/0.00279, 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.001089/0.001089, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001589/0.002678, 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.955/0.955, allocations: 177.5 MB / 190.1 MB, free: 4.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09285/1.048, allocations: 53.87 MB / 243.9 MB, free: 14.83 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.2852/0.2852, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02622/0.3114, allocations: 13.23 MB / 292.8 MB, free: 6.375 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 294.2 MB, free: 4.984 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.396e-05, allocations: 3.953 kB / 294.2 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003264/0.003288, allocations: 1.812 MB / 296 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.005588, allocations: 1.777 MB / 297.8 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.604e-05/0.005664, allocations: 0 / 297.8 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.005868, allocations: 39.7 kB / 297.8 MB, free: 1.328 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.006146, allocations: 99.36 kB / 297.9 MB, free: 1.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.006342, allocations: 87.55 kB / 298 MB, free: 1.145 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.006518, allocations: 111.6 kB / 298.1 MB, free: 1.035 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.79e-05/0.006596, allocations: 8 kB / 298.1 MB, free: 1.027 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.006744, allocations: 75.81 kB / 298.2 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.006857, allocations: 39.89 kB / 298.2 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.006876, allocations: 4 kB / 298.2 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.00708, allocations: 115.7 kB / 298.4 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.007126, allocations: 15.94 kB / 298.4 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.007161, allocations: 15.94 kB / 298.4 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.007425, allocations: 151.4 kB / 298.5 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.007436, allocations: 0 / 298.5 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.007437, allocations: 0 / 298.5 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.007447, allocations: 0 / 298.5 MB, free: 0.6172 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.0004988/0.007946, allocations: 352.9 kB / 298.9 MB, free: 256 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.00798, allocations: 8.922 kB / 298.9 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.008019, allocations: 8.938 kB / 298.9 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.008202, allocations: 150.2 kB / 299 MB, free: 64 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.008219, allocations: 384 / 299 MB, free: 64 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.008244, allocations: 8.359 kB / 299.1 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.00841, allocations: 105.1 kB / 299.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.00842, allocations: 7.875 kB / 299.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.008428, allocations: 0 / 299.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.008434, allocations: 0 / 299.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.008722, allocations: 14.81 kB / 299.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.008951, allocations: 162 kB / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.00906, allocations: 93.28 kB / 299.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.539e-05/0.009085, allocations: 20.84 kB / 299.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.009095, allocations: 0 / 299.5 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.009218, allocations: 74.09 kB / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.00922, allocations: 0 / 299.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003427/0.009562, allocations: 113.6 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.009589, allocations: 51.41 kB / 299.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.009714, allocations: 152.3 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.009734, allocations: 33.7 kB / 299.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.00977, allocations: 92.11 kB / 300 MB, free: 15.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.009802, allocations: 35.73 kB / 300 MB, free: 15.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.009844, allocations: 25.7 kB / 300 MB, free: 14.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.491e-05/0.009929, allocations: 318.8 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.00995, allocations: 10.83 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.83e-05/0.009998, allocations: 65.12 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.132e-05/0.01005, allocations: 32.53 kB / 300.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.01005, allocations: 0 / 300.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001071/0.01016, allocations: 76.44 kB / 300.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.01017, allocations: 8 kB / 300.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.01018, allocations: 4.062 kB / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.01019, allocations: 0 / 300.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.379e-05/0.01027, allocations: 20.36 kB / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.01028, allocations: 0 / 300.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.01032, allocations: 12 kB / 300.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.01032, allocations: 0 / 300.6 MB, free: 14.4 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.43e-05/0.0104, allocations: 128.6 kB / 300.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.01042, allocations: 7.938 kB / 300.7 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.01054, allocations: 74.38 kB / 300.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.01054, allocations: 4 kB / 300.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.01054, allocations: 4 kB / 300.8 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01055, allocations: 0 / 300.8 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.01082, allocations: 291.4 kB / 301 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01082, allocations: 4 kB / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.01087, allocations: 11.98 kB / 301.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.01088, allocations: 11.95 kB / 301.1 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.01088, allocations: 0 / 301.1 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.01089, allocations: 4 kB / 301.1 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.0109, allocations: 3.984 kB / 301.1 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.0109, allocations: 0 / 301.1 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.01103, allocations: 222.8 kB / 301.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.01106, allocations: 8 kB / 301.3 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.01113, allocations: 0 / 301.3 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.01116, allocations: 7.984 kB / 301.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.01117, allocations: 4 kB / 301.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.785e-05/0.01123, allocations: 41.28 kB / 301.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01123, allocations: 4 kB / 301.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.0115, allocations: 47.8 kB / 301.4 MB, free: 13.48 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.002213/0.01371, allocations: 0.7618 MB / 302.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.01383, allocations: 48.77 kB / 302.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.01384, allocations: 0 / 302.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.016e-05/0.01389, allocations: 28.84 kB / 302.3 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.0142, allocations: 192.9 kB / 302.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005394/0.01474, allocations: 203.9 kB / 302.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.563e-05/0.01479, allocations: 71.27 kB / 302.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.891e-05/0.01485, allocations: 21.42 kB / 302.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.01495, allocations: 75.36 kB / 302.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01495, allocations: 0 / 302.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of Templates: time 0.005455/0.02041, allocations: 2.817 MB / 305.6 MB, free: 9.594 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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.078145139850676]