Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.001031/0.001031, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.00113/0.00113, allocations: 167.7 kB / 24.99 MB, free: 8.219 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 0.9472/0.9472, allocations: 177 MB / 205.2 MB, free: 5.57 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.2691/0.2691, allocations: 34.86 MB / 296.6 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 378.8 MB, free: 2.328 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.367e-05, allocations: 7.656 kB / 378.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003247/0.003271, allocations: 1.766 MB / 380.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.005147, allocations: 1.011 MB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.727e-05/0.005234, allocations: 0 / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.005553, allocations: 39.72 kB / 381.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003641/0.005917, allocations: 99.53 kB / 381.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.006145, allocations: 79.59 kB / 381.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.006347, allocations: 115.6 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.006446, allocations: 4 kB / 381.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.006558, allocations: 55.78 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.288e-05/0.00664, allocations: 27.89 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.00666, allocations: 4 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.006762, allocations: 43.92 kB / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.951e-05/0.006821, allocations: 19.92 kB / 382.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.006868, allocations: 19.92 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.007088, allocations: 103.6 kB / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.007091, allocations: 0 / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.007092, allocations: 0 / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.007096, allocations: 3.938 kB / 382.2 MB, free: 14.92 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.0005132/0.007609, allocations: 443.9 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.007649, allocations: 8.031 kB / 382.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.007707, allocations: 12.89 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.007905, allocations: 154.6 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.007925, allocations: 8.359 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.007947, allocations: 4.375 kB / 382.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.008092, allocations: 62.94 kB / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.008103, allocations: 192 / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.008115, allocations: 4.359 kB / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.008124, allocations: 7.938 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.963e-05/0.008173, allocations: 11.94 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.008524, allocations: 283.8 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.008658, allocations: 51.17 kB / 383.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.031e-05/0.008699, allocations: 19.67 kB / 383.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.008711, allocations: 3.938 kB / 383.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.008838, allocations: 72.98 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.512e-06/0.00884, allocations: 0 / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004913/0.009331, allocations: 157.3 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.00937, allocations: 55.41 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.009546, allocations: 230.6 kB / 383.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.009561, allocations: 25.7 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.009631, allocations: 154.8 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.009664, allocations: 23.8 kB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.009711, allocations: 31.36 kB / 384 MB, free: 12.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.009847, allocations: 0.4962 MB / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.696e-05/0.009884, allocations: 12 kB / 384.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.993e-05/0.009934, allocations: 35.36 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.121e-05/0.01002, allocations: 47.31 kB / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01002, allocations: 0 / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001389/0.01016, allocations: 101.4 kB / 384.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.01017, allocations: 4 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.01017, allocations: 0 / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.01018, allocations: 4 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.01025, allocations: 16 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.01026, allocations: 8.016 kB / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/0.01028, allocations: 4 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.01029, allocations: 384 / 384.7 MB, free: 12.18 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 (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 0.0002299/0.01052, allocations: 164.5 kB / 384.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.574e-05/0.01053, allocations: 15.89 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.01067, allocations: 103.1 kB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.01067, allocations: 0 / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.01068, allocations: 4 kB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.01068, allocations: 0 / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.01094, allocations: 396.9 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01094, allocations: 0 / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.01096, allocations: 15.92 kB / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.01097, allocations: 4 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.01097, allocations: 4 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.01098, allocations: 0 / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01098, allocations: 4 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.01111, allocations: 255.4 kB / 385.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.01112, allocations: 7.906 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.01114, allocations: 4 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.033e-05/0.01118, allocations: 12.02 kB / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.01121, allocations: 4 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.01122, allocations: 7.984 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.54e-05/0.01128, allocations: 163.9 kB / 385.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01128, allocations: 3.938 kB / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001637/0.01145, allocations: 23.94 kB / 385.9 MB, free: 10.93 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 (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.0009004/0.01235, allocations: 434.7 kB / 386.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.01246, allocations: 55.53 kB / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01246, allocations: 8.062 kB / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.921e-05/0.0125, allocations: 35.61 kB / 386.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.01272, allocations: 23.98 kB / 386.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.01302, allocations: 218.3 kB / 386.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.456e-05/0.01305, allocations: 67.34 kB / 386.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.185e-05/0.01308, allocations: 17.27 kB / 386.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.01311, allocations: 16.5 kB / 386.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01311, allocations: 4.062 kB / 386.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of Templates: time 0.003279/0.01639, allocations: 1.857 MB / 388.6 MB, free: 8.301 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.1372184799984097]