Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.001676/0.001675, allocations: 115 kB / 19.13 MB, free: 3.941 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.00187/0.001871, allocations: 210.6 kB / 22.08 MB, free: 0.9922 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.513/1.513, allocations: 227.4 MB / 252.3 MB, free: 80 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.2422/0.2422, allocations: 46.17 MB / 351.8 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003158/0.003158, allocations: 83.58 kB / 490.9 MB, free: 28.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1375, allocations: 62.45 MB / 0.5404 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003681/0.1413, allocations: 1.83 MB / 0.5422 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.1434, allocations: 1.091 MB / 0.5433 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.1435, allocations: 8 kB / 0.5433 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005605/0.1441, allocations: 303.2 kB / 0.5436 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005696/0.1447, allocations: 251.1 kB / 0.5438 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.145, allocations: 107.7 kB / 0.5439 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004123/0.1454, allocations: 255.2 kB / 0.5442 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.77e-05/0.1455, allocations: 17.69 kB / 0.5442 GB, free: 316 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.1458, allocations: 131.6 kB / 0.5443 GB, free: 184 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.1461, allocations: 192 kB / 0.5445 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.1461, allocations: 12 kB / 0.5445 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1463, allocations: 43.98 kB / 0.5445 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.1464, allocations: 128.5 kB / 0.5447 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.1466, allocations: 150.7 kB / 0.5448 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004915/0.1471, allocations: 374.2 kB / 0.5452 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1471, allocations: 0 / 0.5452 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1471, allocations: 0 / 0.5452 GB, free: 15.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.1471, allocations: 0 / 0.5452 GB, free: 15.3 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.001114/0.1482, allocations: 0.7539 MB / 0.5459 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1483, allocations: 12.03 kB / 0.5459 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.1484, allocations: 48.61 kB / 0.546 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007091/0.1491, allocations: 456.3 kB / 0.5464 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1492, allocations: 4.375 kB / 0.5464 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.1492, allocations: 4.375 kB / 0.5464 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.1494, allocations: 91.66 kB / 0.5465 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1494, allocations: 0 / 0.5465 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.1495, allocations: 4 kB / 0.5465 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.1495, allocations: 0 / 0.5465 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.1496, allocations: 31.92 kB / 0.5465 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.1501, allocations: 374.3 kB / 0.5469 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.1504, allocations: 113.2 kB / 0.547 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.765e-05/0.1505, allocations: 41.64 kB / 0.547 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1505, allocations: 3.984 kB / 0.547 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.1507, allocations: 109 kB / 0.5471 GB, free: 13.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1507, allocations: 4 kB / 0.5471 GB, free: 13.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005324/0.1513, allocations: 205.2 kB / 0.5473 GB, free: 12.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.1514, allocations: 81.05 kB / 0.5474 GB, free: 12.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.1525, allocations: 1.022 MB / 0.5484 GB, free: 11.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1525, allocations: 29.7 kB / 0.5484 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.1528, allocations: 232.1 kB / 0.5487 GB, free: 11.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.1528, allocations: 31.72 kB / 0.5487 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.1529, allocations: 33.72 kB / 0.5487 GB, free: 11.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.1531, allocations: 366.8 kB / 0.5491 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.229e-05/0.1532, allocations: 27.98 kB / 0.5491 GB, free: 11.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.1533, allocations: 57.8 kB / 0.5491 GB, free: 10.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.1535, allocations: 95.84 kB / 0.5492 GB, free: 10.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1535, allocations: 0 / 0.5492 GB, free: 10.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003308/0.1538, allocations: 173.2 kB / 0.5494 GB, free: 10.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.1539, allocations: 8 kB / 0.5494 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1539, allocations: 0 / 0.5494 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1539, allocations: 0 / 0.5494 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.154, allocations: 27.92 kB / 0.5494 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.154, allocations: 64 / 0.5494 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.1541, allocations: 19.94 kB / 0.5495 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1542, allocations: 4 kB / 0.5495 GB, free: 10.6 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.0002277/0.1544, allocations: 213.8 kB / 0.5497 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.017e-05/0.1545, allocations: 55.59 kB / 0.5497 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.594e-05/0.1546, allocations: 64.09 kB / 0.5498 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1546, allocations: 0 / 0.5498 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1546, allocations: 0 / 0.5498 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1546, allocations: 4 kB / 0.5498 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.1549, allocations: 345.4 kB / 0.5501 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.155, allocations: 7.938 kB / 0.5501 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.592e-05/0.155, allocations: 7.938 kB / 0.5501 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.155, allocations: 0 / 0.5501 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.155, allocations: 4 kB / 0.5501 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.155, allocations: 0 / 0.5501 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.155, allocations: 3.938 kB / 0.5501 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/0.1554, allocations: 213.5 kB / 0.5503 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.1555, allocations: 148.7 kB / 0.5505 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.309e-05/0.1556, allocations: 0 / 0.5505 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.1557, allocations: 4.125 kB / 0.5505 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.1557, allocations: 11.98 kB / 0.5505 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.1558, allocations: 8 kB / 0.5505 GB, free: 9.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008615/0.1566, allocations: 0.7643 MB / 0.5512 GB, free: 8.668 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1566, allocations: 0 / 0.5512 GB, free: 8.668 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.1569, allocations: 40.09 kB / 0.5513 GB, free: 8.629 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.001491/0.1584, allocations: 411.2 kB / 0.5517 GB, free: 8.367 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.1587, allocations: 79.83 kB / 0.5518 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1587, allocations: 4 kB / 0.5518 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.1588, allocations: 35.98 kB / 0.5518 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.1592, allocations: 81.44 kB / 0.5519 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.1606, allocations: 0.9067 MB / 0.5528 GB, free: 7.234 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/0.1611, allocations: 0.8466 MB / 0.5536 GB, free: 6.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.878e-05/0.1612, allocations: 23.44 kB / 0.5536 GB, free: 6.344 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1612, allocations: 7.938 kB / 0.5536 GB, free: 6.336 MB / 414.1 MB Notification: Performance of Templates: time 0.009661/0.1709, allocations: 5.094 MB / 0.5586 GB, free: 1.246 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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: 7.960878936923109]