Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.001704/0.001704, allocations: 117.8 kB / 19.13 MB, free: 3.945 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.001908/0.001908, allocations: 210.4 kB / 22.08 MB, free: 0.9961 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.492/1.492, allocations: 227.4 MB / 252.3 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.2282/0.2282, allocations: 46.17 MB / 351.8 MB, free: 14.27 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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 83.61 kB / 491 MB, free: 27.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1123, allocations: 62.45 MB / 0.5405 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003801/0.1162, allocations: 2.27 MB / 0.5427 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002384/0.1186, allocations: 1.323 MB / 0.544 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.1188, allocations: 7.938 kB / 0.544 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004502/0.1192, allocations: 143.3 kB / 0.5441 GB, free: 380 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005848/0.1198, allocations: 254.9 kB / 0.5443 GB, free: 124 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.1203, allocations: 187.5 kB / 0.5445 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000564/0.1209, allocations: 462.6 kB / 0.545 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.1211, allocations: 72.92 kB / 0.545 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003789/0.1214, allocations: 299 kB / 0.5453 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.1217, allocations: 155.2 kB / 0.5455 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.386e-05/0.1217, allocations: 23.98 kB / 0.5455 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.1219, allocations: 75.92 kB / 0.5456 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.1221, allocations: 147.4 kB / 0.5457 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.1223, allocations: 210.3 kB / 0.5459 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005779/0.1229, allocations: 485.4 kB / 0.5464 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1229, allocations: 0 / 0.5464 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1229, allocations: 0 / 0.5464 GB, free: 14.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1229, allocations: 0 / 0.5464 GB, free: 14.04 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001303/0.1242, allocations: 0.9133 MB / 0.5473 GB, free: 13.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.1243, allocations: 17.11 kB / 0.5473 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.1244, allocations: 72.41 kB / 0.5473 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006907/0.1251, allocations: 452.8 kB / 0.5478 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.1252, allocations: 12.38 kB / 0.5478 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.1252, allocations: 20.27 kB / 0.5478 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004015/0.1256, allocations: 197.1 kB / 0.548 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.1256, allocations: 4 kB / 0.548 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.1257, allocations: 4 kB / 0.548 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.1257, allocations: 4 kB / 0.548 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.1259, allocations: 95.86 kB / 0.5481 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009421/0.1269, allocations: 0.829 MB / 0.5489 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006725/0.1276, allocations: 246.4 kB / 0.5491 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.1278, allocations: 87.53 kB / 0.5492 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.1278, allocations: 7.984 kB / 0.5492 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003774/0.1282, allocations: 204.2 kB / 0.5494 GB, free: 10.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.894e-06/0.1282, allocations: 0 / 0.5494 GB, free: 10.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002594/0.1308, allocations: 1.199 MB / 0.5506 GB, free: 9.449 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.1309, allocations: 140.5 kB / 0.5507 GB, free: 9.281 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.132, allocations: 0.9497 MB / 0.5517 GB, free: 8.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/0.1321, allocations: 45.69 kB / 0.5517 GB, free: 8.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.1323, allocations: 272.9 kB / 0.552 GB, free: 8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.1325, allocations: 150.8 kB / 0.5521 GB, free: 7.852 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.1326, allocations: 78.09 kB / 0.5522 GB, free: 7.766 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1328, allocations: 329.9 kB / 0.5525 GB, free: 7.438 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.133, allocations: 112.8 kB / 0.5526 GB, free: 7.328 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.1333, allocations: 187.1 kB / 0.5528 GB, free: 7.125 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000565/0.1339, allocations: 318.9 kB / 0.5531 GB, free: 6.789 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1339, allocations: 0 / 0.5531 GB, free: 6.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007908/0.1347, allocations: 444.8 kB / 0.5535 GB, free: 6.348 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.1347, allocations: 4 kB / 0.5535 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1348, allocations: 7.938 kB / 0.5535 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.1348, allocations: 7.984 kB / 0.5535 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.1351, allocations: 87.84 kB / 0.5536 GB, free: 6.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.1351, allocations: 4 kB / 0.5536 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.1353, allocations: 20.11 kB / 0.5536 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.1353, allocations: 19.94 kB / 0.5537 GB, free: 6.199 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003035/0.1356, allocations: 255.9 kB / 0.5539 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.1357, allocations: 79.47 kB / 0.554 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.1359, allocations: 93.81 kB / 0.5541 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.1359, allocations: 4 kB / 0.5541 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.1359, allocations: 3.984 kB / 0.5541 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.1359, allocations: 4 kB / 0.5541 GB, free: 5.754 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.1378, allocations: 1.334 MB / 0.5554 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.1378, allocations: 8 kB / 0.5554 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.1379, allocations: 63.91 kB / 0.5555 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.138, allocations: 4 kB / 0.5555 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.138, allocations: 15.98 kB / 0.5555 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.138, allocations: 7.938 kB / 0.5555 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.138, allocations: 4.375 kB / 0.5555 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009497/0.139, allocations: 0.8046 MB / 0.5563 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/0.1392, allocations: 188.5 kB / 0.5564 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.93e-05/0.1393, allocations: 11.98 kB / 0.5565 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.1396, allocations: 23.98 kB / 0.5565 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.555e-05/0.1397, allocations: 35.84 kB / 0.5565 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.866e-05/0.1397, allocations: 27.98 kB / 0.5565 GB, free: 3.082 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007976/0.1405, allocations: 0.706 MB / 0.5572 GB, free: 2.383 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1405, allocations: 0 / 0.5572 GB, free: 2.383 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005426/0.1411, allocations: 83.94 kB / 0.5573 GB, free: 2.301 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002005/0.1431, allocations: 0.5307 MB / 0.5578 GB, free: 1.965 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000695/0.1438, allocations: 319.8 kB / 0.5581 GB, free: 1.652 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1438, allocations: 7.875 kB / 0.5581 GB, free: 1.645 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.1441, allocations: 163.7 kB / 0.5583 GB, free: 1.484 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009704/0.1451, allocations: 120.6 kB / 0.5584 GB, free: 1.375 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.147, allocations: 1.262 MB / 0.5596 GB, free: 44 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006326/0.1476, allocations: 0.9211 MB / 0.5605 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.1478, allocations: 59.42 kB / 0.5606 GB, free: 15.04 MB / 430.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1478, allocations: 0 / 0.5606 GB, free: 15.04 MB / 430.1 MB Notification: Performance of Templates: time 0.0115/0.1593, allocations: 6.846 MB / 0.5673 GB, free: 8.215 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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: 8.615507915033959]