Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001302/0.001302, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001358/0.001358, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.516/1.516, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2354/0.2354, allocations: 46.93 MB / 357.1 MB, free: 10.32 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.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.89 kB / 0.491 GB, free: 7.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1211, allocations: 65.98 MB / 0.5555 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003154/0.1243, allocations: 1.774 MB / 0.5572 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.1261, allocations: 1.044 MB / 0.5582 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.685e-05/0.1261, allocations: 4 kB / 0.5582 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.1265, allocations: 103.6 kB / 0.5583 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003425/0.1268, allocations: 127.5 kB / 0.5584 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.127, allocations: 83.66 kB / 0.5585 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.1272, allocations: 139.6 kB / 0.5587 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1273, allocations: 17.39 kB / 0.5587 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.1274, allocations: 67.75 kB / 0.5587 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.1276, allocations: 79.72 kB / 0.5588 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.1276, allocations: 4 kB / 0.5588 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1277, allocations: 59.98 kB / 0.5589 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.12e-05/0.1278, allocations: 27.86 kB / 0.5589 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.857e-05/0.1278, allocations: 63.53 kB / 0.559 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.1281, allocations: 155.3 kB / 0.5591 GB, free: 2.004 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1281, allocations: 0 / 0.5591 GB, free: 2.004 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1281, allocations: 7.938 kB / 0.5591 GB, free: 1.996 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1281, allocations: 4 kB / 0.5591 GB, free: 1.992 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006253/0.1287, allocations: 470.2 kB / 0.5596 GB, free: 1.484 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1288, allocations: 8.031 kB / 0.5596 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.361e-05/0.1288, allocations: 38.73 kB / 0.5596 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.1288, allocations: 20.84 kB / 0.5596 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.1292, allocations: 225 kB / 0.5598 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1292, allocations: 4.375 kB / 0.5599 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1292, allocations: 7.938 kB / 0.5599 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.1294, allocations: 77.59 kB / 0.5599 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1294, allocations: 7.953 kB / 0.5599 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1294, allocations: 4 kB / 0.5599 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1294, allocations: 0 / 0.5599 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.1295, allocations: 35.97 kB / 0.56 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.13, allocations: 336.6 kB / 0.5603 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.1303, allocations: 70.55 kB / 0.5604 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.06e-05/0.1303, allocations: 24.84 kB / 0.5604 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.1304, allocations: 0 / 0.5604 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.1305, allocations: 79.33 kB / 0.5605 GB, free: 444 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.1305, allocations: 0 / 0.5605 GB, free: 444 kB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009306/0.1315, allocations: 305.6 kB / 0.5608 GB, free: 132 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.1315, allocations: 59.41 kB / 0.5608 GB, free: 60 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.1318, allocations: 255.7 kB / 0.5611 GB, free: 15.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.1318, allocations: 29.7 kB / 0.5611 GB, free: 15.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.848e-05/0.1319, allocations: 116.4 kB / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.46e-05/0.1319, allocations: 51.78 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.132, allocations: 29.7 kB / 0.5613 GB, free: 15.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1321, allocations: 334.8 kB / 0.5616 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-05/0.1322, allocations: 39.98 kB / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1323, allocations: 61.62 kB / 0.5617 GB, free: 15.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.1325, allocations: 105.6 kB / 0.5618 GB, free: 15.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1325, allocations: 0 / 0.5618 GB, free: 15.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002823/0.1328, allocations: 157.2 kB / 0.5619 GB, free: 14.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1328, allocations: 4 kB / 0.5619 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1328, allocations: 8.031 kB / 0.562 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.1329, allocations: 8.031 kB / 0.562 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.955e-05/0.133, allocations: 31.86 kB / 0.562 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.133, allocations: 7.984 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.133, allocations: 4 kB / 0.562 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.133, allocations: 4 kB / 0.562 GB, free: 14.79 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 (16): * Single equations (assignments): 16 * 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.0001369/0.1332, allocations: 138.3 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.1332, allocations: 23.86 kB / 0.5622 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.888e-05/0.1333, allocations: 29.45 kB / 0.5622 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1333, allocations: 4 kB / 0.5622 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1333, allocations: 0 / 0.5622 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1333, allocations: 3.938 kB / 0.5622 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007151/0.134, allocations: 0.4961 MB / 0.5627 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.134, allocations: 4 kB / 0.5627 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.267e-05/0.1341, allocations: 19.98 kB / 0.5627 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1341, allocations: 64 / 0.5627 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.1341, allocations: 15.94 kB / 0.5627 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1341, allocations: 0 / 0.5627 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1341, allocations: 0 / 0.5627 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.1344, allocations: 265 kB / 0.563 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.327e-05/0.1345, allocations: 89.02 kB / 0.5631 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.1345, allocations: 8 kB / 0.5631 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.1346, allocations: 7.984 kB / 0.5631 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.1347, allocations: 11.98 kB / 0.5631 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.1347, allocations: 4 kB / 0.5631 GB, free: 13.56 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001759/0.1348, allocations: 201.4 kB / 0.5633 GB, free: 13.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1348, allocations: 0 / 0.5633 GB, free: 13.37 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.1351, allocations: 35.92 kB / 0.5633 GB, free: 13.33 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 (14): * Single equations (assignments): 12 * 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.002583/0.1377, allocations: 1.213 MB / 0.5645 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000288/0.138, allocations: 99.89 kB / 0.5646 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.138, allocations: 0 / 0.5646 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.1381, allocations: 51.98 kB / 0.5646 GB, free: 12.15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.1385, allocations: 31.92 kB / 0.5647 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.1411, allocations: 2.007 MB / 0.5666 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.1415, allocations: 0.7278 MB / 0.5673 GB, free: 9.262 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.914e-05/0.1415, allocations: 25.41 kB / 0.5674 GB, free: 9.234 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.1416, allocations: 59.34 kB / 0.5674 GB, free: 9.176 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1416, allocations: 4 kB / 0.5674 GB, free: 9.172 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.1726, allocations: 4.359 MB / 0.5717 GB, free: 4.867 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.048, allocations: 24.39 kB / 0.5717 GB, free: 4.848 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.333804290989065]