Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.00179/0.00179, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002134/0.002134, allocations: 204.3 kB / 20.74 MB, free: 2.316 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.566/1.566, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2589/0.2589, allocations: 44.91 MB / 355.1 MB, free: 12.35 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.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",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.001921/0.001921, allocations: 71.89 kB / 499.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1273, allocations: 65.43 MB / 0.5519 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003216/0.1306, allocations: 1.748 MB / 0.5536 GB, free: 8.422 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.1323, allocations: 1.039 MB / 0.5546 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.959e-05/0.1324, allocations: 0 / 0.5546 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003249/0.1327, allocations: 99.67 kB / 0.5547 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.1331, allocations: 119.5 kB / 0.5548 GB, free: 7.164 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.1333, allocations: 75.73 kB / 0.5549 GB, free: 7.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.1335, allocations: 127.6 kB / 0.555 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.944e-05/0.1336, allocations: 16.27 kB / 0.555 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1337, allocations: 59.75 kB / 0.555 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1338, allocations: 75.73 kB / 0.5551 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1338, allocations: 4 kB / 0.5551 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.1339, allocations: 55.92 kB / 0.5552 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.453e-05/0.134, allocations: 39.89 kB / 0.5552 GB, free: 6.719 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.019e-05/0.1341, allocations: 39.69 kB / 0.5553 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.1343, allocations: 139.4 kB / 0.5554 GB, free: 6.543 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1343, allocations: 0 / 0.5554 GB, free: 6.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1343, allocations: 0 / 0.5554 GB, free: 6.543 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1343, allocations: 0 / 0.5554 GB, free: 6.543 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.0006657/0.135, allocations: 450.4 kB / 0.5558 GB, free: 6.055 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.135, allocations: 8.031 kB / 0.5558 GB, free: 6.047 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.152e-05/0.1351, allocations: 42.69 kB / 0.5559 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.1351, allocations: 16.84 kB / 0.5559 GB, free: 5.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.1354, allocations: 216.9 kB / 0.5561 GB, free: 5.727 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1354, allocations: 4.375 kB / 0.5561 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.1355, allocations: 7.938 kB / 0.5561 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.1356, allocations: 65.64 kB / 0.5562 GB, free: 5.645 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1357, allocations: 3.938 kB / 0.5562 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1357, allocations: 0 / 0.5562 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1357, allocations: 3.984 kB / 0.5562 GB, free: 5.637 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.772e-05/0.1358, allocations: 27.92 kB / 0.5562 GB, free: 5.609 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.1362, allocations: 304.8 kB / 0.5565 GB, free: 5.262 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.1365, allocations: 58.55 kB / 0.5565 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.66e-05/0.1366, allocations: 20.97 kB / 0.5566 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1366, allocations: 0 / 0.5566 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.1368, allocations: 75.33 kB / 0.5566 GB, free: 5.086 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.654e-06/0.1368, allocations: 0 / 0.5566 GB, free: 5.086 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008448/0.1376, allocations: 245.3 kB / 0.5569 GB, free: 4.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.1377, allocations: 59.34 kB / 0.5569 GB, free: 4.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.1379, allocations: 234.1 kB / 0.5571 GB, free: 4.531 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.138, allocations: 25.7 kB / 0.5572 GB, free: 4.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1381, allocations: 116.1 kB / 0.5573 GB, free: 4.383 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.1381, allocations: 35.73 kB / 0.5573 GB, free: 4.348 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.1382, allocations: 25.72 kB / 0.5573 GB, free: 4.316 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1383, allocations: 326.8 kB / 0.5577 GB, free: 3.988 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.881e-05/0.1384, allocations: 31.98 kB / 0.5577 GB, free: 3.957 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.787e-05/0.1385, allocations: 53.62 kB / 0.5577 GB, free: 3.898 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.1387, allocations: 77.66 kB / 0.5578 GB, free: 3.816 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1387, allocations: 4 kB / 0.5578 GB, free: 3.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002502/0.1389, allocations: 125.5 kB / 0.5579 GB, free: 3.684 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1389, allocations: 6.188 kB / 0.5579 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.139, allocations: 0 / 0.5579 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.139, allocations: 4 kB / 0.5579 GB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.791e-05/0.1391, allocations: 27.92 kB / 0.558 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1391, allocations: 0 / 0.558 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.815e-05/0.1391, allocations: 4 kB / 0.558 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1391, allocations: 4 kB / 0.558 GB, free: 3.641 MB / 414.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 (13): * Single equations (assignments): 13 * 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.0001355/0.1393, allocations: 143.9 kB / 0.5581 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.1393, allocations: 15.91 kB / 0.5581 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.101e-05/0.1393, allocations: 25.39 kB / 0.5582 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1394, allocations: 3.938 kB / 0.5582 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1394, allocations: 0 / 0.5582 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1394, allocations: 0 / 0.5582 GB, free: 3.441 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006024/0.14, allocations: 467.9 kB / 0.5586 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.14, allocations: 0 / 0.5586 GB, free: 2.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-05/0.14, allocations: 15.98 kB / 0.5586 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.14, allocations: 0 / 0.5586 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.14, allocations: 4 kB / 0.5586 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.14, allocations: 0 / 0.5586 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.14, allocations: 4 kB / 0.5586 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.1403, allocations: 237.2 kB / 0.5589 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.1404, allocations: 93 kB / 0.5589 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.1404, allocations: 4 kB / 0.5589 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.1405, allocations: 7.938 kB / 0.559 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.1405, allocations: 7.984 kB / 0.559 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.1406, allocations: 8 kB / 0.559 GB, free: 2.508 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.1407, allocations: 176.4 kB / 0.5591 GB, free: 2.336 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1407, allocations: 0 / 0.5591 GB, free: 2.336 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.141, allocations: 31.94 kB / 0.5592 GB, free: 2.305 MB / 414.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 (11): * Single equations (assignments): 9 * 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.002862/0.1439, allocations: 1.172 MB / 0.5603 GB, free: 1.312 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002927/0.1441, allocations: 79.91 kB / 0.5604 GB, free: 1.234 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1442, allocations: 0 / 0.5604 GB, free: 1.234 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.515e-05/0.1442, allocations: 35.92 kB / 0.5604 GB, free: 1.199 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.1447, allocations: 42.41 kB / 0.5605 GB, free: 1.164 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.147, allocations: 1.861 MB / 0.5623 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.1474, allocations: 0.7158 MB / 0.563 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.135e-05/0.1474, allocations: 24.62 kB / 0.563 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.278e-05/0.1475, allocations: 43.61 kB / 0.563 GB, free: 14.39 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1475, allocations: 3.938 kB / 0.563 GB, free: 14.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.1733, allocations: 3.979 MB / 0.5669 GB, free: 10.47 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.109, allocations: 3.938 kB / 0.5669 GB, free: 10.46 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.50071920035407]