Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001166/0.001166, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001157/0.001157, allocations: 166.8 kB / 25.61 MB, free: 8.582 MB / 18.57 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.089/1.089, allocations: 177 MB / 205.9 MB, free: 4.465 MB / 186.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.186/0.186, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 179] 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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.349e-05/3.563e-05, allocations: 3.969 kB / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002934/0.00297, allocations: 1.748 MB / 381.9 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.004525, allocations: 1.009 MB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.004651, allocations: 7.938 kB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.005057, allocations: 31.78 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004224/0.00548, allocations: 99.47 kB / 383 MB, free: 19.74 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.005724, allocations: 83.59 kB / 383.1 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.005918, allocations: 115.6 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.00602, allocations: 4 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.006126, allocations: 59.83 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.987e-05/0.006226, allocations: 39.89 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.006252, allocations: 8 kB / 383.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.006448, allocations: 107.8 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.451e-05/0.006513, allocations: 27.84 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.552e-05/0.006558, allocations: 19.92 kB / 383.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.006877, allocations: 159.5 kB / 383.6 MB, free: 19.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.006882, allocations: 4 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.006883, allocations: 0 / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.006891, allocations: 0 / 383.6 MB, free: 19.12 MB / 314.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.0004831/0.007374, allocations: 467.6 kB / 384.1 MB, free: 18.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.00742, allocations: 12.03 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.541e-05/0.007475, allocations: 12.89 kB / 384.1 MB, free: 18.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.007655, allocations: 144.5 kB / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.007675, allocations: 384 / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.0077, allocations: 12.36 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.007862, allocations: 115.9 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.007874, allocations: 192 / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.007886, allocations: 4.375 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.007894, allocations: 3.938 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.814e-05/0.007922, allocations: 7.984 kB / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.008196, allocations: 252.4 kB / 384.6 MB, free: 18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.008309, allocations: 63.02 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.365e-05/0.008332, allocations: 19.81 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.008349, allocations: 0 / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.008454, allocations: 69.03 kB / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.084e-06/0.008456, allocations: 0 / 384.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004821/0.008938, allocations: 161.3 kB / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.00898, allocations: 81.11 kB / 385 MB, free: 17.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.009116, allocations: 212.5 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.00914, allocations: 41.64 kB / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.00918, allocations: 142.9 kB / 385.4 MB, free: 17.15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.009217, allocations: 35.72 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.009266, allocations: 31.36 kB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.009372, allocations: 0.4962 MB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.009395, allocations: 8 kB / 386 MB, free: 16.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-05/0.009448, allocations: 71.62 kB / 386 MB, free: 16.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.587e-05/0.009514, allocations: 55.28 kB / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.009515, allocations: 0 / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001361/0.009651, allocations: 100.2 kB / 386.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.009673, allocations: 11.98 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.009682, allocations: 3.938 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.009694, allocations: 0 / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.899e-05/0.009782, allocations: 19.94 kB / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.009788, allocations: 4 kB / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.299e-05/0.009831, allocations: 7.984 kB / 386.2 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.009839, allocations: 4 kB / 386.2 MB, free: 16.26 MB / 314.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 (13): * Single equations (assignments): 13 * 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 8.319e-05/0.009922, allocations: 162.4 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.009946, allocations: 19.84 kB / 386.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.01011, allocations: 114.3 kB / 386.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01011, allocations: 0 / 386.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.01012, allocations: 0 / 386.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.01012, allocations: 0 / 386.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.01041, allocations: 389.5 kB / 386.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01042, allocations: 0 / 386.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.01046, allocations: 12 kB / 386.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.01046, allocations: 0 / 386.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.01047, allocations: 7.938 kB / 386.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.01047, allocations: 0 / 386.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.01047, allocations: 4.031 kB / 386.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.01061, allocations: 267.4 kB / 387.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.01063, allocations: 7.953 kB / 387.2 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.01065, allocations: 4 kB / 387.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.429e-05/0.01069, allocations: 4 kB / 387.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.01073, allocations: 7.984 kB / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.01074, allocations: 0 / 387.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.296e-05/0.0108, allocations: 165.6 kB / 387.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0108, allocations: 0 / 387.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000324/0.01113, allocations: 47.88 kB / 387.4 MB, free: 15 MB / 314.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 (11): * Single equations (assignments): 9 * 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.001316/0.01244, allocations: 0.5414 MB / 388 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.01259, allocations: 63.47 kB / 388 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.0126, allocations: 0 / 388 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/0.01264, allocations: 31.61 kB / 388.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.01288, allocations: 35.42 kB / 388.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.01325, allocations: 223.8 kB / 388.3 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.689e-05/0.01329, allocations: 79.33 kB / 388.4 MB, free: 14.17 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.269e-05/0.01334, allocations: 20.62 kB / 388.4 MB, free: 14.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.898e-05/0.01342, allocations: 98.17 kB / 388.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01342, allocations: 0 / 388.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of Templates: time 0.005356/0.01878, allocations: 2.97 MB / 391.5 MB, free: 11.13 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.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: 3.895840906072408]