Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.0007637/0.0007637, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009689/0.001733, 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.000691/0.000691, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008656/0.001557, 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 0.9996/0.9996, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.103/1.103, allocations: 53.87 MB / 243.8 MB, free: 14.9 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.2776/0.2776, allocations: 34.86 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03068/0.3083, 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 294 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.446e-05, allocations: 5.375 kB / 294 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003013/0.003038, allocations: 1.803 MB / 295.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.004694, allocations: 1.029 MB / 296.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.784e-05/0.004771, allocations: 0 / 296.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.004969, allocations: 39.72 kB / 296.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.005255, allocations: 95.53 kB / 296.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.005508, allocations: 83.59 kB / 297 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.005692, allocations: 103.7 kB / 297.1 MB, free: 1.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.735e-05/0.005769, allocations: 11.97 kB / 297.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.005912, allocations: 75.77 kB / 297.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.049e-05/0.005993, allocations: 27.89 kB / 297.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.006008, allocations: 8 kB / 297.2 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.006111, allocations: 43.92 kB / 297.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.006156, allocations: 15.94 kB / 297.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.006195, allocations: 19.94 kB / 297.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.006413, allocations: 103.5 kB / 297.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.755e-05/0.00643, allocations: 0 / 297.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006431, allocations: 4 kB / 297.4 MB, free: 1.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.00645, 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.0005233/0.006974, allocations: 329 kB / 297.7 MB, free: 1.281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.007006, allocations: 8.922 kB / 297.7 MB, free: 1.273 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.007048, allocations: 12.92 kB / 297.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.007221, allocations: 146.3 kB / 297.9 MB, free: 1.094 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.00724, allocations: 4.375 kB / 297.9 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.007255, allocations: 4.375 kB / 297.9 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.007357, allocations: 69.7 kB / 298 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.007364, allocations: 192 / 298 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.007371, allocations: 384 / 298 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.007377, allocations: 7.922 kB / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.462e-05/0.007402, allocations: 11.94 kB / 298 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.007583, allocations: 170 kB / 298.2 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.305e-05/0.007666, allocations: 85.28 kB / 298.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/0.007685, allocations: 12.84 kB / 298.3 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-06/0.007694, allocations: 11.94 kB / 298.3 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.911e-05/0.007784, allocations: 62.22 kB / 298.3 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.007785, allocations: 0 / 298.3 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002741/0.008059, allocations: 117.4 kB / 298.4 MB, free: 500 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.008085, allocations: 51.41 kB / 298.5 MB, free: 436 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.00819, allocations: 181.2 kB / 298.7 MB, free: 240 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.008202, allocations: 25.7 kB / 298.7 MB, free: 208 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.008231, allocations: 96.12 kB / 298.8 MB, free: 108 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.008255, allocations: 27.83 kB / 298.8 MB, free: 80 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.008286, allocations: 17.72 kB / 298.8 MB, free: 56 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.185e-05/0.008367, allocations: 330.8 kB / 299.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/0.008384, allocations: 14.81 kB / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.192e-05/0.008406, allocations: 17.72 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.112e-05/0.008447, allocations: 48.52 kB / 299.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.008449, allocations: 0 / 299.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.279e-05/0.008521, allocations: 76.42 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.008534, allocations: 7.938 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.008538, allocations: 0 / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.008546, allocations: 4 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.263e-05/0.008609, allocations: 20.02 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.008613, allocations: 4 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/0.008638, allocations: 0 / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.008643, allocations: 4 kB / 299.3 MB, free: 15.51 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 5.97e-05/0.008703, allocations: 120.5 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.008718, allocations: 15.92 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.461e-05/0.008812, allocations: 72.08 kB / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.008814, allocations: 0 / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.008816, allocations: 4 kB / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.00882, allocations: 3.984 kB / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.00902, allocations: 291.4 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.009023, allocations: 4.312 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.043e-05/0.009054, allocations: 19.94 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.009063, allocations: 11.89 kB / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.009065, allocations: 0 / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.009073, allocations: 11.98 kB / 299.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.009075, allocations: 0 / 299.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.009076, allocations: 0 / 299.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.009192, allocations: 215 kB / 300.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.009211, allocations: 8.031 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.899e-05/0.00925, allocations: 7.984 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.009273, allocations: 4 kB / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.009284, allocations: 7.984 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.995e-05/0.009324, allocations: 47.64 kB / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009324, allocations: 0 / 300.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000146/0.00947, allocations: 27.98 kB / 300.2 MB, free: 14.59 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.001354/0.01082, allocations: 0.6137 MB / 300.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.847e-05/0.01092, allocations: 44.77 kB / 300.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/0.01093, allocations: 0 / 300.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.36e-05/0.01096, allocations: 36.77 kB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.01115, allocations: 35.91 kB / 300.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.01158, allocations: 228.1 kB / 301.2 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.842e-05/0.01162, allocations: 63.34 kB / 301.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.602e-05/0.01166, allocations: 16.97 kB / 301.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.339e-05/0.01172, allocations: 71.36 kB / 301.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01172, allocations: 0 / 301.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of Templates: time 0.00365/0.01537, allocations: 2.063 MB / 303.4 MB, free: 11.72 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.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.8313766065984964]