Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.001212/0.001212, allocations: 85.91 kB / 22.22 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.001266/0.001266, allocations: 160.1 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.066/1.066, allocations: 177 MB / 205.9 MB, free: 4.457 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.1789/0.1789, allocations: 34.87 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.705e-05, allocations: 3.297 kB / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002453/0.00248, allocations: 1.833 MB / 381.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.003868, allocations: 1.067 MB / 383 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.441e-05/0.003952, allocations: 11.94 kB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.004317, allocations: 303.2 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.00462, allocations: 267 kB / 383.6 MB, free: 19.19 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.004769, allocations: 111.6 kB / 383.7 MB, free: 19.08 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.004951, allocations: 271.2 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.811e-05/0.004989, allocations: 5.812 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.005099, allocations: 155.6 kB / 384.1 MB, free: 18.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.005233, allocations: 207.6 kB / 384.3 MB, free: 18.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.00525, allocations: 8 kB / 384.3 MB, free: 18.45 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.621e-05/0.005316, allocations: 51.92 kB / 384.3 MB, free: 18.39 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.879e-05/0.005395, allocations: 147.5 kB / 384.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.035e-05/0.005445, allocations: 67.66 kB / 384.6 MB, free: 18.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.005659, allocations: 279 kB / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.005662, allocations: 3.984 kB / 384.8 MB, free: 17.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.005663, allocations: 3.938 kB / 384.8 MB, free: 17.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.005667, allocations: 0 / 384.8 MB, free: 17.9 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004968/0.006164, allocations: 0.7823 MB / 385.6 MB, free: 17.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.79e-05/0.006192, allocations: 12.02 kB / 385.6 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.006242, allocations: 56.56 kB / 385.7 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.006446, allocations: 324.6 kB / 386 MB, free: 16.67 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.006463, allocations: 8.375 kB / 386 MB, free: 16.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.006471, allocations: 4.375 kB / 386 MB, free: 16.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.006578, allocations: 98.2 kB / 386.1 MB, free: 16.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.006586, allocations: 192 / 386.1 MB, free: 16.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.006593, allocations: 384 / 386.1 MB, free: 16.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.006599, allocations: 7.938 kB / 386.1 MB, free: 16.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.734e-05/0.006626, allocations: 11.98 kB / 386.1 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.006769, allocations: 220.8 kB / 386.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.718e-05/0.006866, allocations: 94.16 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.448e-05/0.006891, allocations: 31.34 kB / 386.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.006899, allocations: 4 kB / 386.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.758e-05/0.006987, allocations: 108.3 kB / 386.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.006988, allocations: 0 / 386.6 MB, free: 15.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001825/0.00717, allocations: 165.2 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.007191, allocations: 89.09 kB / 386.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003154/0.007507, allocations: 0.6936 MB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.007516, allocations: 29.7 kB / 387.5 MB, free: 14.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.866e-05/0.007615, allocations: 306.7 kB / 387.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.007642, allocations: 27.83 kB / 387.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.007671, allocations: 39.34 kB / 387.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.53e-05/0.007747, allocations: 0.5625 MB / 388.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.007765, allocations: 19.98 kB / 388.5 MB, free: 14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.757e-05/0.007792, allocations: 50.67 kB / 388.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.219e-05/0.007844, allocations: 79.22 kB / 388.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.007846, allocations: 3.938 kB / 388.6 MB, free: 13.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001056/0.007951, allocations: 141.2 kB / 388.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.007962, allocations: 10.19 kB / 388.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.007965, allocations: 0 / 388.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.007975, allocations: 0 / 388.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-05/0.008035, allocations: 27.98 kB / 388.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.008038, allocations: 7.875 kB / 388.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.008085, allocations: 15.88 kB / 388.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.008094, allocations: 8.062 kB / 388.8 MB, free: 13.62 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.55e-05/0.008159, allocations: 162.1 kB / 389 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.008191, allocations: 63.59 kB / 389.1 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.008333, allocations: 157.9 kB / 389.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.008334, allocations: 0 / 389.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.008337, allocations: 4 kB / 389.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.008341, allocations: 3.938 kB / 389.2 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.008474, allocations: 233 kB / 389.4 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.008475, allocations: 0 / 389.4 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/0.008496, allocations: 12 kB / 389.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.008497, allocations: 4 kB / 389.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.008504, allocations: 4.25 kB / 389.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.008505, allocations: 0 / 389.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.008507, allocations: 7.938 kB / 389.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.008631, allocations: 207.7 kB / 389.7 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.00867, allocations: 59.55 kB / 389.7 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.008695, allocations: 8 kB / 389.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.841e-05/0.008734, allocations: 7.984 kB / 389.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/0.008758, allocations: 7.984 kB / 389.8 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.008769, allocations: 11.94 kB / 389.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001735/0.008942, allocations: 442.6 kB / 390.2 MB, free: 12.19 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008942, allocations: 0 / 390.2 MB, free: 12.19 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001608/0.009103, allocations: 43.94 kB / 390.2 MB, free: 12.14 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007963/0.009899, allocations: 390.3 kB / 390.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.657e-05/0.009996, allocations: 63.58 kB / 390.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.21e-07/0.009997, allocations: 0 / 390.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.286e-05/0.01003, allocations: 39.59 kB / 390.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.01026, allocations: 74.19 kB / 390.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.01077, allocations: 0.6539 MB / 391.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.295e-05/0.01083, allocations: 136.1 kB / 391.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.515e-05/0.01088, allocations: 42.95 kB / 391.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.613e-05/0.01097, allocations: 118.2 kB / 391.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01097, allocations: 0 / 391.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of Templates: time 0.005362/0.01633, allocations: 4.427 MB / 396.2 MB, free: 6.352 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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.7014381322078407]