Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.001995/0.001995, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.002595/0.002595, allocations: 223.2 kB / 23 MB, free: 4.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 207.7 MB / 233.8 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2425/0.2425, allocations: 44.26 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003398/0.003398, allocations: 80.44 kB / 467.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1437, allocations: 61.04 MB / 0.5162 GB, free: 7.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003691/0.1474, allocations: 1.761 MB / 0.5179 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1491, allocations: 0.847 MB / 0.5187 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.1492, allocations: 4 kB / 0.5188 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006959/0.1499, allocations: 307.3 kB / 0.519 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004716/0.1504, allocations: 219.3 kB / 0.5193 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.1507, allocations: 143.7 kB / 0.5194 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.1511, allocations: 243.3 kB / 0.5196 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.955e-05/0.1512, allocations: 10.02 kB / 0.5196 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.1514, allocations: 131.5 kB / 0.5198 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.1517, allocations: 211.5 kB / 0.52 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.1517, allocations: 8 kB / 0.52 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1518, allocations: 43.98 kB / 0.52 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.152, allocations: 143.5 kB / 0.5201 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.1521, allocations: 111.1 kB / 0.5203 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004868/0.1526, allocations: 370.2 kB / 0.5206 GB, free: 2.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1526, allocations: 4 kB / 0.5206 GB, free: 2.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1526, allocations: 0 / 0.5206 GB, free: 2.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1526, allocations: 0 / 0.5206 GB, free: 2.594 MB / 398.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.001105/0.1537, allocations: 0.6786 MB / 0.5213 GB, free: 1.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.1538, allocations: 15.97 kB / 0.5213 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.212e-05/0.1538, allocations: 30.75 kB / 0.5213 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.367e-05/0.1539, allocations: 48.61 kB / 0.5214 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007041/0.1546, allocations: 386.6 kB / 0.5217 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.1546, allocations: 8.375 kB / 0.5217 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.1547, allocations: 7.938 kB / 0.5217 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.1549, allocations: 95.3 kB / 0.5218 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.1549, allocations: 0 / 0.5218 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1549, allocations: 0 / 0.5218 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1549, allocations: 4 kB / 0.5218 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.155, allocations: 35.95 kB / 0.5219 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004024/0.1554, allocations: 321.5 kB / 0.5222 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.1557, allocations: 113.1 kB / 0.5223 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.873e-05/0.1558, allocations: 41.7 kB / 0.5223 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.1558, allocations: 4 kB / 0.5223 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.1561, allocations: 113 kB / 0.5224 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1561, allocations: 0 / 0.5224 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004989/0.1566, allocations: 205.2 kB / 0.5226 GB, free: 352 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.1567, allocations: 77.11 kB / 0.5227 GB, free: 256 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.1579, allocations: 1.046 MB / 0.5237 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.1579, allocations: 33.7 kB / 0.5238 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.1581, allocations: 232.1 kB / 0.524 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.1582, allocations: 27.77 kB / 0.524 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.1582, allocations: 25.7 kB / 0.524 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.1584, allocations: 370.8 kB / 0.5244 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.1585, allocations: 27.98 kB / 0.5244 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.1587, allocations: 67.34 kB / 0.5245 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.1588, allocations: 91.91 kB / 0.5246 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.1589, allocations: 7.938 kB / 0.5246 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003283/0.1592, allocations: 177.2 kB / 0.5247 GB, free: 14.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1592, allocations: 11.98 kB / 0.5248 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.1592, allocations: 0 / 0.5248 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1592, allocations: 0 / 0.5248 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1593, allocations: 20 kB / 0.5248 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1593, allocations: 7.922 kB / 0.5248 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.715e-05/0.1594, allocations: 11.88 kB / 0.5248 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1595, allocations: 8.062 kB / 0.5248 GB, free: 14.04 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.0002326/0.1597, allocations: 233.5 kB / 0.525 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.277e-05/0.1598, allocations: 51.67 kB / 0.5251 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000403/0.1602, allocations: 205.6 kB / 0.5253 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1602, allocations: 0 / 0.5253 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.1602, allocations: 4 kB / 0.5253 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1602, allocations: 0 / 0.5253 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.1605, allocations: 296.5 kB / 0.5256 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1605, allocations: 4 kB / 0.5256 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.1605, allocations: 15.98 kB / 0.5256 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1605, allocations: 0 / 0.5256 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1605, allocations: 4 kB / 0.5256 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1605, allocations: 256 / 0.5256 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1605, allocations: 0 / 0.5256 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.1609, allocations: 229.4 kB / 0.5258 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.1611, allocations: 67.59 kB / 0.5259 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.1611, allocations: 4 kB / 0.5259 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.402e-05/0.1612, allocations: 8 kB / 0.5259 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.1613, allocations: 7.984 kB / 0.5259 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.1613, allocations: 11.98 kB / 0.5259 GB, free: 12.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008876/0.1622, allocations: 0.7722 MB / 0.5266 GB, free: 12.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1622, allocations: 4 kB / 0.5267 GB, free: 12.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.1624, allocations: 47.94 kB / 0.5267 GB, free: 12.02 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.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002302/0.1647, allocations: 1.087 MB / 0.5278 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.165, allocations: 83.89 kB / 0.5278 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.165, allocations: 0 / 0.5278 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.1651, allocations: 52.05 kB / 0.5279 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.1656, allocations: 67.23 kB / 0.528 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005931/0.1715, allocations: 4.538 MB / 0.5324 GB, free: 6.105 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.1718, allocations: 241.8 kB / 0.5326 GB, free: 5.848 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.1719, allocations: 58.94 kB / 0.5327 GB, free: 5.793 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.1721, allocations: 143.4 kB / 0.5328 GB, free: 5.652 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1721, allocations: 0 / 0.5328 GB, free: 5.652 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2857/0.4578, allocations: 9.85 MB / 0.5424 GB, free: 27.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.74, allocations: 3.391 kB / 0.5424 GB, free: 27.36 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 15.101514116860926]