Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001847/0.001847, 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.002133/0.002133, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.511/1.511, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2125/0.2125, allocations: 44.91 MB / 355.1 MB, free: 12.36 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001907/0.001907, allocations: 75.89 kB / 499.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1192, allocations: 65.42 MB / 0.5518 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003092/0.1223, allocations: 1.834 MB / 0.5536 GB, free: 8.266 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.1242, allocations: 1.109 MB / 0.5547 GB, free: 7.152 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.168e-05/0.1243, allocations: 0 / 0.5547 GB, free: 7.152 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005179/0.1248, allocations: 307.2 kB / 0.555 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004605/0.1253, allocations: 251.2 kB / 0.5552 GB, free: 6.605 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.1255, allocations: 103.7 kB / 0.5553 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003208/0.1258, allocations: 263.2 kB / 0.5556 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.1259, allocations: 9.688 kB / 0.5556 GB, free: 6.234 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.1261, allocations: 143.5 kB / 0.5557 GB, free: 6.094 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.1263, allocations: 204 kB / 0.5559 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.1263, allocations: 11.98 kB / 0.5559 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1264, allocations: 43.92 kB / 0.556 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.1266, allocations: 136.5 kB / 0.5561 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.1267, allocations: 150.8 kB / 0.5562 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.1271, allocations: 366.5 kB / 0.5566 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1271, allocations: 7.938 kB / 0.5566 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1271, allocations: 3.938 kB / 0.5566 GB, free: 5.188 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.1272, allocations: 0 / 0.5566 GB, free: 5.188 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.0009594/0.1281, allocations: 0.7539 MB / 0.5573 GB, free: 4.383 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1281, allocations: 12.03 kB / 0.5573 GB, free: 4.371 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.1282, allocations: 38.73 kB / 0.5574 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.944e-05/0.1283, allocations: 48.61 kB / 0.5574 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006048/0.1289, allocations: 456.4 kB / 0.5579 GB, free: 3.789 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1289, allocations: 4.312 kB / 0.5579 GB, free: 3.785 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.1289, allocations: 7.938 kB / 0.5579 GB, free: 3.777 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.1291, allocations: 83.36 kB / 0.558 GB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1291, allocations: 3.984 kB / 0.558 GB, free: 3.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1291, allocations: 0 / 0.558 GB, free: 3.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1291, allocations: 4 kB / 0.558 GB, free: 3.676 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.1293, allocations: 27.98 kB / 0.558 GB, free: 3.648 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.1297, allocations: 382.3 kB / 0.5584 GB, free: 3.223 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.13, allocations: 101.2 kB / 0.5585 GB, free: 3.105 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.9e-05/0.1301, allocations: 41.7 kB / 0.5585 GB, free: 3.059 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.1301, allocations: 0 / 0.5585 GB, free: 3.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002287/0.1303, allocations: 109 kB / 0.5586 GB, free: 2.934 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.1303, allocations: 0 / 0.5586 GB, free: 2.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005/0.1308, allocations: 209.2 kB / 0.5588 GB, free: 2.723 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.1309, allocations: 81.11 kB / 0.5589 GB, free: 2.625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.132, allocations: 1.019 MB / 0.5599 GB, free: 1.594 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.132, allocations: 33.7 kB / 0.5599 GB, free: 1.555 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.1322, allocations: 236.1 kB / 0.5601 GB, free: 1.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.1322, allocations: 27.78 kB / 0.5602 GB, free: 1.293 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.1323, allocations: 29.72 kB / 0.5602 GB, free: 1.258 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1325, allocations: 366.8 kB / 0.5605 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.715e-05/0.1325, allocations: 35.92 kB / 0.5606 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.1327, allocations: 55.42 kB / 0.5606 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.1328, allocations: 91.34 kB / 0.5607 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1328, allocations: 3.938 kB / 0.5607 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003077/0.1331, allocations: 173.2 kB / 0.5609 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1332, allocations: 4 kB / 0.5609 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1332, allocations: 4 kB / 0.5609 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1332, allocations: 0 / 0.5609 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.1333, allocations: 28.55 kB / 0.5609 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1333, allocations: 3.938 kB / 0.5609 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.766e-05/0.1334, allocations: 15.94 kB / 0.5609 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1334, allocations: 4 kB / 0.5609 GB, free: 460 kB / 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.0002264/0.1336, allocations: 228 kB / 0.5611 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.391e-05/0.1337, allocations: 55.66 kB / 0.5612 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.499e-05/0.1338, allocations: 60.09 kB / 0.5613 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1338, allocations: 0 / 0.5613 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1338, allocations: 0 / 0.5613 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.1338, allocations: 4 kB / 0.5613 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.1341, allocations: 341.3 kB / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1341, allocations: 0 / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.508e-05/0.1342, allocations: 8 kB / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1342, allocations: 7.938 kB / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1342, allocations: 4 kB / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1342, allocations: 0 / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1342, allocations: 3.984 kB / 0.5616 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.1345, allocations: 209.5 kB / 0.5618 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.1347, allocations: 136.8 kB / 0.5619 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.1347, allocations: 4 kB / 0.5619 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.31e-05/0.1348, allocations: 11.98 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.1348, allocations: 11.98 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.1349, allocations: 7.984 kB / 0.562 GB, free: 15.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008283/0.1357, allocations: 0.7604 MB / 0.5627 GB, free: 14.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1357, allocations: 0 / 0.5627 GB, free: 14.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.136, allocations: 40 kB / 0.5628 GB, free: 14.48 MB / 430.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.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002047/0.138, allocations: 1.058 MB / 0.5638 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.1383, allocations: 75.91 kB / 0.5639 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1383, allocations: 0 / 0.5639 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.1384, allocations: 39.91 kB / 0.5639 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.1388, allocations: 69.16 kB / 0.564 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005435/0.1442, allocations: 4.481 MB / 0.5683 GB, free: 8.789 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.1447, allocations: 0.8388 MB / 0.5692 GB, free: 7.922 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000131/0.1449, allocations: 62.94 kB / 0.5692 GB, free: 7.859 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.1451, allocations: 151.4 kB / 0.5694 GB, free: 7.715 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1451, allocations: 0 / 0.5694 GB, free: 7.715 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03427/0.1793, allocations: 8.982 MB / 0.5781 GB, free: 14.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.814/8.994, allocations: 11.09 kB / 0.5781 GB, free: 14.79 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 12.122657446190715]