Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001366/0.001366, allocations: 113 kB / 18.49 MB, free: 4.539 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.001526/0.001526, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.508/1.508, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.2335/0.2335, allocations: 46.91 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.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.89 kB / 0.4917 GB, free: 7.82 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1497, allocations: 65.99 MB / 0.5562 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003544/0.1532, allocations: 1.748 MB / 0.5579 GB, free: 3.934 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.1551, allocations: 1.044 MB / 0.5589 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.182e-05/0.1552, allocations: 0 / 0.5589 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003811/0.1556, allocations: 91.69 kB / 0.559 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004047/0.156, allocations: 119.5 kB / 0.5591 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.1562, allocations: 79.72 kB / 0.5592 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.1565, allocations: 127.6 kB / 0.5593 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1566, allocations: 15.98 kB / 0.5593 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.1567, allocations: 55.77 kB / 0.5594 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.1569, allocations: 71.73 kB / 0.5594 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.1569, allocations: 8 kB / 0.5594 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.157, allocations: 67.91 kB / 0.5595 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.31e-05/0.1571, allocations: 23.92 kB / 0.5595 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.766e-05/0.1572, allocations: 43.67 kB / 0.5596 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.1575, allocations: 139.4 kB / 0.5597 GB, free: 2.055 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1575, allocations: 0 / 0.5597 GB, free: 2.055 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1575, allocations: 0 / 0.5597 GB, free: 2.055 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1575, allocations: 3.938 kB / 0.5597 GB, free: 2.051 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.0007025/0.1582, allocations: 454.3 kB / 0.5601 GB, free: 1.559 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1582, allocations: 12.03 kB / 0.5601 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.82e-05/0.1582, allocations: 192 / 0.5601 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.1583, allocations: 38.75 kB / 0.5602 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.43e-05/0.1583, allocations: 12.84 kB / 0.5602 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.1587, allocations: 220.9 kB / 0.5604 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.1587, allocations: 8.125 kB / 0.5604 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1587, allocations: 7.984 kB / 0.5604 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.1589, allocations: 61.66 kB / 0.5605 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1589, allocations: 0 / 0.5605 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1589, allocations: 4 kB / 0.5605 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1589, allocations: 0 / 0.5605 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.154e-05/0.159, allocations: 27.92 kB / 0.5605 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.1594, allocations: 304.8 kB / 0.5608 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.1597, allocations: 54.55 kB / 0.5608 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.584e-05/0.1598, allocations: 24.97 kB / 0.5609 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.1598, allocations: 3.938 kB / 0.5609 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.16, allocations: 67.47 kB / 0.5609 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.16, allocations: 0 / 0.5609 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008374/0.1608, allocations: 249.7 kB / 0.5612 GB, free: 356 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.1609, allocations: 59.33 kB / 0.5612 GB, free: 284 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.1611, allocations: 242 kB / 0.5615 GB, free: 32 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.026e-05/0.1611, allocations: 29.75 kB / 0.5615 GB, free: 15.99 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.761e-05/0.1612, allocations: 112 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/0.1613, allocations: 31.73 kB / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.1613, allocations: 29.72 kB / 0.5617 GB, free: 15.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1615, allocations: 322.8 kB / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/0.1616, allocations: 27.98 kB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.1617, allocations: 53.64 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.1618, allocations: 77.7 kB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1618, allocations: 0 / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002462/0.1621, allocations: 129.5 kB / 0.5622 GB, free: 15.19 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1621, allocations: 4 kB / 0.5622 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1621, allocations: 4 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1621, allocations: 3.938 kB / 0.5623 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1622, allocations: 28.02 kB / 0.5623 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1622, allocations: 4 kB / 0.5623 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.808e-05/0.1623, allocations: 0 / 0.5623 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.1623, allocations: 8 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (13): * Single equations (assignments): 13 * 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.0001269/0.1624, allocations: 136 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.1624, allocations: 15.91 kB / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.224e-05/0.1625, allocations: 29.33 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1625, allocations: 3.938 kB / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1625, allocations: 0 / 0.5625 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1625, allocations: 4 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005848/0.1631, allocations: 460 kB / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1631, allocations: 0 / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.715e-05/0.1632, allocations: 12 kB / 0.5629 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.1632, allocations: 4 kB / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1632, allocations: 3.984 kB / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1632, allocations: 0 / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1632, allocations: 4 kB / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.1635, allocations: 237 kB / 0.5632 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.688e-05/0.1636, allocations: 97 kB / 0.5633 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.1636, allocations: 4 kB / 0.5633 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.1637, allocations: 0 / 0.5633 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.1637, allocations: 15.98 kB / 0.5633 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.1637, allocations: 8 kB / 0.5633 GB, free: 14.01 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002113/0.1639, allocations: 172.4 kB / 0.5634 GB, free: 13.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1639, allocations: 0 / 0.5634 GB, free: 13.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.1642, allocations: 27.94 kB / 0.5635 GB, free: 13.82 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003322/0.1675, allocations: 1.188 MB / 0.5646 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003376/0.1679, allocations: 71.91 kB / 0.5647 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1679, allocations: 0 / 0.5647 GB, free: 12.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.168, allocations: 39.92 kB / 0.5647 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006028/0.1686, allocations: 39.09 kB / 0.5648 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.1721, allocations: 1.862 MB / 0.5666 GB, free: 10.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/0.1727, allocations: 0.7197 MB / 0.5673 GB, free: 9.965 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.1728, allocations: 20.61 kB / 0.5673 GB, free: 9.941 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.1729, allocations: 47.42 kB / 0.5674 GB, free: 9.895 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1729, allocations: 0 / 0.5674 GB, free: 9.895 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.1999, allocations: 4.015 MB / 0.5713 GB, free: 5.957 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.46/8.66, allocations: 12 kB / 0.5713 GB, free: 5.945 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.956012909009587]