Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.0008222/0.0008222, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001231/0.002053, 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.0007686/0.0007686, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.001842, 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.061/1.061, allocations: 177.5 MB / 190 MB, free: 4.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1517/1.213, allocations: 53.87 MB / 243.9 MB, free: 14.85 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.2842/0.2842, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02627/0.3105, allocations: 13.23 MB / 292.8 MB, free: 6.395 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.474e-06/2.474e-06, allocations: 0 / 294.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.827e-05, allocations: 4.203 kB / 294.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002293/0.002321, allocations: 1.773 MB / 295.9 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.003617, allocations: 1.013 MB / 297 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.661e-05/0.003703, allocations: 0 / 297 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.003959, allocations: 63.62 kB / 297 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.004224, allocations: 99.42 kB / 297.1 MB, free: 2.051 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.004398, allocations: 79.55 kB / 297.2 MB, free: 1.973 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.0046, allocations: 95.7 kB / 297.3 MB, free: 1.879 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.623e-05/0.004666, allocations: 4.234 kB / 297.3 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.004849, allocations: 83.73 kB / 297.4 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.132e-05/0.00494, allocations: 23.92 kB / 297.4 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.00496, allocations: 4 kB / 297.4 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.995e-05/0.00505, allocations: 35.92 kB / 297.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/0.005106, allocations: 27.86 kB / 297.5 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.721e-05/0.005143, allocations: 15.94 kB / 297.5 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.005326, allocations: 99.61 kB / 297.6 MB, free: 1.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.487e-05/0.005341, allocations: 3.938 kB / 297.6 MB, free: 1.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.005342, allocations: 0 / 297.6 MB, free: 1.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.005353, allocations: 0 / 297.6 MB, free: 1.586 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004789/0.005832, allocations: 356.9 kB / 297.9 MB, free: 1.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.005864, allocations: 8.922 kB / 297.9 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.005899, allocations: 8.938 kB / 298 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.006064, allocations: 162.5 kB / 298.1 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.006082, allocations: 8.375 kB / 298.1 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.006094, allocations: 384 / 298.1 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.006218, allocations: 69.69 kB / 298.2 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.006226, allocations: 192 / 298.2 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.006233, allocations: 384 / 298.2 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.006239, allocations: 3.938 kB / 298.2 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.145e-05/0.00626, allocations: 4 kB / 298.2 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.766e-05/0.006358, allocations: 74.69 kB / 298.3 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.322e-05/0.006441, allocations: 41.42 kB / 298.3 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.006459, allocations: 12.86 kB / 298.3 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.006471, allocations: 0 / 298.3 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/0.006578, allocations: 66.16 kB / 298.4 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.006579, allocations: 0 / 298.4 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001384/0.006718, allocations: 53.67 kB / 298.4 MB, free: 0.625 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.006754, allocations: 55.41 kB / 298.5 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.006884, allocations: 219.9 kB / 298.7 MB, free: 336 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.006898, allocations: 25.7 kB / 298.7 MB, free: 304 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.006938, allocations: 100.1 kB / 298.8 MB, free: 200 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.006967, allocations: 19.84 kB / 298.8 MB, free: 180 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.006997, allocations: 21.66 kB / 298.9 MB, free: 152 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.007106, allocations: 334.8 kB / 299.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.778e-05/0.007134, allocations: 10.77 kB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.432e-05/0.007159, allocations: 17.7 kB / 299.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.985e-05/0.007198, allocations: 31.36 kB / 299.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.007201, allocations: 4 kB / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.409e-05/0.007275, allocations: 60.44 kB / 299.3 MB, free: 15.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.007286, allocations: 4 kB / 299.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.007292, allocations: 4.031 kB / 299.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.007305, allocations: 4 kB / 299.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.807e-05/0.007373, allocations: 15.98 kB / 299.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.007376, allocations: 0 / 299.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.107e-05/0.007407, allocations: 8.25 kB / 299.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.007412, allocations: 0 / 299.4 MB, free: 15.63 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 (7): * Single equations (assignments): 7 * 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.192e-05/0.007483, allocations: 116.6 kB / 299.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.007498, allocations: 15.98 kB / 299.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.007603, allocations: 62.83 kB / 299.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.007607, allocations: 4 kB / 299.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.007608, allocations: 4 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.007613, allocations: 3.938 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.108e-05/0.007704, allocations: 89.84 kB / 299.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.007706, allocations: 0 / 299.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/0.007732, allocations: 4 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.007754, allocations: 15.89 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.007756, allocations: 0 / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.007764, allocations: 8 kB / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.007765, allocations: 0 / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.007766, allocations: 0 / 299.7 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.646e-05/0.007843, allocations: 90.64 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.007859, allocations: 7.984 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.252e-05/0.007881, allocations: 4 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.007907, allocations: 4 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.007918, allocations: 3.984 kB / 299.8 MB, free: 15.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.286e-05/0.007981, allocations: 67.64 kB / 299.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007981, allocations: 0 / 299.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001192/0.0081, allocations: 23.94 kB / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001437/0.009538, allocations: 0.5555 MB / 300.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001078/0.009645, allocations: 28.73 kB / 300.5 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/0.009657, allocations: 7.984 kB / 300.5 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.809e-05/0.009695, allocations: 21.03 kB / 300.5 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.00992, allocations: 176.6 kB / 300.7 MB, free: 14.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006339/0.01055, allocations: 231.5 kB / 300.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.928e-05/0.0106, allocations: 79.27 kB / 301 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.349e-05/0.01064, allocations: 12.59 kB / 301 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.986e-05/0.01071, allocations: 67.3 kB / 301 MB, free: 14.1 MB / 298.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01071, allocations: 0 / 301 MB, free: 14.1 MB / 298.7 MB Notification: Performance of Templates: time 0.003961/0.01467, allocations: 1.838 MB / 302.9 MB, free: 12.29 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.0247650230303407]