Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001306/0.001306, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.001429/0.001429, allocations: 215 kB / 21.45 MB, free: 1.641 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.539/1.539, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2337/0.2337, allocations: 46.93 MB / 357.8 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 63.91 kB / 0.4917 GB, free: 7.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1396, allocations: 65.99 MB / 0.5562 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.005554/0.1452, allocations: 1.925 MB / 0.558 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003097/0.1482, allocations: 1.134 MB / 0.5592 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.1485, allocations: 7.938 kB / 0.5592 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007408/0.1492, allocations: 227.3 kB / 0.5594 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007857/0.15, allocations: 211.2 kB / 0.5596 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.1505, allocations: 119.6 kB / 0.5597 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006098/0.1511, allocations: 263.2 kB / 0.5599 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.1513, allocations: 21.67 kB / 0.56 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003248/0.1516, allocations: 123.6 kB / 0.5601 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004132/0.152, allocations: 171.4 kB / 0.5602 GB, free: 1.535 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.536e-05/0.152, allocations: 11.94 kB / 0.5603 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.1523, allocations: 59.98 kB / 0.5603 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.1524, allocations: 67.69 kB / 0.5604 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.1526, allocations: 87.36 kB / 0.5605 GB, free: 1.312 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005428/0.1531, allocations: 242.8 kB / 0.5607 GB, free: 1.074 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1531, allocations: 4 kB / 0.5607 GB, free: 1.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1531, allocations: 0 / 0.5607 GB, free: 1.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.1531, allocations: 0 / 0.5607 GB, free: 1.07 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001417/0.1546, allocations: 0.5716 MB / 0.5613 GB, free: 460 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.976e-05/0.1546, allocations: 12.03 kB / 0.5613 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.725e-05/0.1547, allocations: 192 / 0.5613 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.082e-05/0.1548, allocations: 42.73 kB / 0.5613 GB, free: 396 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.1549, allocations: 28.75 kB / 0.5613 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008489/0.1557, allocations: 304.2 kB / 0.5616 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.1558, allocations: 12.12 kB / 0.5616 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.1558, allocations: 8 kB / 0.5616 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.1562, allocations: 107.3 kB / 0.5617 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.1562, allocations: 0 / 0.5617 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.1563, allocations: 4 kB / 0.5617 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.1563, allocations: 4 kB / 0.5618 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.1565, allocations: 47.91 kB / 0.5618 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.1575, allocations: 480.7 kB / 0.5623 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005737/0.1581, allocations: 117.2 kB / 0.5624 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.1582, allocations: 41.83 kB / 0.5624 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.1583, allocations: 7.938 kB / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003556/0.1586, allocations: 121 kB / 0.5625 GB, free: 14.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 5.731e-06/0.1586, allocations: 4 kB / 0.5625 GB, free: 14.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001952/0.1606, allocations: 0.497 MB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.012e-05/0.1607, allocations: 81.11 kB / 0.5631 GB, free: 14.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007261/0.1614, allocations: 448.5 kB / 0.5635 GB, free: 13.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.1614, allocations: 33.7 kB / 0.5636 GB, free: 13.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.1616, allocations: 160.4 kB / 0.5637 GB, free: 13.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.1617, allocations: 75.42 kB / 0.5638 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.823e-05/0.1618, allocations: 41.7 kB / 0.5638 GB, free: 13.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.162, allocations: 354.7 kB / 0.5642 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.1622, allocations: 55.97 kB / 0.5642 GB, free: 13.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.1624, allocations: 97.47 kB / 0.5643 GB, free: 13.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/0.1628, allocations: 155.3 kB / 0.5645 GB, free: 12.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1628, allocations: 0 / 0.5645 GB, free: 12.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005287/0.1633, allocations: 241.4 kB / 0.5647 GB, free: 12.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1634, allocations: 4 kB / 0.5647 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1634, allocations: 4 kB / 0.5647 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.1634, allocations: 0 / 0.5647 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.1636, allocations: 51.97 kB / 0.5647 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1636, allocations: 0 / 0.5647 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.443e-05/0.1637, allocations: 11.95 kB / 0.5648 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.1637, allocations: 8 kB / 0.5648 GB, free: 12.61 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002008/0.1639, allocations: 169.8 kB / 0.5649 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.241e-05/0.1639, allocations: 35.75 kB / 0.565 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.112e-05/0.164, allocations: 42.8 kB / 0.565 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.164, allocations: 0 / 0.565 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.164, allocations: 4 kB / 0.565 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.164, allocations: 4 kB / 0.565 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.1651, allocations: 0.735 MB / 0.5657 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1651, allocations: 3.938 kB / 0.5657 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-05/0.1652, allocations: 27.98 kB / 0.5658 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.1652, allocations: 8.125 kB / 0.5658 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.1653, allocations: 8 kB / 0.5658 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.1653, allocations: 4 kB / 0.5658 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.1653, allocations: 7.875 kB / 0.5658 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005646/0.1658, allocations: 424.2 kB / 0.5662 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/0.1659, allocations: 104.9 kB / 0.5663 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/0.166, allocations: 11.98 kB / 0.5663 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.1661, allocations: 11.98 kB / 0.5663 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.1662, allocations: 23.86 kB / 0.5663 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.1662, allocations: 11.98 kB / 0.5663 GB, free: 10.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003641/0.1666, allocations: 335 kB / 0.5667 GB, free: 10.53 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1666, allocations: 0 / 0.5667 GB, free: 10.53 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003801/0.1669, allocations: 47.94 kB / 0.5667 GB, free: 10.48 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002945/0.1699, allocations: 1.378 MB / 0.5681 GB, free: 9.285 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000406/0.1703, allocations: 143.8 kB / 0.5682 GB, free: 9.145 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1703, allocations: 0 / 0.5682 GB, free: 9.145 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.1705, allocations: 80.41 kB / 0.5683 GB, free: 9.066 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006122/0.1711, allocations: 60.33 kB / 0.5683 GB, free: 9.012 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004053/0.1751, allocations: 2.888 MB / 0.5711 GB, free: 5.996 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.1756, allocations: 0.7729 MB / 0.5719 GB, free: 5.199 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.1758, allocations: 45.92 kB / 0.5719 GB, free: 5.152 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.176, allocations: 95.39 kB / 0.572 GB, free: 5.059 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.176, allocations: 0 / 0.572 GB, free: 5.059 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.2015, allocations: 6.519 MB / 0.5784 GB, free: 14.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.787/8.989, allocations: 15.94 kB / 0.5784 GB, free: 14.6 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test79.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: 12.315929389034864]