Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.001317/0.001317, allocations: 121 kB / 18.5 MB, free: 4.562 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.001535/0.001535, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.511/1.511, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2307/0.2307, allocations: 46.91 MB / 357.8 MB, free: 10.4 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.Test77,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 63.91 kB / 0.4917 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1475, allocations: 65.99 MB / 0.5562 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004636/0.1522, allocations: 1.935 MB / 0.558 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002808/0.155, allocations: 1.132 MB / 0.5592 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002399/0.1552, allocations: 3.938 kB / 0.5592 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005039/0.1557, allocations: 167.5 kB / 0.5593 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005845/0.1563, allocations: 179.2 kB / 0.5595 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000384/0.1567, allocations: 115.6 kB / 0.5596 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005038/0.1572, allocations: 251.2 kB / 0.5598 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.1573, allocations: 21.67 kB / 0.5599 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.1576, allocations: 115.6 kB / 0.56 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.1578, allocations: 147.4 kB / 0.5601 GB, free: 1.754 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.1579, allocations: 11.98 kB / 0.5601 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.1581, allocations: 63.98 kB / 0.5602 GB, free: 1.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.1582, allocations: 39.84 kB / 0.5602 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.1583, allocations: 95.28 kB / 0.5603 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005024/0.1588, allocations: 230.9 kB / 0.5605 GB, free: 1.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1588, allocations: 0 / 0.5605 GB, free: 1.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1588, allocations: 0 / 0.5605 GB, free: 1.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.1588, allocations: 0 / 0.5605 GB, free: 1.32 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.001202/0.16, allocations: 0.5484 MB / 0.5611 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.594e-05/0.1601, allocations: 8.031 kB / 0.5611 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.778e-05/0.1601, allocations: 4.188 kB / 0.5611 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.772e-05/0.1602, allocations: 34.75 kB / 0.5611 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.1603, allocations: 32.75 kB / 0.5611 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000561/0.1609, allocations: 283.7 kB / 0.5614 GB, free: 328 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.1609, allocations: 8.125 kB / 0.5614 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.1609, allocations: 16 kB / 0.5614 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.1613, allocations: 107.3 kB / 0.5615 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.1613, allocations: 0 / 0.5615 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.1613, allocations: 4 kB / 0.5615 GB, free: 180 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1613, allocations: 3.984 kB / 0.5615 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.1615, allocations: 43.97 kB / 0.5616 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008007/0.1623, allocations: 476.8 kB / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004578/0.1627, allocations: 113.2 kB / 0.5621 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.1628, allocations: 45.81 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.1629, allocations: 4 kB / 0.5622 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002927/0.1632, allocations: 117.2 kB / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.1632, allocations: 0 / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.00154/0.1647, allocations: 0.5009 MB / 0.5628 GB, free: 14.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.1648, allocations: 77.11 kB / 0.5629 GB, free: 14.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/0.1652, allocations: 375.3 kB / 0.5632 GB, free: 14.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.1653, allocations: 33.7 kB / 0.5633 GB, free: 14.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.1654, allocations: 144.5 kB / 0.5634 GB, free: 14.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.835e-05/0.1655, allocations: 75.38 kB / 0.5635 GB, free: 14.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.181e-05/0.1656, allocations: 41.7 kB / 0.5635 GB, free: 14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.1658, allocations: 338.8 kB / 0.5638 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1659, allocations: 63.97 kB / 0.5639 GB, free: 13.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.1661, allocations: 93.53 kB / 0.564 GB, free: 13.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.1664, allocations: 163.4 kB / 0.5641 GB, free: 13.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1664, allocations: 4 kB / 0.5641 GB, free: 13.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000464/0.1669, allocations: 233.2 kB / 0.5644 GB, free: 13.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.1669, allocations: 8 kB / 0.5644 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1669, allocations: 0 / 0.5644 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1669, allocations: 3.938 kB / 0.5644 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.1671, allocations: 55.91 kB / 0.5644 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1671, allocations: 4 kB / 0.5644 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.06e-05/0.1672, allocations: 8 kB / 0.5644 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.1672, allocations: 8.062 kB / 0.5644 GB, free: 13 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.0001822/0.1674, allocations: 157.8 kB / 0.5646 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-05/0.1674, allocations: 35.69 kB / 0.5646 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.091e-05/0.1675, allocations: 33.83 kB / 0.5647 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1675, allocations: 4 kB / 0.5647 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.1675, allocations: 0 / 0.5647 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1675, allocations: 4 kB / 0.5647 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.1686, allocations: 0.7195 MB / 0.5654 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.1686, allocations: 4 kB / 0.5654 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.077e-05/0.1687, allocations: 31.92 kB / 0.5654 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1687, allocations: 4 kB / 0.5654 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.1687, allocations: 4 kB / 0.5654 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.1687, allocations: 4 kB / 0.5654 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1687, allocations: 4.062 kB / 0.5654 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005862/0.1693, allocations: 420.1 kB / 0.5658 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.85e-05/0.1694, allocations: 104.9 kB / 0.5659 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.1694, allocations: 12 kB / 0.5659 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.1696, allocations: 8.172 kB / 0.5659 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.9e-05/0.1697, allocations: 23.92 kB / 0.566 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/0.1697, allocations: 15.92 kB / 0.566 GB, free: 11.31 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003374/0.17, allocations: 273.9 kB / 0.5662 GB, free: 11.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.17, allocations: 0 / 0.5662 GB, free: 11.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003985/0.1704, allocations: 47.94 kB / 0.5663 GB, free: 10.99 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.003119/0.1735, allocations: 1.375 MB / 0.5676 GB, free: 9.793 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00048/0.174, allocations: 151.8 kB / 0.5678 GB, free: 9.645 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.174, allocations: 0 / 0.5678 GB, free: 9.645 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.1742, allocations: 71.84 kB / 0.5678 GB, free: 9.574 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006204/0.1748, allocations: 59.2 kB / 0.5679 GB, free: 9.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.179, allocations: 2.727 MB / 0.5706 GB, free: 6.668 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/0.1794, allocations: 0.7636 MB / 0.5713 GB, free: 5.879 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000142/0.1796, allocations: 41.92 kB / 0.5714 GB, free: 5.836 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.1797, allocations: 83.41 kB / 0.5714 GB, free: 5.754 MB / 430.1 MB Notification: Performance of SimCode: time 6.02e-07/0.1797, allocations: 0 / 0.5714 GB, free: 5.754 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.205, allocations: 6.176 MB / 0.5775 GB, free: 15.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.816/9.021, allocations: 16 kB / 0.5775 GB, free: 15.64 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.25396667298628]