Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000981/0.000981, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 170.8 kB / 24.82 MB, free: 9.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9858/0.9858, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2361/0.2361, allocations: 32.8 MB / 294.6 MB, free: 1.172 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 0 / 376.6 MB, free: 4.309 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.114e-05, allocations: 6.25 kB / 376.6 MB, free: 4.301 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002715/0.002736, allocations: 1.761 MB / 378.3 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.003991, allocations: 1.013 MB / 379.3 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.857e-05/0.00407, allocations: 0 / 379.3 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.004337, allocations: 39.7 kB / 379.4 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.004642, allocations: 95.47 kB / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.004857, allocations: 87.53 kB / 379.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.005012, allocations: 107.7 kB / 379.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.647e-05/0.005088, allocations: 7.984 kB / 379.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.719e-05/0.005176, allocations: 67.77 kB / 379.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.789e-05/0.005254, allocations: 31.89 kB / 379.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.00527, allocations: 12 kB / 379.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.005439, allocations: 107.8 kB / 379.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.401e-05/0.005483, allocations: 15.92 kB / 379.9 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.005517, allocations: 27.91 kB / 379.9 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.005741, allocations: 167.3 kB / 380.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.005743, allocations: 0 / 380.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005744, allocations: 0 / 380.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.005747, allocations: 0 / 380.1 MB, free: 0.7539 MB / 346.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.000413/0.00616, allocations: 455.8 kB / 380.5 MB, free: 280 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.006196, allocations: 12.03 kB / 380.5 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.00623, allocations: 12.84 kB / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.006396, allocations: 164.2 kB / 380.7 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.006413, allocations: 4.375 kB / 380.7 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.006432, allocations: 4.359 kB / 380.7 MB, free: 56 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.006588, allocations: 108 kB / 380.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.006599, allocations: 3.938 kB / 380.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.006606, allocations: 4 kB / 380.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.006612, allocations: 3.938 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.734e-05/0.006639, allocations: 7.984 kB / 380.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.006911, allocations: 256.4 kB / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.046e-05/0.007001, allocations: 59.09 kB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.007022, allocations: 15.69 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.007037, allocations: 4 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.979e-05/0.007126, allocations: 77.08 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.007128, allocations: 3.938 kB / 381.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003248/0.007453, allocations: 149.4 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.007487, allocations: 77.11 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.007607, allocations: 216.1 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.007621, allocations: 29.7 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/0.00767, allocations: 146.9 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.007703, allocations: 35.69 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.007753, allocations: 39.34 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.007892, allocations: 0.4962 MB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.413e-05/0.007917, allocations: 12 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.009e-05/0.007987, allocations: 72.73 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.306e-05/0.00805, allocations: 51.3 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.008052, allocations: 3.938 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001267/0.008179, allocations: 97.5 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.008191, allocations: 12.06 kB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.008196, allocations: 0 / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.008211, allocations: 0 / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.255e-05/0.008284, allocations: 16 kB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.008289, allocations: 7.984 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.008322, allocations: 0 / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.008332, allocations: 8 kB / 382.7 MB, free: 13.89 MB / 362.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.832e-05/0.00842, allocations: 164.5 kB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.008444, allocations: 19.91 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.008601, allocations: 102.8 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.008604, allocations: 4 kB / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.008607, allocations: 0 / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.008612, allocations: 4 kB / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.008951, allocations: 377.5 kB / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.008954, allocations: 0 / 383.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.00899, allocations: 12 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.008994, allocations: 0 / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.009004, allocations: 8 kB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.009005, allocations: 0 / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.009007, allocations: 4.031 kB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.009167, allocations: 267.4 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.009184, allocations: 11.95 kB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.009202, allocations: 7.938 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.62e-05/0.009248, allocations: 4 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.009279, allocations: 11.98 kB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.009293, allocations: 7.984 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.486e-05/0.009358, allocations: 154 kB / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009358, allocations: 0 / 383.8 MB, free: 12.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.009578, allocations: 59.8 kB / 383.9 MB, free: 12.61 MB / 362.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.001136/0.01071, allocations: 0.5545 MB / 384.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.01084, allocations: 63.52 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01084, allocations: 0 / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.01088, allocations: 31.67 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.01111, allocations: 39.03 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000615/0.01172, allocations: 221.9 kB / 384.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.913e-05/0.01176, allocations: 67.47 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.794e-05/0.01181, allocations: 16.64 kB / 384.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.624e-05/0.01189, allocations: 102.2 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.0119, allocations: 0 / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of Templates: time 0.004732/0.01663, allocations: 2.946 MB / 387.9 MB, free: 8.758 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.069665270857513]