Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.001678/0.001678, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002648/0.002648, allocations: 213.7 kB / 22.99 MB, free: 4.977 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.756/1.756, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2523/0.2523, allocations: 44.26 MB / 330.3 MB, free: 9.402 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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",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.002502/0.002502, allocations: 76.5 kB / 467.6 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.139, allocations: 61.04 MB / 0.5162 GB, free: 7.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003727/0.1427, allocations: 1.688 MB / 0.5179 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1442, allocations: 0.7767 MB / 0.5186 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.232e-05/0.1443, allocations: 7.875 kB / 0.5186 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.1447, allocations: 107.7 kB / 0.5187 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.145, allocations: 87.64 kB / 0.5188 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.1452, allocations: 91.77 kB / 0.5189 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.1455, allocations: 103.7 kB / 0.519 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1456, allocations: 16.2 kB / 0.519 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.1458, allocations: 55.77 kB / 0.5191 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.1459, allocations: 75.67 kB / 0.5191 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1459, allocations: 0 / 0.5191 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.146, allocations: 43.98 kB / 0.5192 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.1461, allocations: 23.92 kB / 0.5192 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.094e-05/0.1462, allocations: 31.78 kB / 0.5192 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.1464, allocations: 123.4 kB / 0.5193 GB, free: 3.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1464, allocations: 4 kB / 0.5193 GB, free: 3.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1464, allocations: 0 / 0.5193 GB, free: 3.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1464, allocations: 0 / 0.5193 GB, free: 3.895 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006126/0.147, allocations: 361.5 kB / 0.5197 GB, free: 3.512 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1471, allocations: 11.97 kB / 0.5197 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.1471, allocations: 34.73 kB / 0.5197 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.1472, allocations: 16.84 kB / 0.5198 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.1475, allocations: 147.2 kB / 0.5199 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1475, allocations: 4.375 kB / 0.5199 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.1475, allocations: 7.938 kB / 0.5199 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1477, allocations: 57.67 kB / 0.52 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1477, allocations: 0 / 0.52 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.1477, allocations: 0 / 0.52 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1477, allocations: 4 kB / 0.52 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.97e-05/0.1478, allocations: 19.92 kB / 0.52 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.1482, allocations: 271.9 kB / 0.5202 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.1484, allocations: 50.69 kB / 0.5203 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/0.1484, allocations: 20.84 kB / 0.5203 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.1485, allocations: 0 / 0.5203 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.1487, allocations: 83.31 kB / 0.5204 GB, free: 2.691 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1487, allocations: 3.938 kB / 0.5204 GB, free: 2.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005739/0.1492, allocations: 189.3 kB / 0.5206 GB, free: 2.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.1493, allocations: 55.41 kB / 0.5206 GB, free: 2.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.1495, allocations: 246.1 kB / 0.5209 GB, free: 2.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.1496, allocations: 33.7 kB / 0.5209 GB, free: 2.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.544e-05/0.1496, allocations: 104.1 kB / 0.521 GB, free: 2.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.1497, allocations: 27.78 kB / 0.521 GB, free: 2.004 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.1497, allocations: 25.72 kB / 0.521 GB, free: 1.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.1499, allocations: 326.8 kB / 0.5214 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.158e-05/0.15, allocations: 23.98 kB / 0.5214 GB, free: 1.621 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.192e-05/0.1501, allocations: 37.7 kB / 0.5214 GB, free: 1.578 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1502, allocations: 65.62 kB / 0.5215 GB, free: 1.508 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1502, allocations: 4 kB / 0.5215 GB, free: 1.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002101/0.1504, allocations: 105.5 kB / 0.5216 GB, free: 1.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1504, allocations: 5.875 kB / 0.5216 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1504, allocations: 0 / 0.5216 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1504, allocations: 4.031 kB / 0.5216 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.64e-05/0.1505, allocations: 16 kB / 0.5216 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1505, allocations: 0 / 0.5216 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.358e-05/0.1506, allocations: 15.86 kB / 0.5216 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.1506, allocations: 4 kB / 0.5216 GB, free: 1.352 MB / 398.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 (10): * Single equations (assignments): 10 * 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.0001276/0.1507, allocations: 133.8 kB / 0.5218 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.1507, allocations: 11.91 kB / 0.5218 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002747/0.151, allocations: 127.1 kB / 0.5219 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.151, allocations: 0 / 0.5219 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.151, allocations: 0 / 0.5219 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.151, allocations: 11.94 kB / 0.5219 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005129/0.1516, allocations: 370.4 kB / 0.5223 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1516, allocations: 0 / 0.5223 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.565e-05/0.1516, allocations: 19.92 kB / 0.5223 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1516, allocations: 4.219 kB / 0.5223 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.1516, allocations: 0 / 0.5223 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1516, allocations: 384 / 0.5223 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1516, allocations: 7.938 kB / 0.5223 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002755/0.1519, allocations: 224.2 kB / 0.5225 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.377e-05/0.1519, allocations: 15.94 kB / 0.5225 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.1519, allocations: 7.938 kB / 0.5225 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.778e-05/0.152, allocations: 8 kB / 0.5225 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.1521, allocations: 7.984 kB / 0.5225 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1521, allocations: 0 / 0.5225 GB, free: 340 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001931/0.1523, allocations: 184.4 kB / 0.5227 GB, free: 156 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1523, allocations: 0 / 0.5227 GB, free: 156 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003244/0.1526, allocations: 27.94 kB / 0.5227 GB, free: 128 kB / 398.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: 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 (9): * Single equations (assignments): 7 * 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.00245/0.155, allocations: 1.139 MB / 0.5238 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.1553, allocations: 59.91 kB / 0.5239 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1553, allocations: 3.938 kB / 0.5239 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.298e-05/0.1554, allocations: 31.92 kB / 0.5239 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.1557, allocations: 28.11 kB / 0.524 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.1581, allocations: 1.766 MB / 0.5257 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.1582, allocations: 108.5 kB / 0.5258 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.731e-05/0.1583, allocations: 12.8 kB / 0.5258 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.845e-05/0.1583, allocations: 47.41 kB / 0.5259 GB, free: 12.84 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1583, allocations: 0 / 0.5259 GB, free: 12.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03395/0.1923, allocations: 4.307 MB / 0.5301 GB, free: 8.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.5, allocations: 8.047 kB / 0.5301 GB, free: 8.41 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.164142239838839]