Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.0011/0.0011, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001794/0.002894, 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.00108/0.00108, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001493/0.002574, 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.087/1.087, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09237/1.179, allocations: 53.88 MB / 243.9 MB, free: 14.82 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.3528/0.3528, allocations: 34.88 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02831/0.3811, allocations: 13.24 MB / 292.8 MB, free: 6.363 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 294.2 MB, free: 4.977 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.626e-05, allocations: 3.734 kB / 294.2 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003381/0.003408, allocations: 1.809 MB / 296 MB, free: 3.145 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.0049, allocations: 1.025 MB / 297 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.783e-05/0.004978, allocations: 3.938 kB / 297 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.005231, allocations: 47.7 kB / 297.1 MB, free: 2.062 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.005477, allocations: 103.4 kB / 297.2 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.005688, allocations: 83.55 kB / 297.3 MB, free: 1.879 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.005872, allocations: 111.6 kB / 297.4 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.005977, allocations: 4 kB / 297.4 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.00613, allocations: 83.8 kB / 297.5 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.93e-05/0.00622, allocations: 19.92 kB / 297.5 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.006239, allocations: 4 kB / 297.5 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.83e-05/0.006337, allocations: 51.86 kB / 297.5 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.714e-05/0.006394, allocations: 27.86 kB / 297.6 MB, free: 1.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.006431, allocations: 15.94 kB / 297.6 MB, free: 1.566 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.006612, allocations: 111.5 kB / 297.7 MB, free: 1.457 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-05/0.006626, allocations: 4 kB / 297.7 MB, free: 1.453 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.006628, allocations: 7.938 kB / 297.7 MB, free: 1.445 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.006639, allocations: 0 / 297.7 MB, free: 1.445 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.0004761/0.007115, allocations: 364.8 kB / 298.1 MB, free: 1.066 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.007147, allocations: 12.92 kB / 298.1 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.007182, allocations: 8.922 kB / 298.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.007353, allocations: 162.4 kB / 298.2 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.00737, allocations: 4.375 kB / 298.2 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.007392, allocations: 4.375 kB / 298.2 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.007506, allocations: 61.77 kB / 298.3 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.007515, allocations: 4.172 kB / 298.3 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.007524, allocations: 4.375 kB / 298.3 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.00753, allocations: 11.88 kB / 298.3 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.278e-05/0.007553, allocations: 7.984 kB / 298.3 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002133/0.007766, allocations: 166 kB / 298.5 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.54e-05/0.007862, allocations: 85.28 kB / 298.6 MB, free: 492 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.039e-05/0.007882, allocations: 12.86 kB / 298.6 MB, free: 476 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.007894, allocations: 0 / 298.6 MB, free: 476 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.007996, allocations: 66.16 kB / 298.7 MB, free: 396 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 6.783e-06/0.008003, allocations: 4 kB / 298.7 MB, free: 392 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003312/0.008334, allocations: 121.4 kB / 298.8 MB, free: 264 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.008364, allocations: 55.41 kB / 298.8 MB, free: 196 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.008514, allocations: 216 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.008528, allocations: 25.7 kB / 299.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.008565, allocations: 104.1 kB / 299.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.008589, allocations: 23.83 kB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.008619, allocations: 17.72 kB / 299.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.026e-05/0.0087, allocations: 326.8 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.799e-05/0.008718, allocations: 14.81 kB / 299.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.008743, allocations: 31.2 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.351e-05/0.008786, allocations: 40.45 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.008787, allocations: 0 / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.024e-05/0.008867, allocations: 80.48 kB / 299.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.008883, allocations: 11.94 kB / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.008888, allocations: 0 / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.008902, allocations: 0 / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.981e-05/0.008982, allocations: 23.92 kB / 299.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.008985, allocations: 0 / 299.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.009015, allocations: 8.406 kB / 299.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.00902, allocations: 0 / 299.7 MB, free: 15.23 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.888e-05/0.009089, allocations: 122.7 kB / 299.9 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.009104, allocations: 15.92 kB / 299.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.009212, allocations: 79.06 kB / 299.9 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.009217, allocations: 8 kB / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.00922, allocations: 3.984 kB / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.009223, allocations: 0 / 300 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.009452, allocations: 295.4 kB / 300.2 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.009455, allocations: 3.969 kB / 300.2 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.847e-05/0.009483, allocations: 19.98 kB / 300.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.009497, allocations: 11.91 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.0095, allocations: 0 / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.009507, allocations: 4 kB / 300.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.009509, allocations: 3.938 kB / 300.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.00951, allocations: 0 / 300.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.009627, allocations: 220.2 kB / 300.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.009643, allocations: 0 / 300.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.205e-05/0.009685, allocations: 4 kB / 300.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.009723, allocations: 11.92 kB / 300.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.00974, allocations: 8 kB / 300.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.668e-05/0.009807, allocations: 75.61 kB / 300.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009807, allocations: 0 / 300.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001609/0.009968, allocations: 20 kB / 300.6 MB, free: 14.27 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.001515/0.01148, allocations: 0.6148 MB / 301.2 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.01161, allocations: 44.77 kB / 301.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/0.01163, allocations: 7.938 kB / 301.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.545e-05/0.01167, allocations: 29.08 kB / 301.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.01196, allocations: 188.4 kB / 301.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.01248, allocations: 264.7 kB / 301.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.974e-05/0.01253, allocations: 79.19 kB / 301.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.613e-05/0.01256, allocations: 8.984 kB / 301.8 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.01264, allocations: 67.36 kB / 301.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01264, allocations: 7.938 kB / 301.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of Templates: time 0.003999/0.01664, allocations: 2.084 MB / 304 MB, free: 11.17 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.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.0032337410375476]