Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 119 kB / 18.5 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 190.9 kB / 21.44 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.6 MB / 249.8 MB, free: 3.719 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2381/0.2381, allocations: 44.91 MB / 349.6 MB, free: 1.719 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002736/0.002736, allocations: 70.27 kB / 491.8 MB, free: 30.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1611, allocations: 64.25 MB / 0.5431 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003792/0.1649, allocations: 1.799 MB / 0.5448 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.1668, allocations: 0.9704 MB / 0.5458 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.403e-05/0.1668, allocations: 7.938 kB / 0.5458 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006088/0.1675, allocations: 307.3 kB / 0.5461 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004471/0.1679, allocations: 211.4 kB / 0.5463 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004914/0.1684, allocations: 164.8 kB / 0.5464 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.1687, allocations: 243.4 kB / 0.5467 GB, free: 328 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.587e-05/0.1688, allocations: 5.562 kB / 0.5467 GB, free: 316 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.169, allocations: 131.5 kB / 0.5468 GB, free: 184 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.1693, allocations: 215.6 kB / 0.547 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.1694, allocations: 8 kB / 0.547 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1695, allocations: 43.86 kB / 0.5471 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.1696, allocations: 143.6 kB / 0.5472 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.1698, allocations: 146.8 kB / 0.5473 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004963/0.1703, allocations: 370.5 kB / 0.5477 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1703, allocations: 0 / 0.5477 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1703, allocations: 0 / 0.5477 GB, free: 15.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1703, allocations: 3.938 kB / 0.5477 GB, free: 15.27 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.001336/0.1716, allocations: 0.7422 MB / 0.5484 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.425e-05/0.1717, allocations: 15.97 kB / 0.5484 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.457e-05/0.1718, allocations: 38.75 kB / 0.5485 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.1719, allocations: 52.61 kB / 0.5485 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.173, allocations: 452.4 kB / 0.5489 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.173, allocations: 4.375 kB / 0.5489 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.173, allocations: 3.938 kB / 0.549 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.1733, allocations: 83.36 kB / 0.549 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1733, allocations: 4 kB / 0.549 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.1733, allocations: 7.938 kB / 0.549 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1733, allocations: 0 / 0.549 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.1735, allocations: 31.97 kB / 0.5491 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006383/0.1742, allocations: 378.4 kB / 0.5494 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004231/0.1746, allocations: 105.1 kB / 0.5495 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.1747, allocations: 37.7 kB / 0.5496 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.1747, allocations: 0 / 0.5496 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003399/0.1751, allocations: 113 kB / 0.5497 GB, free: 13.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.1751, allocations: 0 / 0.5497 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007434/0.1758, allocations: 209.2 kB / 0.5499 GB, free: 12.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/0.1759, allocations: 77.11 kB / 0.5499 GB, free: 12.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.1777, allocations: 1.03 MB / 0.551 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.1778, allocations: 33.7 kB / 0.551 GB, free: 11.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.1781, allocations: 228.1 kB / 0.5512 GB, free: 11.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.75e-05/0.1781, allocations: 27.8 kB / 0.5512 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.981e-05/0.1782, allocations: 33.7 kB / 0.5513 GB, free: 11.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002622/0.1785, allocations: 366.8 kB / 0.5516 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.1786, allocations: 27.98 kB / 0.5516 GB, free: 10.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.1788, allocations: 62.78 kB / 0.5517 GB, free: 10.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.1791, allocations: 91.3 kB / 0.5518 GB, free: 10.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.1791, allocations: 3.938 kB / 0.5518 GB, free: 10.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000492/0.1796, allocations: 173.2 kB / 0.552 GB, free: 10.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.1796, allocations: 4 kB / 0.552 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1796, allocations: 7.938 kB / 0.552 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1796, allocations: 0 / 0.552 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.1798, allocations: 23.98 kB / 0.552 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1798, allocations: 8 kB / 0.552 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.18, allocations: 8.562 kB / 0.552 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.18, allocations: 8 kB / 0.552 GB, free: 10.54 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.000353/0.1803, allocations: 225.6 kB / 0.5522 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.1804, allocations: 55.62 kB / 0.5523 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.1806, allocations: 60 kB / 0.5523 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.1806, allocations: 4 kB / 0.5523 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.1806, allocations: 4 kB / 0.5523 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1806, allocations: 0 / 0.5523 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.1811, allocations: 345.4 kB / 0.5527 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1811, allocations: 0 / 0.5527 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/0.1812, allocations: 12 kB / 0.5527 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/0.1812, allocations: 3.984 kB / 0.5527 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.1812, allocations: 3.984 kB / 0.5527 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.1812, allocations: 4 kB / 0.5527 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1812, allocations: 0 / 0.5527 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005328/0.1817, allocations: 205.5 kB / 0.5529 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.182, allocations: 136.8 kB / 0.553 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-05/0.182, allocations: 4 kB / 0.553 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.1822, allocations: 7.984 kB / 0.553 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.1822, allocations: 7.984 kB / 0.553 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.1823, allocations: 8 kB / 0.5531 GB, free: 9.371 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001339/0.1836, allocations: 0.7682 MB / 0.5538 GB, free: 8.605 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1836, allocations: 0 / 0.5538 GB, free: 8.605 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004802/0.1841, allocations: 47.92 kB / 0.5538 GB, free: 8.559 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.002989/0.1871, allocations: 1.057 MB / 0.5549 GB, free: 7.637 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004386/0.1875, allocations: 79.95 kB / 0.555 GB, free: 7.559 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1875, allocations: 0 / 0.555 GB, free: 7.559 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.1877, allocations: 35.92 kB / 0.555 GB, free: 7.523 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007335/0.1884, allocations: 72.23 kB / 0.5551 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007037/0.1955, allocations: 4.52 MB / 0.5595 GB, free: 2.832 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005802/0.196, allocations: 0.8425 MB / 0.5603 GB, free: 1.965 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001644/0.1962, allocations: 62.94 kB / 0.5604 GB, free: 1.902 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003/0.1965, allocations: 151.4 kB / 0.5605 GB, free: 1.754 MB / 414.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1965, allocations: 0 / 0.5605 GB, free: 1.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04686/0.2434, allocations: 8.979 MB / 0.5693 GB, free: 8.816 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.658/8.901, allocations: 8.062 kB / 0.5693 GB, free: 8.809 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.12578299222514]