Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001984/0.001983, allocations: 120.8 kB / 18.45 MB, free: 4.461 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.002395/0.002395, allocations: 205 kB / 21.41 MB, free: 1.516 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.7 MB, free: 48 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.2538/0.2538, allocations: 46.18 MB / 351.1 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 81.14 kB / 490.2 MB, free: 27.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1389, allocations: 62.45 MB / 0.5397 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003555/0.1425, allocations: 1.67 MB / 0.5414 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1437, allocations: 0.5917 MB / 0.5419 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.888e-05/0.1438, allocations: 0 / 0.5419 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006503/0.1445, allocations: 451.1 kB / 0.5424 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005609/0.1451, allocations: 303.2 kB / 0.5427 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006319/0.1457, allocations: 175.2 kB / 0.5428 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000305/0.146, allocations: 179.7 kB / 0.543 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.1462, allocations: 32.14 kB / 0.543 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.1463, allocations: 115.7 kB / 0.5431 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.1466, allocations: 215.6 kB / 0.5433 GB, free: 464 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.1467, allocations: 8 kB / 0.5433 GB, free: 456 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.1468, allocations: 55.92 kB / 0.5434 GB, free: 400 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.147, allocations: 83.69 kB / 0.5435 GB, free: 316 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.1471, allocations: 111 kB / 0.5436 GB, free: 204 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005051/0.1476, allocations: 278.5 kB / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.1476, allocations: 4 kB / 0.5439 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1476, allocations: 0 / 0.5439 GB, free: 15.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.1476, allocations: 0 / 0.5439 GB, free: 15.92 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009456/0.1486, allocations: 0.6723 MB / 0.5445 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1486, allocations: 12.03 kB / 0.5445 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.163e-05/0.1487, allocations: 44.66 kB / 0.5446 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.1491, allocations: 304.6 kB / 0.5449 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1491, allocations: 8.312 kB / 0.5449 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.1491, allocations: 8.375 kB / 0.5449 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.1494, allocations: 66.22 kB / 0.5449 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.1494, allocations: 192 / 0.5449 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1494, allocations: 3.938 kB / 0.5449 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.1494, allocations: 7.984 kB / 0.5449 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.1496, allocations: 43.97 kB / 0.545 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000648/0.1502, allocations: 424.5 kB / 0.5454 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.1505, allocations: 58.55 kB / 0.5454 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.54e-05/0.1506, allocations: 32.97 kB / 0.5455 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.1506, allocations: 96 / 0.5455 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.1507, allocations: 34.5 kB / 0.5455 GB, free: 14.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.1507, allocations: 0 / 0.5455 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.00174/0.1524, allocations: 0.5003 MB / 0.546 GB, free: 13.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.1525, allocations: 51.41 kB / 0.546 GB, free: 13.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009755/0.1535, allocations: 0.8691 MB / 0.5469 GB, free: 12.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.1535, allocations: 25.7 kB / 0.5469 GB, free: 12.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.1537, allocations: 216 kB / 0.5471 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.456e-05/0.1538, allocations: 39.67 kB / 0.5472 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/0.1538, allocations: 29.7 kB / 0.5472 GB, free: 12.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002424/0.1541, allocations: 358.8 kB / 0.5475 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.1542, allocations: 55.95 kB / 0.5476 GB, free: 11.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.1544, allocations: 55.95 kB / 0.5476 GB, free: 11.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.1547, allocations: 132.7 kB / 0.5478 GB, free: 11.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1547, allocations: 0 / 0.5478 GB, free: 11.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004262/0.1551, allocations: 205.5 kB / 0.548 GB, free: 11.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1552, allocations: 4 kB / 0.548 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1552, allocations: 0 / 0.548 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.1552, allocations: 4.562 kB / 0.548 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.1553, allocations: 23.98 kB / 0.548 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1553, allocations: 0 / 0.548 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.529e-05/0.1554, allocations: 15.92 kB / 0.548 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.1555, allocations: 19.88 kB / 0.548 GB, free: 11.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0002667/0.1557, allocations: 217.8 kB / 0.5482 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/0.1558, allocations: 43.72 kB / 0.5483 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005212/0.1563, allocations: 229.4 kB / 0.5485 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1563, allocations: 0 / 0.5485 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1564, allocations: 0 / 0.5485 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.1564, allocations: 7.938 kB / 0.5485 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009332/0.1573, allocations: 0.5898 MB / 0.5491 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1573, allocations: 0 / 0.5491 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.1574, allocations: 35.86 kB / 0.5491 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1575, allocations: 64 / 0.5491 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1575, allocations: 8.094 kB / 0.5491 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1575, allocations: 3.938 kB / 0.5491 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1575, allocations: 0 / 0.5491 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.158, allocations: 312.8 kB / 0.5494 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.1581, allocations: 116.8 kB / 0.5495 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.1581, allocations: 4 kB / 0.5495 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.1582, allocations: 11.98 kB / 0.5496 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.1583, allocations: 11.94 kB / 0.5496 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.1583, allocations: 0 / 0.5496 GB, free: 9.711 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006866/0.159, allocations: 0.6589 MB / 0.5502 GB, free: 9.055 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.159, allocations: 0 / 0.5502 GB, free: 9.055 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.1593, allocations: 31.94 kB / 0.5502 GB, free: 9.023 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001779/0.1611, allocations: 451.3 kB / 0.5507 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004099/0.1615, allocations: 139.8 kB / 0.5508 GB, free: 8.602 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1615, allocations: 0 / 0.5508 GB, free: 8.602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.1617, allocations: 67.89 kB / 0.5509 GB, free: 8.535 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.1621, allocations: 35.2 kB / 0.5509 GB, free: 8.504 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.1634, allocations: 0.8863 MB / 0.5518 GB, free: 7.586 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.164, allocations: 0.8377 MB / 0.5526 GB, free: 6.723 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.764e-05/0.1641, allocations: 36.52 kB / 0.5526 GB, free: 6.688 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.1641, allocations: 19.44 kB / 0.5526 GB, free: 6.672 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1642, allocations: 0 / 0.5526 GB, free: 6.672 MB / 414.1 MB Notification: Performance of Templates: time 0.006218/0.1704, allocations: 1.939 MB / 0.5545 GB, free: 4.742 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.251549610868096]