Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.001529/0.001529, allocations: 119.5 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.001739/0.001739, allocations: 210.5 kB / 21.41 MB, free: 1.645 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.563/1.563, allocations: 227.4 MB / 251.6 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.251/0.251, allocations: 46.16 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 79.2 kB / 490.2 MB, free: 28.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1342, allocations: 62.44 MB / 0.5397 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.00366/0.1379, allocations: 1.834 MB / 0.5415 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.1401, allocations: 1.103 MB / 0.5426 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.1402, allocations: 3.938 kB / 0.5426 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005945/0.1408, allocations: 303.3 kB / 0.5429 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000502/0.1413, allocations: 263.2 kB / 0.5432 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.1416, allocations: 99.64 kB / 0.5432 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.1419, allocations: 255.4 kB / 0.5435 GB, free: 436 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.824e-05/0.142, allocations: 25.59 kB / 0.5435 GB, free: 408 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.1422, allocations: 135.5 kB / 0.5436 GB, free: 272 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.1425, allocations: 203.5 kB / 0.5438 GB, free: 68 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.1425, allocations: 4 kB / 0.5438 GB, free: 64 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.1426, allocations: 43.98 kB / 0.5439 GB, free: 20 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.1428, allocations: 143.5 kB / 0.544 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.143, allocations: 146.8 kB / 0.5442 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004487/0.1434, allocations: 374.2 kB / 0.5445 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1434, allocations: 4 kB / 0.5445 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1434, allocations: 0 / 0.5445 GB, free: 15.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1435, allocations: 0 / 0.5445 GB, free: 15.36 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.001117/0.1446, allocations: 0.7693 MB / 0.5453 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1446, allocations: 8.031 kB / 0.5453 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.954e-05/0.1447, allocations: 52.61 kB / 0.5453 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006593/0.1454, allocations: 452.4 kB / 0.5458 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.1454, allocations: 4.375 kB / 0.5458 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.1454, allocations: 4.375 kB / 0.5458 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.1457, allocations: 91.66 kB / 0.5459 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1457, allocations: 3.938 kB / 0.5459 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.1457, allocations: 8 kB / 0.5459 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1457, allocations: 0 / 0.5459 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.1458, allocations: 27.97 kB / 0.5459 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.1463, allocations: 386.3 kB / 0.5463 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.1466, allocations: 105.2 kB / 0.5464 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1467, allocations: 37.7 kB / 0.5464 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.1467, allocations: 3.984 kB / 0.5464 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.147, allocations: 120.9 kB / 0.5465 GB, free: 13.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.147, allocations: 0 / 0.5465 GB, free: 13.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004905/0.1475, allocations: 197.2 kB / 0.5467 GB, free: 12.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.1475, allocations: 81.11 kB / 0.5468 GB, free: 12.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/0.1488, allocations: 1.054 MB / 0.5478 GB, free: 11.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.1488, allocations: 33.7 kB / 0.5478 GB, free: 11.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.149, allocations: 232.1 kB / 0.5481 GB, free: 11.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/0.1491, allocations: 35.73 kB / 0.5481 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.1491, allocations: 29.72 kB / 0.5481 GB, free: 11.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.1494, allocations: 370.8 kB / 0.5485 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.941e-05/0.1494, allocations: 27.97 kB / 0.5485 GB, free: 11.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.1496, allocations: 55.42 kB / 0.5486 GB, free: 10.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.1498, allocations: 95.84 kB / 0.5487 GB, free: 10.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1498, allocations: 0 / 0.5487 GB, free: 10.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003081/0.1501, allocations: 173.2 kB / 0.5488 GB, free: 10.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1501, allocations: 11.94 kB / 0.5488 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1501, allocations: 0 / 0.5488 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1501, allocations: 4 kB / 0.5488 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1503, allocations: 19.98 kB / 0.5489 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1503, allocations: 4.062 kB / 0.5489 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.948e-05/0.1504, allocations: 4 kB / 0.5489 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.1504, allocations: 15.98 kB / 0.5489 GB, free: 10.61 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.0002348/0.1506, allocations: 217.7 kB / 0.5491 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.836e-05/0.1507, allocations: 59.56 kB / 0.5491 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.1508, allocations: 68.12 kB / 0.5492 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1508, allocations: 0 / 0.5492 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.1508, allocations: 4 kB / 0.5492 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1509, allocations: 4 kB / 0.5492 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.1512, allocations: 341.4 kB / 0.5495 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1512, allocations: 0 / 0.5495 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.1513, allocations: 11.94 kB / 0.5495 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1513, allocations: 0 / 0.5495 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.1513, allocations: 7.984 kB / 0.5496 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1513, allocations: 0 / 0.5496 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1513, allocations: 0 / 0.5496 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.1517, allocations: 213.5 kB / 0.5498 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.1518, allocations: 148.6 kB / 0.5499 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.1519, allocations: 128 / 0.5499 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.082e-05/0.152, allocations: 15.98 kB / 0.5499 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.152, allocations: 7.984 kB / 0.5499 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1521, allocations: 7.938 kB / 0.5499 GB, free: 9.426 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008711/0.1529, allocations: 0.7839 MB / 0.5507 GB, free: 8.645 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1529, allocations: 0 / 0.5507 GB, free: 8.645 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.1532, allocations: 48 kB / 0.5507 GB, free: 8.598 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.001529/0.1548, allocations: 409.5 kB / 0.5511 GB, free: 8.332 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.155, allocations: 83.89 kB / 0.5512 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.155, allocations: 0 / 0.5512 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.1552, allocations: 44.3 kB / 0.5513 GB, free: 8.207 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.1556, allocations: 77.39 kB / 0.5513 GB, free: 8.137 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.1568, allocations: 0.8776 MB / 0.5522 GB, free: 7.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/0.1573, allocations: 0.8466 MB / 0.553 GB, free: 6.359 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.1575, allocations: 66.92 kB / 0.5531 GB, free: 6.293 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.652e-05/0.1576, allocations: 27.44 kB / 0.5531 GB, free: 6.27 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1576, allocations: 0 / 0.5531 GB, free: 6.27 MB / 414.1 MB Notification: Performance of Templates: time 0.008571/0.1661, allocations: 3.788 MB / 0.5568 GB, free: 2.492 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.338341600261629]