Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.001958/0.001958, allocations: 117.2 kB / 18.45 MB, free: 4.703 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.002929/0.00293, allocations: 205.8 kB / 21.39 MB, free: 1.758 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.572/1.572, allocations: 227.4 MB / 251.6 MB, free: 60 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.2808/0.2808, allocations: 46.17 MB / 351.1 MB, free: 14.33 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 75.61 kB / 490.2 MB, free: 28.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1263, allocations: 62.44 MB / 0.5397 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003252/0.1296, allocations: 1.838 MB / 0.5415 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.1314, allocations: 1.103 MB / 0.5426 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.632e-05/0.1315, allocations: 0 / 0.5426 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005562/0.1321, allocations: 303.2 kB / 0.5429 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004709/0.1326, allocations: 263.2 kB / 0.5431 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.1328, allocations: 99.69 kB / 0.5432 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.1332, allocations: 267.2 kB / 0.5435 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.901e-05/0.1333, allocations: 21.66 kB / 0.5435 GB, free: 260 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.1334, allocations: 127.6 kB / 0.5436 GB, free: 132 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.1337, allocations: 203.4 kB / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1337, allocations: 4 kB / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1338, allocations: 43.98 kB / 0.5439 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.134, allocations: 139.6 kB / 0.544 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.1342, allocations: 150.7 kB / 0.5441 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004611/0.1346, allocations: 374.2 kB / 0.5445 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1346, allocations: 4 kB / 0.5445 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1346, allocations: 4 kB / 0.5445 GB, free: 15.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1347, allocations: 0 / 0.5445 GB, free: 15.22 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00101/0.1357, allocations: 0.7616 MB / 0.5453 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1357, allocations: 8.031 kB / 0.5453 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.942e-05/0.1358, allocations: 52.61 kB / 0.5453 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006237/0.1364, allocations: 460.3 kB / 0.5458 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.1365, allocations: 4.375 kB / 0.5458 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.1365, allocations: 12.36 kB / 0.5458 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.1367, allocations: 83.69 kB / 0.5458 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1367, allocations: 0 / 0.5458 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1367, allocations: 4 kB / 0.5459 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1367, allocations: 0 / 0.5459 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1368, allocations: 35.91 kB / 0.5459 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.1373, allocations: 382.3 kB / 0.5462 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.1376, allocations: 105.2 kB / 0.5464 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.409e-05/0.1377, allocations: 45.62 kB / 0.5464 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.1377, allocations: 4 kB / 0.5464 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/0.1379, allocations: 109 kB / 0.5465 GB, free: 12.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1379, allocations: 0 / 0.5465 GB, free: 12.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004705/0.1384, allocations: 201.2 kB / 0.5467 GB, free: 12.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.1385, allocations: 85.05 kB / 0.5468 GB, free: 12.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.1396, allocations: 1.05 MB / 0.5478 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1397, allocations: 37.64 kB / 0.5478 GB, free: 11.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.1398, allocations: 232.1 kB / 0.5481 GB, free: 11.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.1399, allocations: 39.73 kB / 0.5481 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.14, allocations: 21.72 kB / 0.5481 GB, free: 11.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1402, allocations: 374.8 kB / 0.5485 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.104e-05/0.1402, allocations: 23.98 kB / 0.5485 GB, free: 10.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.1403, allocations: 59.42 kB / 0.5486 GB, free: 10.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.1405, allocations: 95.84 kB / 0.5486 GB, free: 10.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1405, allocations: 0 / 0.5486 GB, free: 10.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002936/0.1408, allocations: 173.2 kB / 0.5488 GB, free: 10.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1409, allocations: 8 kB / 0.5488 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1409, allocations: 0 / 0.5488 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1409, allocations: 4 kB / 0.5488 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.141, allocations: 23.92 kB / 0.5488 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.141, allocations: 0 / 0.5488 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.864e-05/0.1411, allocations: 11.98 kB / 0.5489 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1411, allocations: 8 kB / 0.5489 GB, free: 10.48 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.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 0.0002092/0.1414, allocations: 217.8 kB / 0.5491 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.769e-05/0.1414, allocations: 67.56 kB / 0.5491 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.336e-05/0.1415, allocations: 60.14 kB / 0.5492 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1415, allocations: 0 / 0.5492 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.1415, allocations: 4 kB / 0.5492 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1416, allocations: 0 / 0.5492 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.1419, allocations: 345.4 kB / 0.5495 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1419, allocations: 0 / 0.5495 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.1419, allocations: 19.86 kB / 0.5495 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1419, allocations: 0 / 0.5495 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.142, allocations: 8 kB / 0.5496 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.142, allocations: 0 / 0.5496 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.142, allocations: 4 kB / 0.5496 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/0.1423, allocations: 205.5 kB / 0.5498 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.1425, allocations: 144.7 kB / 0.5499 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.1425, allocations: 4.109 kB / 0.5499 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.004e-05/0.1426, allocations: 12 kB / 0.5499 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.1426, allocations: 15.92 kB / 0.5499 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.1427, allocations: 4 kB / 0.5499 GB, free: 9.285 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008592/0.1435, allocations: 0.7839 MB / 0.5507 GB, free: 8.504 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1435, allocations: 0 / 0.5507 GB, free: 8.504 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.1438, allocations: 44 kB / 0.5507 GB, free: 8.461 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001474/0.1453, allocations: 413 kB / 0.5511 GB, free: 8.191 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.1456, allocations: 79.91 kB / 0.5512 GB, free: 8.113 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1456, allocations: 4.062 kB / 0.5512 GB, free: 8.109 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.1457, allocations: 40.36 kB / 0.5512 GB, free: 8.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.1461, allocations: 82.95 kB / 0.5513 GB, free: 8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.1474, allocations: 0.8815 MB / 0.5522 GB, free: 7.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005107/0.1479, allocations: 0.8466 MB / 0.553 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.148, allocations: 62.92 kB / 0.5531 GB, free: 6.156 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/0.1481, allocations: 31.44 kB / 0.5531 GB, free: 6.129 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1481, allocations: 0 / 0.5531 GB, free: 6.129 MB / 414.1 MB Notification: Performance of Templates: time 0.008252/0.1563, allocations: 3.778 MB / 0.5568 GB, free: 2.359 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.2370002726092935]