Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.001179/0.001179, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001968/0.003148, 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.001197/0.001197, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001635/0.002831, 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.9303/0.9303, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1102/1.04, 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.3341/0.3341, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02976/0.3639, allocations: 13.23 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 294.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.647e-05, allocations: 2.312 kB / 294.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002638/0.002664, allocations: 1.816 MB / 296 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.00417, allocations: 1.017 MB / 297 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.211e-05/0.004262, allocations: 7.938 kB / 297 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.004495, allocations: 47.69 kB / 297.1 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.004765, allocations: 95.42 kB / 297.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.004973, allocations: 83.53 kB / 297.2 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.005159, allocations: 99.66 kB / 297.3 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.623e-05/0.005255, allocations: 11.98 kB / 297.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.005386, allocations: 83.81 kB / 297.4 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.124e-05/0.005468, allocations: 23.91 kB / 297.5 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.005484, allocations: 4 kB / 297.5 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.75e-05/0.005572, allocations: 47.86 kB / 297.5 MB, free: 1.641 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.029e-05/0.005622, allocations: 23.88 kB / 297.5 MB, free: 1.617 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.005655, allocations: 15.94 kB / 297.6 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.005842, allocations: 99.66 kB / 297.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.525e-05/0.005857, allocations: 0 / 297.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.005859, allocations: 0 / 297.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.005871, allocations: 0 / 297.6 MB, free: 1.504 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.0004887/0.006359, allocations: 344.9 kB / 298 MB, free: 1.145 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.006399, allocations: 12.92 kB / 298 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.006446, allocations: 12.92 kB / 298 MB, free: 1.121 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.006639, allocations: 146.1 kB / 298.2 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.006659, allocations: 8.375 kB / 298.2 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.006683, allocations: 384 / 298.2 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.006824, allocations: 65.77 kB / 298.2 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.006837, allocations: 4.172 kB / 298.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.006845, allocations: 384 / 298.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.006852, allocations: 3.938 kB / 298.2 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.641e-05/0.006879, allocations: 11.94 kB / 298.2 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.00717, allocations: 177.9 kB / 298.4 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.007301, allocations: 81.3 kB / 298.5 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.232e-05/0.007333, allocations: 12.86 kB / 298.5 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.007356, allocations: 0 / 298.5 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.0075, allocations: 74.12 kB / 298.6 MB, free: 480 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.234e-06/0.007503, allocations: 0 / 298.6 MB, free: 480 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003961/0.007899, allocations: 113.5 kB / 298.7 MB, free: 360 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.00794, allocations: 51.41 kB / 298.7 MB, free: 296 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.008073, allocations: 188.2 kB / 298.9 MB, free: 92 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.008094, allocations: 29.7 kB / 299 MB, free: 56 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.008144, allocations: 92.11 kB / 299 MB, free: 15.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.008179, allocations: 31.72 kB / 299.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.008217, allocations: 21.72 kB / 299.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.008311, allocations: 326.8 kB / 299.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.198e-05/0.008333, allocations: 6.828 kB / 299.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-05/0.008362, allocations: 26.64 kB / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.754e-05/0.008409, allocations: 48.45 kB / 299.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.008411, allocations: 7.938 kB / 299.5 MB, free: 15.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.021e-05/0.008491, allocations: 68.56 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.008506, allocations: 7.938 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.008511, allocations: 0 / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.008528, allocations: 7.922 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.229e-05/0.00861, allocations: 16 kB / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.008614, allocations: 0 / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.008647, allocations: 8.375 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.008653, allocations: 3.984 kB / 299.6 MB, free: 15.36 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.356e-05/0.008726, allocations: 112.7 kB / 299.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.008743, allocations: 19.97 kB / 299.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.00887, allocations: 79.05 kB / 299.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.008874, allocations: 4 kB / 299.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.008875, allocations: 0 / 299.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.008878, allocations: 0 / 299.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.009124, allocations: 295.5 kB / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.009127, allocations: 3.938 kB / 300.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.009161, allocations: 12 kB / 300.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.009173, allocations: 11.91 kB / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.009176, allocations: 32 / 300.1 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.009185, allocations: 8 kB / 300.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.009187, allocations: 0 / 300.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.009191, allocations: 7.922 kB / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.009308, allocations: 216.8 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.009325, allocations: 4 kB / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.298e-05/0.009368, allocations: 0 / 300.4 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.009397, allocations: 11.98 kB / 300.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.009411, allocations: 7.938 kB / 300.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.757e-05/0.009458, allocations: 52.7 kB / 300.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009458, allocations: 0 / 300.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000155/0.009613, allocations: 35.92 kB / 300.5 MB, free: 14.43 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.001482/0.01109, allocations: 0.6074 MB / 301.1 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.01124, allocations: 52.77 kB / 301.1 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/0.01125, allocations: 4 kB / 301.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.556e-05/0.0113, allocations: 33 kB / 301.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.01157, allocations: 180.4 kB / 301.4 MB, free: 13.85 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005221/0.01209, allocations: 235.9 kB / 301.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.322e-05/0.01213, allocations: 75.33 kB / 301.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.314e-05/0.01217, allocations: 21.14 kB / 301.7 MB, free: 13.47 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.914e-05/0.01224, allocations: 67.36 kB / 301.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01224, allocations: 0 / 301.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of Templates: time 0.003831/0.01608, allocations: 2.048 MB / 303.8 MB, free: 11.39 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.0368392588570714]