Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.001333/0.001333, 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.001407/0.001407, 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.422/1.422, allocations: 230.4 MB / 254 MB, free: 15 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.2247/0.2247, allocations: 46.92 MB / 357 MB, free: 10.19 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.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002466/0.002466, allocations: 79.88 kB / 0.491 GB, free: 7.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1259, allocations: 66.04 MB / 0.5555 GB, free: 5.457 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003211/0.1291, allocations: 1.836 MB / 0.5573 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.1309, allocations: 1.11 MB / 0.5584 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.352e-05/0.131, allocations: 0 / 0.5584 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005275/0.1315, allocations: 315.2 kB / 0.5587 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000497/0.132, allocations: 267.2 kB / 0.559 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.1323, allocations: 99.69 kB / 0.5591 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003143/0.1326, allocations: 263.2 kB / 0.5593 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.224e-05/0.1326, allocations: 9.688 kB / 0.5593 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.1328, allocations: 143.5 kB / 0.5595 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.1331, allocations: 215.5 kB / 0.5597 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.1331, allocations: 8 kB / 0.5597 GB, free: 1.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1332, allocations: 51.91 kB / 0.5597 GB, free: 1.141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.1333, allocations: 131.6 kB / 0.5598 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.1335, allocations: 146.8 kB / 0.56 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004225/0.1339, allocations: 390.2 kB / 0.5604 GB, free: 496 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1339, allocations: 0 / 0.5604 GB, free: 496 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1339, allocations: 0 / 0.5604 GB, free: 496 kB / 414.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1339, allocations: 3.938 kB / 0.5604 GB, free: 492 kB / 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.0009853/0.1349, allocations: 0.7577 MB / 0.5611 GB, free: 15.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1349, allocations: 12.03 kB / 0.5611 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.931e-05/0.135, allocations: 34.75 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.332e-05/0.135, allocations: 52.61 kB / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006389/0.1357, allocations: 460.3 kB / 0.5616 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1357, allocations: 4.359 kB / 0.5616 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.1357, allocations: 12.31 kB / 0.5616 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.1359, allocations: 79.5 kB / 0.5617 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.1359, allocations: 0 / 0.5617 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.1359, allocations: 7.984 kB / 0.5617 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1359, allocations: 4 kB / 0.5617 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.136, allocations: 23.98 kB / 0.5618 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.1364, allocations: 394.3 kB / 0.5621 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.1367, allocations: 93.23 kB / 0.5622 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.64e-05/0.1368, allocations: 41.7 kB / 0.5623 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.1368, allocations: 0 / 0.5623 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/0.137, allocations: 109 kB / 0.5624 GB, free: 14.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.133e-06/0.137, allocations: 0 / 0.5624 GB, free: 14.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.00048/0.1375, allocations: 201.2 kB / 0.5626 GB, free: 14.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.1376, allocations: 85.05 kB / 0.5626 GB, free: 13.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.1387, allocations: 1.05 MB / 0.5637 GB, free: 12.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.1387, allocations: 29.7 kB / 0.5637 GB, free: 12.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.1389, allocations: 244.1 kB / 0.5639 GB, free: 12.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.139, allocations: 31.73 kB / 0.564 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.139, allocations: 29.7 kB / 0.564 GB, free: 12.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1392, allocations: 366.8 kB / 0.5643 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.905e-05/0.1393, allocations: 31.98 kB / 0.5644 GB, free: 12.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.1394, allocations: 59.36 kB / 0.5644 GB, free: 12.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.1396, allocations: 91.84 kB / 0.5645 GB, free: 11.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1396, allocations: 7.938 kB / 0.5645 GB, free: 11.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003035/0.1399, allocations: 173.2 kB / 0.5647 GB, free: 11.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1399, allocations: 8 kB / 0.5647 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1399, allocations: 0 / 0.5647 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.1399, allocations: 3.984 kB / 0.5647 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.14, allocations: 20 kB / 0.5647 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.14, allocations: 3.938 kB / 0.5647 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.448e-05/0.1401, allocations: 15.92 kB / 0.5647 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1401, allocations: 4 kB / 0.5647 GB, free: 11.7 MB / 430.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.0002176/0.1404, allocations: 229.7 kB / 0.565 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.202e-05/0.1404, allocations: 59.56 kB / 0.565 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.884e-05/0.1405, allocations: 64.12 kB / 0.5651 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1405, allocations: 0 / 0.5651 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1405, allocations: 0 / 0.5651 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1405, allocations: 4 kB / 0.5651 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003166/0.1409, allocations: 337.5 kB / 0.5654 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1409, allocations: 3.938 kB / 0.5654 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.781e-05/0.1409, allocations: 11.98 kB / 0.5654 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1409, allocations: 4 kB / 0.5654 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1409, allocations: 4 kB / 0.5654 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1409, allocations: 7.938 kB / 0.5654 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1409, allocations: 0 / 0.5654 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.1413, allocations: 205.5 kB / 0.5656 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.1414, allocations: 136.7 kB / 0.5658 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.1414, allocations: 11.98 kB / 0.5658 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.654e-05/0.1415, allocations: 12.12 kB / 0.5658 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.992e-05/0.1416, allocations: 8.078 kB / 0.5658 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.1416, allocations: 7.938 kB / 0.5658 GB, free: 10.51 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008308/0.1424, allocations: 0.7839 MB / 0.5666 GB, free: 9.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1424, allocations: 0 / 0.5666 GB, free: 9.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.1427, allocations: 47.92 kB / 0.5666 GB, free: 9.684 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.002015/0.1447, allocations: 1.041 MB / 0.5676 GB, free: 8.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002494/0.1449, allocations: 79.89 kB / 0.5677 GB, free: 8.672 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1449, allocations: 0 / 0.5677 GB, free: 8.672 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.145, allocations: 36.3 kB / 0.5677 GB, free: 8.637 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.1455, allocations: 80.34 kB / 0.5678 GB, free: 8.566 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005673/0.1511, allocations: 4.574 MB / 0.5723 GB, free: 3.887 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.1516, allocations: 0.8466 MB / 0.5731 GB, free: 3.016 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001257/0.1517, allocations: 50.95 kB / 0.5731 GB, free: 2.965 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.1519, allocations: 151.4 kB / 0.5733 GB, free: 2.82 MB / 430.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1519, allocations: 0 / 0.5733 GB, free: 2.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03195/0.1839, allocations: 9.137 MB / 0.5822 GB, free: 9.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.628/8.812, allocations: 7.312 kB / 0.5822 GB, free: 9.727 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56986 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.110071677016094]