Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.001598/0.001598, allocations: 117.1 kB / 19.13 MB, free: 3.918 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.00173/0.00173, allocations: 206.6 kB / 22.08 MB, free: 0.9727 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.548/1.548, allocations: 227.4 MB / 252.3 MB, free: 288 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.2489/0.2489, allocations: 46.17 MB / 351.8 MB, free: 14.34 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002259/0.00226, allocations: 82.92 kB / 490.9 MB, free: 28.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1257, allocations: 62.46 MB / 0.5404 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.00351/0.1292, allocations: 1.826 MB / 0.5422 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1312, allocations: 1.095 MB / 0.5433 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.65e-05/0.1313, allocations: 3.938 kB / 0.5433 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005767/0.1319, allocations: 311.3 kB / 0.5436 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004874/0.1324, allocations: 251.2 kB / 0.5438 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.1326, allocations: 111.6 kB / 0.5439 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003374/0.133, allocations: 259.3 kB / 0.5442 GB, free: 368 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.36e-05/0.1331, allocations: 21.62 kB / 0.5442 GB, free: 344 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.1333, allocations: 131.5 kB / 0.5443 GB, free: 212 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.1335, allocations: 199.5 kB / 0.5445 GB, free: 12 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.1335, allocations: 8 kB / 0.5445 GB, free: 4 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.1337, allocations: 40.06 kB / 0.5445 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.1338, allocations: 135.6 kB / 0.5447 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.134, allocations: 154.6 kB / 0.5448 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004576/0.1345, allocations: 378.2 kB / 0.5452 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1345, allocations: 0 / 0.5452 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1345, allocations: 0 / 0.5452 GB, free: 15.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1345, allocations: 4 kB / 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.001044/0.1355, allocations: 0.7616 MB / 0.5459 GB, free: 14.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.1356, allocations: 12.03 kB / 0.5459 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.462e-05/0.1357, allocations: 52.55 kB / 0.546 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000635/0.1363, allocations: 452.4 kB / 0.5464 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.1363, allocations: 12.34 kB / 0.5464 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1364, allocations: 4.375 kB / 0.5464 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.1366, allocations: 91.69 kB / 0.5465 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1366, allocations: 0 / 0.5465 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.1366, allocations: 7.984 kB / 0.5465 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1366, allocations: 0 / 0.5465 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.1367, allocations: 27.92 kB / 0.5466 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.1372, allocations: 394.2 kB / 0.5469 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.1375, allocations: 109.1 kB / 0.547 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.712e-05/0.1376, allocations: 37.7 kB / 0.5471 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.1376, allocations: 4 kB / 0.5471 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.1379, allocations: 113 kB / 0.5472 GB, free: 13.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.1379, allocations: 0 / 0.5472 GB, free: 13.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005105/0.1384, allocations: 197.3 kB / 0.5474 GB, free: 12.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.1385, allocations: 85.05 kB / 0.5475 GB, free: 12.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.1397, allocations: 1.054 MB / 0.5485 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.1397, allocations: 33.7 kB / 0.5485 GB, free: 11.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.1399, allocations: 236.1 kB / 0.5487 GB, free: 11.42 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.14, allocations: 31.73 kB / 0.5488 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.14, allocations: 29.7 kB / 0.5488 GB, free: 11.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.1403, allocations: 370.8 kB / 0.5492 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-05/0.1404, allocations: 27.98 kB / 0.5492 GB, free: 10.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.1405, allocations: 58.3 kB / 0.5492 GB, free: 10.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.1407, allocations: 87.34 kB / 0.5493 GB, free: 10.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1407, allocations: 0 / 0.5493 GB, free: 10.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003124/0.141, allocations: 177.8 kB / 0.5495 GB, free: 10.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.141, allocations: 7.984 kB / 0.5495 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.141, allocations: 8.062 kB / 0.5495 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.1411, allocations: 4 kB / 0.5495 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.1412, allocations: 19.94 kB / 0.5495 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/0.1412, allocations: 7.984 kB / 0.5495 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.841e-05/0.1413, allocations: 4 kB / 0.5495 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.1413, allocations: 8 kB / 0.5496 GB, free: 10.55 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.0002303/0.1416, allocations: 217.8 kB / 0.5498 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.805e-05/0.1416, allocations: 63.5 kB / 0.5498 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.688e-05/0.1417, allocations: 64.14 kB / 0.5499 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.1417, allocations: 4 kB / 0.5499 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1417, allocations: 0 / 0.5499 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1418, allocations: 0 / 0.5499 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.1421, allocations: 345.4 kB / 0.5502 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.1421, allocations: 4 kB / 0.5502 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/0.1422, allocations: 11.92 kB / 0.5502 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1422, allocations: 0 / 0.5502 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.1422, allocations: 4 kB / 0.5502 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1422, allocations: 3.938 kB / 0.5502 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1422, allocations: 0 / 0.5502 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.1426, allocations: 217.5 kB / 0.5504 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.1427, allocations: 144.7 kB / 0.5506 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.1428, allocations: 0 / 0.5506 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.1428, allocations: 8 kB / 0.5506 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.1429, allocations: 7.984 kB / 0.5506 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.1429, allocations: 11.94 kB / 0.5506 GB, free: 9.363 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008758/0.1438, allocations: 0.7878 MB / 0.5514 GB, free: 8.578 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1438, allocations: 0 / 0.5514 GB, free: 8.578 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.1441, allocations: 43.98 kB / 0.5514 GB, free: 8.535 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.001501/0.1456, allocations: 404.9 kB / 0.5518 GB, free: 8.281 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002695/0.1459, allocations: 79.91 kB / 0.5519 GB, free: 8.203 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1459, allocations: 128 / 0.5519 GB, free: 8.203 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.146, allocations: 43.98 kB / 0.5519 GB, free: 8.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.1464, allocations: 75.62 kB / 0.552 GB, free: 8.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.1478, allocations: 0.9222 MB / 0.5529 GB, free: 7.133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.1483, allocations: 0.8466 MB / 0.5537 GB, free: 6.262 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.815e-05/0.1484, allocations: 27.44 kB / 0.5537 GB, free: 6.238 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1484, allocations: 0 / 0.5537 GB, free: 6.238 MB / 414.1 MB Notification: Performance of Templates: time 0.008846/0.1572, allocations: 5.215 MB / 0.5588 GB, free: 1.027 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.222695206059143]