Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.00173/0.00173, allocations: 114.4 kB / 19.69 MB, free: 2.188 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.002023/0.002023, allocations: 215.3 kB / 23 MB, free: 5.008 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.458/1.458, allocations: 207.6 MB / 233.8 MB, free: 9.996 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.2154/0.2154, allocations: 44.25 MB / 330.3 MB, free: 9.508 MB / 270.1 MB " [Timeout remaining time 180] 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.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",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.002391/0.002391, allocations: 75.88 kB / 467.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1447, allocations: 61.04 MB / 0.5162 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.004529/0.1492, allocations: 1.816 MB / 0.518 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.1513, allocations: 0.8975 MB / 0.5188 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.1515, allocations: 3.938 kB / 0.5188 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007724/0.1523, allocations: 303.3 kB / 0.5191 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005749/0.1529, allocations: 207.4 kB / 0.5193 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005389/0.1534, allocations: 143.6 kB / 0.5195 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005325/0.1539, allocations: 251.3 kB / 0.5197 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.154, allocations: 10.02 kB / 0.5197 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.1544, allocations: 131.5 kB / 0.5198 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003532/0.1547, allocations: 207.9 kB / 0.52 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.1547, allocations: 11.94 kB / 0.5201 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.1549, allocations: 39.98 kB / 0.5201 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.1551, allocations: 140.5 kB / 0.5202 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.1553, allocations: 138.8 kB / 0.5204 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006054/0.1559, allocations: 362.3 kB / 0.5207 GB, free: 2.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.1559, allocations: 8 kB / 0.5207 GB, free: 2.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1559, allocations: 0 / 0.5207 GB, free: 2.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1559, allocations: 4 kB / 0.5207 GB, free: 2.613 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.001108/0.157, allocations: 0.6553 MB / 0.5214 GB, free: 1.926 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.1571, allocations: 11.97 kB / 0.5214 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.575e-05/0.1571, allocations: 34.73 kB / 0.5214 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.866e-05/0.1572, allocations: 52.61 kB / 0.5215 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006681/0.1579, allocations: 378.6 kB / 0.5218 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.1579, allocations: 384 / 0.5218 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.1579, allocations: 11.94 kB / 0.5218 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.1582, allocations: 91.34 kB / 0.5219 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1582, allocations: 0 / 0.5219 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1582, allocations: 7.938 kB / 0.5219 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1582, allocations: 0 / 0.5219 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1583, allocations: 27.97 kB / 0.5219 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.1588, allocations: 353.4 kB / 0.5223 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.159, allocations: 105.1 kB / 0.5224 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.745e-05/0.1591, allocations: 37.7 kB / 0.5224 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1592, allocations: 0 / 0.5224 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.1594, allocations: 113 kB / 0.5225 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 9.62e-07/0.1594, allocations: 0 / 0.5225 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005187/0.1599, allocations: 201.2 kB / 0.5227 GB, free: 400 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.16, allocations: 81.05 kB / 0.5228 GB, free: 300 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.1612, allocations: 1.007 MB / 0.5238 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.1612, allocations: 29.7 kB / 0.5238 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.1614, allocations: 232.1 kB / 0.524 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.982e-05/0.1614, allocations: 23.81 kB / 0.5241 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.1615, allocations: 29.7 kB / 0.5241 GB, free: 14.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.1617, allocations: 366.8 kB / 0.5244 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.423e-05/0.1618, allocations: 23.98 kB / 0.5245 GB, free: 14.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1619, allocations: 59.42 kB / 0.5245 GB, free: 14.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.1621, allocations: 99.78 kB / 0.5246 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1621, allocations: 3.938 kB / 0.5246 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003031/0.1624, allocations: 161.3 kB / 0.5248 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.1624, allocations: 12.06 kB / 0.5248 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1624, allocations: 7.922 kB / 0.5248 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1624, allocations: 0 / 0.5248 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.1626, allocations: 20 kB / 0.5248 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1626, allocations: 0 / 0.5248 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.862e-05/0.1627, allocations: 19.88 kB / 0.5248 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.1627, allocations: 4 kB / 0.5248 GB, free: 14.14 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.0002411/0.1629, allocations: 229.5 kB / 0.525 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.163, allocations: 51.67 kB / 0.5251 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003904/0.1634, allocations: 197.5 kB / 0.5253 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1634, allocations: 0 / 0.5253 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1634, allocations: 4 kB / 0.5253 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1634, allocations: 0 / 0.5253 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/0.1637, allocations: 312.4 kB / 0.5256 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1637, allocations: 0 / 0.5256 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.1638, allocations: 11.98 kB / 0.5256 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1638, allocations: 0 / 0.5256 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1638, allocations: 4.25 kB / 0.5256 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.1638, allocations: 8 kB / 0.5256 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1638, allocations: 0 / 0.5256 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.1642, allocations: 217.4 kB / 0.5258 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.1643, allocations: 63.61 kB / 0.5259 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/0.1643, allocations: 11.97 kB / 0.5259 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.619e-05/0.1644, allocations: 4 kB / 0.5259 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.1645, allocations: 11.98 kB / 0.5259 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.1645, allocations: 8 kB / 0.5259 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008337/0.1653, allocations: 0.7487 MB / 0.5266 GB, free: 12.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1653, allocations: 0 / 0.5266 GB, free: 12.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1656, allocations: 43.98 kB / 0.5267 GB, free: 12.17 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.002167/0.1677, allocations: 1.061 MB / 0.5277 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00027/0.168, allocations: 83.89 kB / 0.5278 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.168, allocations: 0 / 0.5278 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.1681, allocations: 39.92 kB / 0.5278 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.1685, allocations: 58.27 kB / 0.5279 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005806/0.1744, allocations: 4.427 MB / 0.5322 GB, free: 6.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005659/0.1749, allocations: 0.8426 MB / 0.533 GB, free: 5.543 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.1751, allocations: 58.94 kB / 0.5331 GB, free: 5.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.1753, allocations: 147.4 kB / 0.5332 GB, free: 5.34 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1753, allocations: 0 / 0.5332 GB, free: 5.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.277/0.4523, allocations: 9.058 MB / 0.5421 GB, free: 27.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12, allocations: 1.094 kB / 0.5421 GB, free: 27.2 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.070818556006998]