Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.001612/0.001613, allocations: 120.8 kB / 18.45 MB, free: 4.594 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.001788/0.001788, allocations: 201 kB / 21.4 MB, free: 1.648 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.577/1.577, allocations: 227.4 MB / 251.6 MB, free: 72 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.2388/0.2388, allocations: 46.17 MB / 351.1 MB, free: 14.26 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 83.28 kB / 490.3 MB, free: 27.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1314, allocations: 62.45 MB / 0.5398 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003445/0.1349, allocations: 1.922 MB / 0.5417 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002088/0.137, allocations: 1.123 MB / 0.5428 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1371, allocations: 3.938 kB / 0.5428 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005623/0.1377, allocations: 259.3 kB / 0.543 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005056/0.1382, allocations: 231.2 kB / 0.5432 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.1385, allocations: 123.6 kB / 0.5433 GB, free: 452 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.1389, allocations: 267.4 kB / 0.5436 GB, free: 184 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.139, allocations: 37.53 kB / 0.5436 GB, free: 144 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.1392, allocations: 127.6 kB / 0.5438 GB, free: 16 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.1395, allocations: 187.4 kB / 0.5439 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.1395, allocations: 8 kB / 0.5439 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.1397, allocations: 67.97 kB / 0.544 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.871e-05/0.1398, allocations: 59.77 kB / 0.5441 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.1399, allocations: 107.1 kB / 0.5442 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003573/0.1403, allocations: 250.7 kB / 0.5444 GB, free: 15.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1403, allocations: 4 kB / 0.5444 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1403, allocations: 4 kB / 0.5444 GB, free: 15.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.1403, allocations: 0 / 0.5444 GB, free: 15.34 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008035/0.1411, allocations: 0.591 MB / 0.545 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1412, allocations: 8.031 kB / 0.545 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.627e-05/0.1412, allocations: 32.75 kB / 0.545 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.1417, allocations: 302.6 kB / 0.5453 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.1417, allocations: 12.25 kB / 0.5453 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.1417, allocations: 8.375 kB / 0.5453 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.142, allocations: 121.1 kB / 0.5455 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.142, allocations: 4 kB / 0.5455 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.142, allocations: 0 / 0.5455 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.142, allocations: 0 / 0.5455 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.1422, allocations: 47.97 kB / 0.5455 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006026/0.1428, allocations: 480.7 kB / 0.546 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.1432, allocations: 129.2 kB / 0.5461 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.972e-05/0.1433, allocations: 41.83 kB / 0.5461 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.1433, allocations: 4 kB / 0.5461 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.1436, allocations: 129 kB / 0.5462 GB, free: 13.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.1436, allocations: 0 / 0.5462 GB, free: 13.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001312/0.1449, allocations: 0.513 MB / 0.5467 GB, free: 12.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.145, allocations: 81.11 kB / 0.5468 GB, free: 12.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000522/0.1455, allocations: 0.4899 MB / 0.5473 GB, free: 12.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.1455, allocations: 33.7 kB / 0.5473 GB, free: 12.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.1457, allocations: 168.5 kB / 0.5475 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7e-05/0.1457, allocations: 71.42 kB / 0.5476 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-05/0.1458, allocations: 45.7 kB / 0.5476 GB, free: 11.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.146, allocations: 346.8 kB / 0.5479 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.1461, allocations: 59.97 kB / 0.548 GB, free: 11.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.1463, allocations: 95.34 kB / 0.5481 GB, free: 11.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.1466, allocations: 155.3 kB / 0.5482 GB, free: 11.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1466, allocations: 0 / 0.5482 GB, free: 11.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003924/0.147, allocations: 245.6 kB / 0.5485 GB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.147, allocations: 4 kB / 0.5485 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.147, allocations: 4 kB / 0.5485 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.147, allocations: 3.938 kB / 0.5485 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.1472, allocations: 47.97 kB / 0.5485 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1472, allocations: 3.938 kB / 0.5485 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.039e-05/0.1473, allocations: 8 kB / 0.5485 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.1473, allocations: 11.94 kB / 0.5486 GB, free: 10.81 MB / 414.1 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001806/0.1475, allocations: 173.8 kB / 0.5487 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.1475, allocations: 43.75 kB / 0.5488 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.775e-05/0.1476, allocations: 46.83 kB / 0.5488 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1476, allocations: 0 / 0.5488 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1477, allocations: 0 / 0.5488 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1477, allocations: 7.938 kB / 0.5488 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009211/0.1486, allocations: 0.7428 MB / 0.5495 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1486, allocations: 0 / 0.5495 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.737e-05/0.1487, allocations: 27.94 kB / 0.5496 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.1487, allocations: 7.984 kB / 0.5496 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.1487, allocations: 11.98 kB / 0.5496 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1487, allocations: 0 / 0.5496 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1487, allocations: 4 kB / 0.5496 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.1492, allocations: 432.5 kB / 0.55 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.1493, allocations: 104.9 kB / 0.5501 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.1493, allocations: 8 kB / 0.5501 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.1495, allocations: 11.98 kB / 0.5501 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.1496, allocations: 19.92 kB / 0.5501 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.1496, allocations: 15.98 kB / 0.5502 GB, free: 9.047 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003551/0.1499, allocations: 371.1 kB / 0.5505 GB, free: 8.684 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.15, allocations: 0 / 0.5505 GB, free: 8.684 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003524/0.1503, allocations: 47.94 kB / 0.5506 GB, free: 8.637 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001906/0.1522, allocations: 0.5121 MB / 0.5511 GB, free: 8.305 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000359/0.1526, allocations: 163.8 kB / 0.5512 GB, free: 8.145 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1526, allocations: 0 / 0.5512 GB, free: 8.145 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.1528, allocations: 79.84 kB / 0.5513 GB, free: 8.066 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.1533, allocations: 63.67 kB / 0.5513 GB, free: 8.012 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009424/0.1543, allocations: 0.6014 MB / 0.5519 GB, free: 7.367 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.1547, allocations: 0.7908 MB / 0.5527 GB, free: 6.551 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.926e-05/0.1548, allocations: 37.92 kB / 0.5527 GB, free: 6.516 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/0.1549, allocations: 31.44 kB / 0.5528 GB, free: 6.484 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1549, allocations: 0 / 0.5528 GB, free: 6.484 MB / 414.1 MB Notification: Performance of Templates: time 0.007264/0.1622, allocations: 3.209 MB / 0.5559 GB, free: 3.301 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.415739211253822]