Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 127.4 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002255/0.002255, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.707/1.707, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3047/0.3047, allocations: 46.92 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 71.89 kB / 0.4915 GB, free: 7.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.135, allocations: 65.99 MB / 0.5559 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.00326/0.1383, allocations: 1.836 MB / 0.5577 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.1402, allocations: 1.105 MB / 0.5588 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.131e-05/0.1403, allocations: 3.938 kB / 0.5588 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000543/0.1409, allocations: 303.3 kB / 0.5591 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00047/0.1413, allocations: 247.2 kB / 0.5593 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.1416, allocations: 111.6 kB / 0.5594 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.1419, allocations: 259.2 kB / 0.5597 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.011e-05/0.142, allocations: 17.67 kB / 0.5597 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.1422, allocations: 135.5 kB / 0.5598 GB, free: 1.234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.1424, allocations: 211.9 kB / 0.56 GB, free: 1.027 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.1424, allocations: 4 kB / 0.56 GB, free: 1.023 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1425, allocations: 47.97 kB / 0.5601 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.1427, allocations: 136.5 kB / 0.5602 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.1429, allocations: 154.7 kB / 0.5603 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004402/0.1433, allocations: 366.2 kB / 0.5607 GB, free: 340 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1433, allocations: 0 / 0.5607 GB, free: 340 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1433, allocations: 0 / 0.5607 GB, free: 340 kB / 414.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1433, allocations: 0 / 0.5607 GB, free: 340 kB / 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.001062/0.1444, allocations: 0.7578 MB / 0.5614 GB, free: 15.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.1444, allocations: 8.031 kB / 0.5614 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.43e-05/0.1445, allocations: 60.55 kB / 0.5615 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006123/0.1451, allocations: 452.3 kB / 0.5619 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1451, allocations: 384 / 0.5619 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.1451, allocations: 8.125 kB / 0.5619 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.1453, allocations: 83.36 kB / 0.562 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1454, allocations: 4 kB / 0.562 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1454, allocations: 0 / 0.562 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1454, allocations: 8 kB / 0.562 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.1455, allocations: 31.92 kB / 0.5621 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.146, allocations: 374.4 kB / 0.5624 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.1463, allocations: 101.2 kB / 0.5625 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.1464, allocations: 41.64 kB / 0.5626 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.1464, allocations: 3.984 kB / 0.5626 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.1466, allocations: 113 kB / 0.5627 GB, free: 14.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.1466, allocations: 0 / 0.5627 GB, free: 14.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005149/0.1472, allocations: 197.2 kB / 0.5629 GB, free: 13.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.1472, allocations: 85.05 kB / 0.5629 GB, free: 13.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.1484, allocations: 1.022 MB / 0.5639 GB, free: 12.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.48e-05/0.1485, allocations: 29.69 kB / 0.564 GB, free: 12.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/0.1488, allocations: 232.1 kB / 0.5642 GB, free: 12.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/0.1488, allocations: 39.78 kB / 0.5642 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.1489, allocations: 29.64 kB / 0.5643 GB, free: 12.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.1491, allocations: 366.8 kB / 0.5646 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-05/0.1492, allocations: 31.92 kB / 0.5646 GB, free: 12.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.1493, allocations: 55.42 kB / 0.5647 GB, free: 11.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.1495, allocations: 91.34 kB / 0.5648 GB, free: 11.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1495, allocations: 0 / 0.5648 GB, free: 11.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003469/0.1498, allocations: 173.7 kB / 0.5649 GB, free: 11.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.1499, allocations: 8 kB / 0.5649 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1499, allocations: 128 / 0.5649 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1499, allocations: 0 / 0.5649 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.15, allocations: 35.98 kB / 0.565 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.15, allocations: 0 / 0.565 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.1501, allocations: 15.88 kB / 0.565 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.1501, allocations: 8 kB / 0.565 GB, free: 11.63 MB / 430.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.0002374/0.1504, allocations: 219.9 kB / 0.5652 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.792e-05/0.1504, allocations: 55.59 kB / 0.5653 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.191e-05/0.1505, allocations: 64.09 kB / 0.5653 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1505, allocations: 0 / 0.5653 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1505, allocations: 8 kB / 0.5653 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1505, allocations: 0 / 0.5653 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/0.1509, allocations: 337.4 kB / 0.5657 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1509, allocations: 4 kB / 0.5657 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.1509, allocations: 4 kB / 0.5657 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.1509, allocations: 4 kB / 0.5657 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.151, allocations: 0 / 0.5657 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.151, allocations: 3.984 kB / 0.5657 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.151, allocations: 4 kB / 0.5657 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.1513, allocations: 205.5 kB / 0.5659 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.1515, allocations: 140.8 kB / 0.566 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.1515, allocations: 4 kB / 0.566 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.671e-05/0.1516, allocations: 7.984 kB / 0.566 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.1516, allocations: 4 kB / 0.566 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.1517, allocations: 11.98 kB / 0.566 GB, free: 10.47 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009402/0.1526, allocations: 0.7604 MB / 0.5668 GB, free: 9.715 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1526, allocations: 4 kB / 0.5668 GB, free: 9.711 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.1529, allocations: 43.94 kB / 0.5668 GB, free: 9.668 MB / 430.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.001657/0.1546, allocations: 417.9 kB / 0.5672 GB, free: 9.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000283/0.1548, allocations: 79.89 kB / 0.5673 GB, free: 9.332 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1548, allocations: 0 / 0.5673 GB, free: 9.332 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.1549, allocations: 31.98 kB / 0.5673 GB, free: 9.301 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/0.1554, allocations: 85.64 kB / 0.5674 GB, free: 9.223 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.1568, allocations: 0.8697 MB / 0.5683 GB, free: 8.324 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.1574, allocations: 0.8388 MB / 0.5691 GB, free: 7.457 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001521/0.1575, allocations: 67.44 kB / 0.5691 GB, free: 7.391 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.182e-05/0.1576, allocations: 27.44 kB / 0.5692 GB, free: 7.367 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1576, allocations: 0 / 0.5692 GB, free: 7.367 MB / 430.1 MB Notification: Performance of Templates: time 0.009148/0.1667, allocations: 3.772 MB / 0.5728 GB, free: 3.609 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.612957388162613]