Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001901/0.001901, allocations: 128.4 kB / 17.8 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002339/0.002339, allocations: 214.5 kB / 20.75 MB, free: 2.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.568/1.568, allocations: 230.4 MB / 254 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2393/0.2393, allocations: 46.92 MB / 357 MB, free: 10.23 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0026/0.0026, allocations: 79.88 kB / 0.4911 GB, free: 7.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.127, allocations: 66.05 MB / 0.5556 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003566/0.1306, allocations: 1.773 MB / 0.5573 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.1323, allocations: 1.036 MB / 0.5583 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.356e-05/0.1324, allocations: 3.938 kB / 0.5583 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.1328, allocations: 107.7 kB / 0.5584 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.1331, allocations: 127.5 kB / 0.5585 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.1334, allocations: 79.72 kB / 0.5586 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.1336, allocations: 139.6 kB / 0.5587 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1337, allocations: 17.39 kB / 0.5588 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.1338, allocations: 71.75 kB / 0.5588 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.134, allocations: 75.73 kB / 0.5589 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.134, allocations: 4 kB / 0.5589 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.1341, allocations: 63.92 kB / 0.559 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.636e-05/0.1342, allocations: 35.84 kB / 0.559 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.544e-05/0.1342, allocations: 55.55 kB / 0.5591 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.1345, allocations: 159.3 kB / 0.5592 GB, free: 1.742 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1345, allocations: 0 / 0.5592 GB, free: 1.742 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1345, allocations: 0 / 0.5592 GB, free: 1.742 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1345, allocations: 0 / 0.5592 GB, free: 1.742 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.0006593/0.1352, allocations: 482.2 kB / 0.5597 GB, free: 1.223 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1352, allocations: 8.031 kB / 0.5597 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.142e-05/0.1352, allocations: 38.75 kB / 0.5597 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.1353, allocations: 16.84 kB / 0.5597 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.1356, allocations: 225.1 kB / 0.5599 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1356, allocations: 384 / 0.5599 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.1356, allocations: 4.375 kB / 0.5599 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.1358, allocations: 77.72 kB / 0.56 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.1358, allocations: 11.89 kB / 0.56 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1359, allocations: 8 kB / 0.56 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1359, allocations: 3.984 kB / 0.56 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.136, allocations: 35.97 kB / 0.5601 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.1364, allocations: 332.7 kB / 0.5604 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.1367, allocations: 70.48 kB / 0.5605 GB, free: 300 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.132e-05/0.1367, allocations: 32.84 kB / 0.5605 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1368, allocations: 0 / 0.5605 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.1369, allocations: 75.38 kB / 0.5606 GB, free: 176 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.1369, allocations: 0 / 0.5606 GB, free: 176 kB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008909/0.1378, allocations: 297.7 kB / 0.5608 GB, free: 15.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.1379, allocations: 59.62 kB / 0.5609 GB, free: 15.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.1382, allocations: 259.7 kB / 0.5612 GB, free: 15.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1382, allocations: 29.7 kB / 0.5612 GB, free: 15.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.689e-05/0.1383, allocations: 128 kB / 0.5613 GB, free: 15.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.1383, allocations: 43.78 kB / 0.5613 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.1384, allocations: 29.72 kB / 0.5614 GB, free: 15.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1385, allocations: 330.8 kB / 0.5617 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.623e-05/0.1386, allocations: 39.98 kB / 0.5617 GB, free: 14.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.1387, allocations: 66.98 kB / 0.5618 GB, free: 14.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.1389, allocations: 104.7 kB / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1389, allocations: 0 / 0.5619 GB, free: 14.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002841/0.1392, allocations: 157.5 kB / 0.562 GB, free: 14.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1392, allocations: 4 kB / 0.562 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.1392, allocations: 3.984 kB / 0.562 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1392, allocations: 4 kB / 0.5621 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.674e-05/0.1393, allocations: 24.14 kB / 0.5621 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.1393, allocations: 15.86 kB / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.1394, allocations: 4 kB / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.1394, allocations: 4 kB / 0.5621 GB, free: 14.53 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.0001401/0.1395, allocations: 141.8 kB / 0.5622 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.1396, allocations: 19.86 kB / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.199e-05/0.1396, allocations: 25.52 kB / 0.5623 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1396, allocations: 4 kB / 0.5623 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1396, allocations: 3.938 kB / 0.5623 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1396, allocations: 4 kB / 0.5623 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006619/0.1403, allocations: 0.496 MB / 0.5628 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1403, allocations: 0 / 0.5628 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/0.1404, allocations: 23.94 kB / 0.5628 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1404, allocations: 0 / 0.5628 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1404, allocations: 8 kB / 0.5628 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.1404, allocations: 3.984 kB / 0.5628 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1404, allocations: 4.062 kB / 0.5628 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.1407, allocations: 265 kB / 0.5631 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.1408, allocations: 92.95 kB / 0.5632 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.1408, allocations: 4 kB / 0.5632 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.1409, allocations: 4 kB / 0.5632 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.1409, allocations: 15.98 kB / 0.5632 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.1409, allocations: 4 kB / 0.5632 GB, free: 13.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001952/0.1411, allocations: 201.4 kB / 0.5634 GB, free: 13.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1411, allocations: 0 / 0.5634 GB, free: 13.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.1414, allocations: 31.94 kB / 0.5634 GB, free: 13.08 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.002444/0.1439, allocations: 1.218 MB / 0.5646 GB, free: 12.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.1441, allocations: 95.91 kB / 0.5647 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1441, allocations: 0 / 0.5647 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.1442, allocations: 43.92 kB / 0.5647 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.1446, allocations: 39.94 kB / 0.5648 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.1471, allocations: 1.999 MB / 0.5667 GB, free: 9.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.1475, allocations: 0.7356 MB / 0.5674 GB, free: 8.988 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.861e-05/0.1475, allocations: 25.41 kB / 0.5675 GB, free: 8.961 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.886e-05/0.1476, allocations: 51.36 kB / 0.5675 GB, free: 8.91 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1476, allocations: 3.938 kB / 0.5675 GB, free: 8.906 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.1747, allocations: 4.361 MB / 0.5718 GB, free: 4.602 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.081, allocations: 8.078 kB / 0.5718 GB, free: 4.598 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.434058500919491]