Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.001841/0.001841, allocations: 118 kB / 18.46 MB, free: 4.613 MB / 14.72 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.002209/0.002209, allocations: 207.4 kB / 21.4 MB, free: 1.668 MB / 14.72 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.506/1.506, allocations: 227.4 MB / 251.6 MB, free: 64 kB / 190.1 MB " [Timeout remaining time 178] 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.2417/0.2417, allocations: 46.17 MB / 351.1 MB, free: 14.29 MB / 286.1 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 75.44 kB / 490.3 MB, free: 28.17 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1374, allocations: 62.45 MB / 0.5398 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003289/0.1407, allocations: 1.733 MB / 0.5415 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.1426, allocations: 1.028 MB / 0.5425 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.407e-05/0.1427, allocations: 4 kB / 0.5425 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.143, allocations: 43.77 kB / 0.5425 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.1433, allocations: 107.5 kB / 0.5426 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.1435, allocations: 71.73 kB / 0.5427 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.1437, allocations: 103.7 kB / 0.5428 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1438, allocations: 19.92 kB / 0.5428 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.1439, allocations: 39.84 kB / 0.5428 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.567e-05/0.144, allocations: 27.8 kB / 0.5429 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.144, allocations: 8 kB / 0.5429 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.972e-05/0.1441, allocations: 43.98 kB / 0.5429 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.952e-05/0.1442, allocations: 27.91 kB / 0.5429 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.1443, allocations: 43.67 kB / 0.543 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.1445, allocations: 131.3 kB / 0.5431 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1445, allocations: 0 / 0.5431 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1445, allocations: 0 / 0.5431 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1445, allocations: 0 / 0.5431 GB, free: 0.8438 MB / 398.1 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.0005904/0.1451, allocations: 438.6 kB / 0.5435 GB, free: 376 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1452, allocations: 12.03 kB / 0.5435 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.1452, allocations: 12.89 kB / 0.5436 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.1455, allocations: 216.9 kB / 0.5438 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1455, allocations: 4.375 kB / 0.5438 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.1456, allocations: 4.375 kB / 0.5438 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.1457, allocations: 61.92 kB / 0.5438 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1457, allocations: 0 / 0.5438 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.1457, allocations: 0 / 0.5438 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.1457, allocations: 7.984 kB / 0.5438 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.185e-05/0.1458, allocations: 16.05 kB / 0.5438 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.1463, allocations: 304.7 kB / 0.5441 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1465, allocations: 54.62 kB / 0.5442 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.113e-05/0.1465, allocations: 20.84 kB / 0.5442 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.1466, allocations: 7.938 kB / 0.5442 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.1467, allocations: 67.39 kB / 0.5443 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1467, allocations: 0 / 0.5443 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005739/0.1473, allocations: 185.3 kB / 0.5445 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.1474, allocations: 51.41 kB / 0.5445 GB, free: 15.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.1476, allocations: 234.1 kB / 0.5447 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.1477, allocations: 29.7 kB / 0.5448 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.442e-05/0.1478, allocations: 112.1 kB / 0.5449 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.1478, allocations: 27.73 kB / 0.5449 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.1479, allocations: 29.7 kB / 0.5449 GB, free: 14.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.148, allocations: 326.8 kB / 0.5452 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.331e-05/0.1481, allocations: 23.98 kB / 0.5453 GB, free: 14.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.186e-05/0.1482, allocations: 37.64 kB / 0.5453 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.1483, allocations: 53.72 kB / 0.5453 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/0.1483, allocations: 4 kB / 0.5453 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000195/0.1485, allocations: 105.5 kB / 0.5454 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1486, allocations: 8 kB / 0.5455 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1486, allocations: 384 / 0.5455 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1486, allocations: 0 / 0.5455 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.75e-05/0.1487, allocations: 15.98 kB / 0.5455 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1487, allocations: 4 kB / 0.5455 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.1488, allocations: 4 kB / 0.5455 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.1488, allocations: 12.03 kB / 0.5455 GB, free: 14.16 MB / 414.1 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.00013/0.1489, allocations: 133.7 kB / 0.5456 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.1489, allocations: 11.91 kB / 0.5456 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.424e-05/0.149, allocations: 21.56 kB / 0.5456 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.149, allocations: 3.984 kB / 0.5457 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.149, allocations: 0 / 0.5457 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.149, allocations: 4 kB / 0.5457 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.1496, allocations: 403.2 kB / 0.546 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1496, allocations: 0 / 0.546 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.1496, allocations: 11.98 kB / 0.5461 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1496, allocations: 0 / 0.5461 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1496, allocations: 4 kB / 0.5461 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.1497, allocations: 3.938 kB / 0.5461 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1497, allocations: 3.938 kB / 0.5461 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.1499, allocations: 212.3 kB / 0.5463 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.15, allocations: 88.95 kB / 0.5464 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.1501, allocations: 7.984 kB / 0.5464 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.1501, allocations: 7.938 kB / 0.5464 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.1502, allocations: 4 kB / 0.5464 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.1502, allocations: 7.984 kB / 0.5464 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001679/0.1504, allocations: 172.4 kB / 0.5465 GB, free: 12.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1504, allocations: 0 / 0.5465 GB, free: 12.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1507, allocations: 32.11 kB / 0.5466 GB, free: 12.94 MB / 414.1 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 (8): * Single equations (assignments): 6 * 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.001761/0.1524, allocations: 448.7 kB / 0.547 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.1527, allocations: 59.92 kB / 0.5471 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.1527, allocations: 4.062 kB / 0.5471 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.979e-05/0.1527, allocations: 27.92 kB / 0.5471 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.1531, allocations: 46.03 kB / 0.5471 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005453/0.1537, allocations: 267 kB / 0.5474 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.1541, allocations: 0.708 MB / 0.5481 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.068e-05/0.1541, allocations: 29.22 kB / 0.5481 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.183e-05/0.1542, allocations: 19.44 kB / 0.5481 GB, free: 11.46 MB / 414.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1542, allocations: 0 / 0.5481 GB, free: 11.46 MB / 414.1 MB Notification: Performance of Templates: time 0.005034/0.1592, allocations: 1.746 MB / 0.5498 GB, free: 9.727 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.124403954483569]