Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001861/0.001861, 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.002207/0.002207, 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.466/1.466, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2211/0.2211, allocations: 46.93 MB / 357.1 MB, free: 10.28 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.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 67.91 kB / 0.491 GB, free: 7.828 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1241, allocations: 65.99 MB / 0.5555 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003259/0.1274, allocations: 1.752 MB / 0.5572 GB, free: 3.941 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001738/0.1291, allocations: 1.042 MB / 0.5582 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.149e-05/0.1292, allocations: 4 kB / 0.5582 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.1295, allocations: 107.7 kB / 0.5583 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.1298, allocations: 127.5 kB / 0.5584 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.13, allocations: 83.66 kB / 0.5585 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.1302, allocations: 119.7 kB / 0.5586 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.734e-05/0.1303, allocations: 15.97 kB / 0.5586 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.1304, allocations: 63.7 kB / 0.5587 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.1305, allocations: 67.73 kB / 0.5588 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1306, allocations: 8 kB / 0.5588 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.1307, allocations: 59.98 kB / 0.5588 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.326e-05/0.1308, allocations: 31.89 kB / 0.5589 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.1308, allocations: 39.69 kB / 0.5589 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.1311, allocations: 147.3 kB / 0.559 GB, free: 2.035 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1311, allocations: 4 kB / 0.559 GB, free: 2.031 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1311, allocations: 0 / 0.559 GB, free: 2.031 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.1311, allocations: 0 / 0.559 GB, free: 2.031 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.0006277/0.1317, allocations: 458.4 kB / 0.5595 GB, free: 1.535 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.1317, allocations: 8.031 kB / 0.5595 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.1318, allocations: 38.75 kB / 0.5595 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.1318, allocations: 20.83 kB / 0.5595 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.1321, allocations: 215.9 kB / 0.5597 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1321, allocations: 384 / 0.5597 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.1321, allocations: 15.89 kB / 0.5598 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.1323, allocations: 69.58 kB / 0.5598 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1323, allocations: 3.938 kB / 0.5598 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.1323, allocations: 3.938 kB / 0.5598 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1323, allocations: 0 / 0.5598 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.054e-05/0.1324, allocations: 23.98 kB / 0.5599 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.1328, allocations: 308.8 kB / 0.5602 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.1331, allocations: 62.47 kB / 0.5602 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.841e-05/0.1331, allocations: 16.98 kB / 0.5602 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.1331, allocations: 0 / 0.5602 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.1333, allocations: 75.38 kB / 0.5603 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1333, allocations: 0 / 0.5603 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007565/0.1341, allocations: 253.2 kB / 0.5605 GB, free: 316 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.1341, allocations: 55.34 kB / 0.5606 GB, free: 248 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.1344, allocations: 255.1 kB / 0.5608 GB, free: 15.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1344, allocations: 25.7 kB / 0.5609 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/0.1345, allocations: 116.1 kB / 0.561 GB, free: 15.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.1345, allocations: 43.69 kB / 0.561 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.1346, allocations: 21.72 kB / 0.561 GB, free: 15.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1347, allocations: 330.8 kB / 0.5613 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.226e-05/0.1348, allocations: 27.98 kB / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.376e-05/0.1349, allocations: 41.7 kB / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.1351, allocations: 85.64 kB / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1351, allocations: 0 / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002458/0.1353, allocations: 125.5 kB / 0.5616 GB, free: 15.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1353, allocations: 8 kB / 0.5616 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1353, allocations: 0 / 0.5616 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1353, allocations: 0 / 0.5616 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.795e-05/0.1354, allocations: 31.86 kB / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1354, allocations: 0 / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/0.1355, allocations: 4 kB / 0.5617 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1355, allocations: 12.02 kB / 0.5617 GB, free: 15.08 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 (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.0001259/0.1356, allocations: 140 kB / 0.5618 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.1356, allocations: 19.91 kB / 0.5618 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.097e-05/0.1357, allocations: 21.41 kB / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1357, allocations: 3.938 kB / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1357, allocations: 0 / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1357, allocations: 7.922 kB / 0.5619 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.1363, allocations: 463.9 kB / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1363, allocations: 4 kB / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.983e-05/0.1363, allocations: 16 kB / 0.5623 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.1363, allocations: 0 / 0.5623 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1363, allocations: 0 / 0.5623 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1363, allocations: 7.938 kB / 0.5623 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1363, allocations: 0 / 0.5623 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.1366, allocations: 237.1 kB / 0.5625 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.1367, allocations: 89.02 kB / 0.5626 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.1367, allocations: 4 kB / 0.5626 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-05/0.1368, allocations: 7.984 kB / 0.5626 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.1368, allocations: 4 kB / 0.5626 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.1368, allocations: 11.98 kB / 0.5627 GB, free: 13.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001778/0.137, allocations: 192.4 kB / 0.5628 GB, free: 13.76 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.137, allocations: 0 / 0.5628 GB, free: 13.76 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1373, allocations: 35.88 kB / 0.5629 GB, free: 13.73 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 (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.002418/0.1397, allocations: 1.179 MB / 0.564 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.1399, allocations: 75.91 kB / 0.5641 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1399, allocations: 0 / 0.5641 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.765e-05/0.14, allocations: 35.92 kB / 0.5641 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.1404, allocations: 39.91 kB / 0.5642 GB, free: 12.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.1427, allocations: 1.889 MB / 0.566 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.143, allocations: 0.7196 MB / 0.5667 GB, free: 9.848 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.304e-05/0.1431, allocations: 24.62 kB / 0.5667 GB, free: 9.824 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.365e-05/0.1432, allocations: 47.61 kB / 0.5668 GB, free: 9.777 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1432, allocations: 3.938 kB / 0.5668 GB, free: 9.773 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.1717, allocations: 4.044 MB / 0.5707 GB, free: 5.777 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.217, allocations: 16.8 kB / 0.5708 GB, free: 5.762 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_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_Test7.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.357384906004881]