Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.001942/0.001942, allocations: 124.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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002333/0.002333, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.559/1.559, allocations: 230.4 MB / 254 MB, free: 15.04 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.2685/0.2685, allocations: 46.93 MB / 357 MB, free: 10.2 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.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 83.88 kB / 0.4911 GB, free: 7.652 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1474, allocations: 66.06 MB / 0.5556 GB, free: 5.469 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003482/0.1509, allocations: 1.758 MB / 0.5573 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1529, allocations: 1.04 MB / 0.5583 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.153, allocations: 0 / 0.5583 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004161/0.1534, allocations: 91.7 kB / 0.5584 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004324/0.1538, allocations: 119.5 kB / 0.5585 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.1541, allocations: 79.73 kB / 0.5586 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.1543, allocations: 123.6 kB / 0.5587 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.1545, allocations: 19.95 kB / 0.5587 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.1546, allocations: 55.78 kB / 0.5588 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.1547, allocations: 75.72 kB / 0.5588 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.1547, allocations: 4 kB / 0.5588 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.1549, allocations: 63.91 kB / 0.5589 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.913e-05/0.1549, allocations: 27.92 kB / 0.5589 GB, free: 2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.19e-05/0.155, allocations: 39.67 kB / 0.559 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.1553, allocations: 139.4 kB / 0.5591 GB, free: 1.824 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1553, allocations: 4 kB / 0.5591 GB, free: 1.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1553, allocations: 0 / 0.5591 GB, free: 1.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1553, allocations: 4 kB / 0.5591 GB, free: 1.816 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.0006506/0.1559, allocations: 446.3 kB / 0.5595 GB, free: 1.332 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.156, allocations: 12.03 kB / 0.5595 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.156, allocations: 34.73 kB / 0.5596 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.1561, allocations: 20.84 kB / 0.5596 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.1564, allocations: 217.5 kB / 0.5598 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1564, allocations: 4.375 kB / 0.5598 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.1564, allocations: 4.375 kB / 0.5598 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.1566, allocations: 65.8 kB / 0.5599 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1566, allocations: 3.938 kB / 0.5599 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1566, allocations: 0 / 0.5599 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1566, allocations: 4 kB / 0.5599 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.909e-05/0.1567, allocations: 23.92 kB / 0.5599 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.1571, allocations: 308.7 kB / 0.5602 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.1574, allocations: 54.56 kB / 0.5602 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.335e-05/0.1575, allocations: 20.97 kB / 0.5603 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1575, allocations: 7.938 kB / 0.5603 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.1577, allocations: 67.39 kB / 0.5603 GB, free: 380 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1577, allocations: 0 / 0.5603 GB, free: 380 kB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008633/0.1585, allocations: 249.3 kB / 0.5606 GB, free: 124 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.1586, allocations: 55.34 kB / 0.5606 GB, free: 56 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.1589, allocations: 242 kB / 0.5609 GB, free: 15.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.1589, allocations: 29.7 kB / 0.5609 GB, free: 15.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.398e-05/0.159, allocations: 112.1 kB / 0.561 GB, free: 15.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.159, allocations: 39.73 kB / 0.561 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.1591, allocations: 25.7 kB / 0.5611 GB, free: 15.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1592, allocations: 326.8 kB / 0.5614 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.658e-05/0.1593, allocations: 31.98 kB / 0.5614 GB, free: 15.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.185e-05/0.1594, allocations: 45.64 kB / 0.5614 GB, free: 15.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.1596, allocations: 77.7 kB / 0.5615 GB, free: 15.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1596, allocations: 0 / 0.5615 GB, free: 15.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002338/0.1598, allocations: 137.5 kB / 0.5616 GB, free: 14.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1598, allocations: 4 kB / 0.5617 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1598, allocations: 0 / 0.5617 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1598, allocations: 0 / 0.5617 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.077e-05/0.1599, allocations: 20 kB / 0.5617 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.1599, allocations: 4.688 kB / 0.5617 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.792e-05/0.16, allocations: 7.938 kB / 0.5617 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.16, allocations: 4 kB / 0.5617 GB, free: 14.92 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.000122/0.1601, allocations: 141.8 kB / 0.5618 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.1601, allocations: 11.91 kB / 0.5618 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.451e-05/0.1602, allocations: 17.41 kB / 0.5619 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1602, allocations: 0 / 0.5619 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.1602, allocations: 4 kB / 0.5619 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.1602, allocations: 7.922 kB / 0.5619 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005668/0.1608, allocations: 460 kB / 0.5623 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1608, allocations: 4 kB / 0.5623 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.887e-05/0.1608, allocations: 19.94 kB / 0.5623 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1608, allocations: 3.984 kB / 0.5623 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.1608, allocations: 8 kB / 0.5623 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1608, allocations: 0 / 0.5623 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1608, allocations: 0 / 0.5623 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.1611, allocations: 237.1 kB / 0.5626 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.668e-05/0.1612, allocations: 92.95 kB / 0.5627 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.1612, allocations: 8 kB / 0.5627 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.712e-05/0.1613, allocations: 7.984 kB / 0.5627 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.1613, allocations: 4 kB / 0.5627 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.1613, allocations: 7.984 kB / 0.5627 GB, free: 13.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.1615, allocations: 172.4 kB / 0.5628 GB, free: 13.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1615, allocations: 4 kB / 0.5628 GB, free: 13.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.1618, allocations: 31.92 kB / 0.5629 GB, free: 13.58 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.002456/0.1642, allocations: 1.176 MB / 0.564 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002312/0.1644, allocations: 75.84 kB / 0.5641 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1644, allocations: 0 / 0.5641 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.005e-05/0.1645, allocations: 39.92 kB / 0.5641 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.1649, allocations: 27.73 kB / 0.5642 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.1671, allocations: 1.861 MB / 0.566 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.1675, allocations: 0.7158 MB / 0.5667 GB, free: 9.727 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.073e-05/0.1675, allocations: 24.62 kB / 0.5667 GB, free: 9.699 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.762e-05/0.1676, allocations: 47.41 kB / 0.5667 GB, free: 9.652 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1676, allocations: 0 / 0.5667 GB, free: 9.652 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0256/0.1932, allocations: 3.969 MB / 0.5706 GB, free: 5.746 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.205, allocations: 8.875 kB / 0.5706 GB, free: 5.738 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.536205418989994]