Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.001278/0.001278, allocations: 116.4 kB / 18.5 MB, free: 4.602 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.001411/0.001411, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.526/1.526, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.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.2303/0.2303, allocations: 46.91 MB / 357.4 MB, free: 10.5 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 79.88 kB / 0.4913 GB, free: 8.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1657, allocations: 66 MB / 0.5557 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.004052/0.1698, allocations: 1.832 MB / 0.5575 GB, free: 4.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00296/0.1727, allocations: 1.712 MB / 0.5592 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1728, allocations: 3.938 kB / 0.5592 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.1732, allocations: 51.69 kB / 0.5593 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000422/0.1736, allocations: 139.4 kB / 0.5594 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.1739, allocations: 107.6 kB / 0.5595 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.1742, allocations: 207.3 kB / 0.5597 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.644e-05/0.1743, allocations: 13.69 kB / 0.5597 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.1744, allocations: 87.62 kB / 0.5598 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.1747, allocations: 79.61 kB / 0.5599 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/0.1747, allocations: 12 kB / 0.5599 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.1749, allocations: 107.9 kB / 0.56 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.327e-05/0.175, allocations: 43.77 kB / 0.56 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.36e-05/0.1751, allocations: 59.61 kB / 0.5601 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003943/0.1755, allocations: 239 kB / 0.5603 GB, free: 1.641 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1755, allocations: 0 / 0.5603 GB, free: 1.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1755, allocations: 0 / 0.5603 GB, free: 1.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.1755, allocations: 0 / 0.5603 GB, free: 1.641 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.0008434/0.1763, allocations: 0.4902 MB / 0.5608 GB, free: 1.102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1764, allocations: 12.03 kB / 0.5608 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.628e-05/0.1764, allocations: 38.69 kB / 0.5608 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.1765, allocations: 20.83 kB / 0.5609 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.1769, allocations: 265 kB / 0.5611 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.1769, allocations: 8.297 kB / 0.5611 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.1769, allocations: 4.375 kB / 0.5611 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.1771, allocations: 93.22 kB / 0.5612 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1771, allocations: 0 / 0.5612 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.1771, allocations: 7.984 kB / 0.5612 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1772, allocations: 4 kB / 0.5612 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.1773, allocations: 31.92 kB / 0.5613 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002633/0.1775, allocations: 218.5 kB / 0.5615 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.1778, allocations: 101.2 kB / 0.5616 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.577e-05/0.1779, allocations: 41.7 kB / 0.5616 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.1779, allocations: 7.969 kB / 0.5616 GB, free: 128 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.1782, allocations: 105 kB / 0.5617 GB, free: 4 kB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 3.186e-06/0.1782, allocations: 4 kB / 0.5617 GB, free: 0 / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004763/0.1787, allocations: 174 kB / 0.5619 GB, free: 15.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.1788, allocations: 132.5 kB / 0.562 GB, free: 15.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.179, allocations: 240.9 kB / 0.5622 GB, free: 15.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.1791, allocations: 29.7 kB / 0.5623 GB, free: 15.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/0.1792, allocations: 116.1 kB / 0.5624 GB, free: 15.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.1792, allocations: 31.73 kB / 0.5624 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.1793, allocations: 33.7 kB / 0.5624 GB, free: 15.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1794, allocations: 330.8 kB / 0.5627 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.1795, allocations: 27.98 kB / 0.5628 GB, free: 14.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.1796, allocations: 69.12 kB / 0.5628 GB, free: 14.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.1798, allocations: 91.39 kB / 0.5629 GB, free: 14.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1798, allocations: 0 / 0.5629 GB, free: 14.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002917/0.1801, allocations: 137.4 kB / 0.5631 GB, free: 14.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1801, allocations: 4 kB / 0.5631 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1801, allocations: 0 / 0.5631 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1802, allocations: 4 kB / 0.5631 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.1803, allocations: 19.94 kB / 0.5631 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1803, allocations: 8.047 kB / 0.5631 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.196e-05/0.1804, allocations: 19.89 kB / 0.5631 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1804, allocations: 4 kB / 0.5631 GB, free: 14.45 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.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.0001411/0.1805, allocations: 133.8 kB / 0.5632 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.1806, allocations: 19.84 kB / 0.5633 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.339e-05/0.1806, allocations: 28.92 kB / 0.5633 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1806, allocations: 0 / 0.5633 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1806, allocations: 192 / 0.5633 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1807, allocations: 0 / 0.5633 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.1809, allocations: 237.4 kB / 0.5635 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1809, allocations: 3.938 kB / 0.5635 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.1809, allocations: 8 kB / 0.5635 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1809, allocations: 0 / 0.5635 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.1809, allocations: 7.984 kB / 0.5635 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.1809, allocations: 4 kB / 0.5635 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1809, allocations: 0 / 0.5635 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.1813, allocations: 165.8 kB / 0.5637 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.749e-05/0.1814, allocations: 100.9 kB / 0.5638 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.1814, allocations: 4 kB / 0.5638 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/0.1815, allocations: 4 kB / 0.5638 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.1815, allocations: 11.98 kB / 0.5638 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.1815, allocations: 4 kB / 0.5638 GB, free: 13.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.1817, allocations: 185.6 kB / 0.564 GB, free: 13.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1817, allocations: 0 / 0.564 GB, free: 13.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003019/0.182, allocations: 47.88 kB / 0.564 GB, free: 13.4 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.002315/0.1844, allocations: 1.113 MB / 0.5651 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.1846, allocations: 79.84 kB / 0.5652 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1846, allocations: 0 / 0.5652 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.1847, allocations: 40.09 kB / 0.5652 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.1851, allocations: 53.12 kB / 0.5653 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.1875, allocations: 1.893 MB / 0.5671 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.1879, allocations: 0.7164 MB / 0.5678 GB, free: 9.527 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000105/0.188, allocations: 33.52 kB / 0.5679 GB, free: 9.496 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.1881, allocations: 59.41 kB / 0.5679 GB, free: 9.438 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1881, allocations: 0 / 0.5679 GB, free: 9.438 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.2179, allocations: 5.332 MB / 0.5731 GB, free: 4.137 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.174/8.392, allocations: 12 kB / 0.5731 GB, free: 4.125 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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: 11.558915133122355]