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.001012/0.001012, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009831/0.0009831, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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 0.98/0.98, allocations: 177 MB / 204.8 MB, free: 5.582 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.2778/0.2778, allocations: 34.87 MB / 296.3 MB, free: 0.5508 MB / 266.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.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 1.723e-06/1.723e-06, allocations: 0 / 378.8 MB, free: 1.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.359e-05/3.532e-05, allocations: 3.016 kB / 378.9 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002796/0.002831, allocations: 1.767 MB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.004226, allocations: 1.038 MB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.179e-05/0.004317, allocations: 0 / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.004664, allocations: 39.7 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003712/0.005035, allocations: 95.48 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.005229, allocations: 91.53 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.005409, allocations: 115.6 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.005512, allocations: 7.984 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.879e-05/0.005601, allocations: 51.84 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.079e-05/0.005692, allocations: 35.89 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.005712, allocations: 8 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.005879, allocations: 111.8 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.182e-05/0.005941, allocations: 23.86 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.157e-05/0.005983, allocations: 19.92 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.006247, allocations: 167.5 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.00625, allocations: 0 / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.006251, allocations: 0 / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.006257, allocations: 0 / 382.4 MB, free: 14.41 MB / 362.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.000516/0.006773, allocations: 463.7 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.006817, allocations: 8.031 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.984e-05/0.006877, allocations: 16.84 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.007079, allocations: 160.4 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.007099, allocations: 4.375 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.007129, allocations: 4.375 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.007304, allocations: 104 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.007314, allocations: 192 / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.007326, allocations: 4.375 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.007335, allocations: 7.875 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.916e-05/0.007374, allocations: 11.98 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.007689, allocations: 271.8 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.007826, allocations: 59.09 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.007859, allocations: 23.75 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.007876, allocations: 4 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/0.007991, allocations: 68.98 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.007992, allocations: 0 / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004441/0.008437, allocations: 177.3 kB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.00848, allocations: 81.05 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.00863, allocations: 224.7 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.008646, allocations: 29.64 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.008706, allocations: 142.9 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.008742, allocations: 39.69 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.008783, allocations: 35.36 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.008921, allocations: 0.4923 MB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.559e-05/0.008956, allocations: 16 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.839e-05/0.009015, allocations: 76.75 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.626e-05/0.009081, allocations: 51.36 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.009083, allocations: 0 / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001338/0.009216, allocations: 109.4 kB / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.009232, allocations: 6.719 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.009239, allocations: 8 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.009257, allocations: 0 / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.125e-05/0.009348, allocations: 23.94 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.009356, allocations: 3.984 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.449e-05/0.00939, allocations: 4 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.009398, allocations: 4 kB / 385.1 MB, free: 11.46 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.151e-05/0.00948, allocations: 160.6 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.009502, allocations: 23.84 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.009677, allocations: 114.4 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.00968, allocations: 4 kB / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.009687, allocations: 0 / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.009691, allocations: 0 / 385.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.01009, allocations: 409 kB / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.01009, allocations: 0 / 385.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.01014, allocations: 23.86 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.01014, allocations: 3.984 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.01015, allocations: 8 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.01016, allocations: 0 / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01016, allocations: 0 / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.01034, allocations: 267.7 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.01035, allocations: 15.94 kB / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.01037, allocations: 0 / 386.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.856e-05/0.01042, allocations: 4 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.01046, allocations: 15.92 kB / 386.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.01048, allocations: 4 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.708e-05/0.01056, allocations: 164.1 kB / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01056, allocations: 0 / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002264/0.01078, allocations: 51.86 kB / 386.3 MB, free: 10.13 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.001218/0.012, allocations: 0.534 MB / 386.9 MB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.01216, allocations: 59.59 kB / 386.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.01216, allocations: 0 / 386.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.487e-05/0.01221, allocations: 39.61 kB / 387 MB, free: 9.648 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.01246, allocations: 43.16 kB / 387 MB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.0129, allocations: 218 kB / 387.2 MB, free: 9.363 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.836e-05/0.01295, allocations: 67.33 kB / 387.3 MB, free: 9.277 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.228e-05/0.013, allocations: 20.77 kB / 387.3 MB, free: 9.258 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/0.01305, allocations: 24.48 kB / 387.3 MB, free: 9.234 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.01305, allocations: 0 / 387.3 MB, free: 9.234 MB / 362.7 MB Notification: Performance of Templates: time 0.00475/0.0178, allocations: 2.686 MB / 390 MB, free: 6.578 MB / 362.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.4183861068449914]