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.0008551/0.0008551, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001263/0.002118, 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.001177/0.001177, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.0026, 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 1.042/1.042, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1052/1.147, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.2977/0.2977, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02332/0.321, allocations: 13.23 MB / 292.6 MB, free: 6.461 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 2.956e-06/2.956e-06, allocations: 3.984 kB / 294 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.755e-05, allocations: 5.766 kB / 294 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002933/0.00295, allocations: 1.798 MB / 295.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.004723, allocations: 1.017 MB / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.004827, allocations: 0 / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.005118, allocations: 51.62 kB / 296.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.005419, allocations: 95.53 kB / 296.9 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.005658, allocations: 79.61 kB / 297 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.005879, allocations: 107.6 kB / 297.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.005988, allocations: 7.984 kB / 297.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.006159, allocations: 79.75 kB / 297.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.711e-05/0.006256, allocations: 27.91 kB / 297.2 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.006278, allocations: 4 kB / 297.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.006385, allocations: 47.91 kB / 297.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.255e-05/0.006437, allocations: 19.94 kB / 297.3 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.133e-05/0.006479, allocations: 15.94 kB / 297.3 MB, free: 1.723 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.006684, allocations: 99.61 kB / 297.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-05/0.0067, allocations: 0 / 297.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.006701, allocations: 0 / 297.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.006718, 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.0005442/0.007262, allocations: 345 kB / 297.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.007299, allocations: 8.922 kB / 297.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.00734, allocations: 12.92 kB / 297.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.007546, allocations: 150.1 kB / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.007562, allocations: 384 / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.007582, allocations: 4.375 kB / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.007714, allocations: 65.77 kB / 298 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.007723, allocations: 4.125 kB / 298 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.007731, allocations: 384 / 298 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.007738, allocations: 3.938 kB / 298 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.893e-05/0.007777, allocations: 19.92 kB / 298 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002522/0.00803, allocations: 177.9 kB / 298.2 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.008142, allocations: 77.3 kB / 298.3 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.008165, allocations: 12.86 kB / 298.3 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.008176, allocations: 0 / 298.3 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001165/0.008293, allocations: 74.14 kB / 298.3 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.008294, allocations: 0 / 298.3 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003571/0.008651, allocations: 109.5 kB / 298.4 MB, free: 488 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.008687, allocations: 51.41 kB / 298.5 MB, free: 424 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.008838, allocations: 188.2 kB / 298.7 MB, free: 220 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.008859, allocations: 29.7 kB / 298.7 MB, free: 184 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.008898, allocations: 92.11 kB / 298.8 MB, free: 88 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.008931, allocations: 27.73 kB / 298.8 MB, free: 60 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.008984, allocations: 25.7 kB / 298.9 MB, free: 28 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.009097, allocations: 326.8 kB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.009119, allocations: 10.83 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.162e-05/0.00915, allocations: 26.59 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.634e-05/0.009207, allocations: 44.53 kB / 299.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.009208, allocations: 4 kB / 299.3 MB, free: 15.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001001/0.009308, allocations: 68.48 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.009323, allocations: 11.88 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.009327, allocations: 0 / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-06/0.009336, allocations: 0 / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.717e-05/0.009423, allocations: 20.02 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.009426, allocations: 4 kB / 299.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.902e-05/0.009465, allocations: 4 kB / 299.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.009473, allocations: 4 kB / 299.4 MB, free: 15.48 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.865e-05/0.009552, allocations: 115.1 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.009575, allocations: 19.92 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.009706, allocations: 75.62 kB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.009708, allocations: 0 / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.00971, allocations: 0 / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.009713, allocations: 0 / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.009996, allocations: 299.4 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.009999, allocations: 4.312 kB / 299.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-05/0.01005, allocations: 19.97 kB / 299.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.01006, allocations: 11.91 kB / 299.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01007, allocations: 0 / 299.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.01008, allocations: 8 kB / 299.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01008, allocations: 0 / 299.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01008, allocations: 3.938 kB / 299.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.01022, allocations: 220.8 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.01024, allocations: 4 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.01031, allocations: 4.031 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.01034, allocations: 15.92 kB / 300.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.01035, allocations: 4 kB / 300.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.692e-05/0.01042, allocations: 51.64 kB / 300.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01042, allocations: 0 / 300.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002366/0.01065, allocations: 27.94 kB / 300.2 MB, free: 14.55 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.002158/0.01281, allocations: 0.6058 MB / 300.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.01292, allocations: 48.75 kB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/0.01293, allocations: 4 kB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.761e-05/0.01297, 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.0002525/0.01322, allocations: 47.78 kB / 301 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005532/0.01377, allocations: 248.1 kB / 301.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.226e-05/0.01383, allocations: 67.34 kB / 301.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.011e-05/0.01388, 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 8.653e-05/0.01396, allocations: 67.36 kB / 301.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01396, allocations: 0 / 301.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of Templates: time 0.004931/0.01889, allocations: 2.059 MB / 303.4 MB, free: 11.68 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9835651703178883]