Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2048/0.2048, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 64.28 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1406, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.00427/0.1449, allocations: 1.793 MB / 471.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.1469, allocations: 0.9627 MB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.147, allocations: 0 / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005669/0.1476, allocations: 303.2 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003846/0.148, allocations: 207.3 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.1485, allocations: 167.3 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.1489, allocations: 239.4 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.626e-05/0.1489, allocations: 9.562 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001571/0.1491, allocations: 123.6 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.1493, allocations: 196 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.1494, allocations: 4 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.1495, allocations: 43.98 kB / 473.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.1497, allocations: 136.5 kB / 473.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.1498, allocations: 138.8 kB / 473.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004789/0.1503, allocations: 355 kB / 474 MB, free: 9.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1504, allocations: 0 / 474 MB, free: 9.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1504, allocations: 0 / 474 MB, free: 9.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.1504, allocations: 0 / 474 MB, free: 9.59 MB / 350.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.001201/0.1516, allocations: 0.7231 MB / 474.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/0.1517, allocations: 8.031 kB / 474.7 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.386e-05/0.1517, allocations: 30.75 kB / 474.8 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.1519, allocations: 52.28 kB / 474.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006206/0.1525, allocations: 439.9 kB / 475.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1525, allocations: 4.375 kB / 475.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.1525, allocations: 7.938 kB / 475.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.1528, allocations: 95.3 kB / 475.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1528, allocations: 0 / 475.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1528, allocations: 0 / 475.4 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1528, allocations: 3.984 kB / 475.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1529, allocations: 27.98 kB / 475.4 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.1534, allocations: 374.3 kB / 475.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.1537, allocations: 109.1 kB / 475.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1538, allocations: 37.7 kB / 475.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.1538, allocations: 4 kB / 475.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003005/0.1541, allocations: 120.9 kB / 476 MB, free: 7.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1541, allocations: 0 / 476 MB, free: 7.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005117/0.1546, allocations: 193 kB / 476.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.1547, allocations: 77.11 kB / 476.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.1557, allocations: 1.007 MB / 477.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.1558, allocations: 33.64 kB / 477.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.1559, allocations: 232.1 kB / 477.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.156, allocations: 31.62 kB / 477.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.241e-05/0.1561, allocations: 25.72 kB / 477.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1562, allocations: 366.8 kB / 478 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.649e-05/0.1563, allocations: 27.98 kB / 478 MB, free: 5.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-05/0.1564, allocations: 59.41 kB / 478 MB, free: 5.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.1566, allocations: 87.36 kB / 478.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1566, allocations: 3.938 kB / 478.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002901/0.1569, allocations: 177.5 kB / 478.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.157, allocations: 4 kB / 478.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.157, allocations: 0 / 478.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.157, allocations: 4.062 kB / 478.3 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1571, allocations: 23.98 kB / 478.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1571, allocations: 0 / 478.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.798e-05/0.1572, allocations: 15.91 kB / 478.4 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1573, allocations: 4 kB / 478.4 MB, free: 4.938 MB / 350.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.0002186/0.1575, allocations: 225.6 kB / 478.6 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.1576, allocations: 43.44 kB / 478.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.471e-05/0.1576, allocations: 63.78 kB / 478.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1577, allocations: 0 / 478.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.1577, allocations: 4 kB / 478.7 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.1577, allocations: 4 kB / 478.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.158, allocations: 337.4 kB / 479 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.158, allocations: 0 / 479 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.1581, allocations: 8 kB / 479 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.1581, allocations: 0 / 479 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1581, allocations: 0 / 479 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.1581, allocations: 4 kB / 479 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1581, allocations: 0 / 479 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.1585, allocations: 205.2 kB / 479.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.1586, allocations: 140.5 kB / 479.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/0.1587, allocations: 4 kB / 479.4 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.1588, allocations: 4 kB / 479.4 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.1588, allocations: 11.92 kB / 479.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.1588, allocations: 11.98 kB / 479.4 MB, free: 3.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007852/0.1596, allocations: 0.7449 MB / 480.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1596, allocations: 7.938 kB / 480.2 MB, free: 3.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.1599, allocations: 47.98 kB / 480.2 MB, free: 2.992 MB / 350.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.001546/0.1615, allocations: 1.042 MB / 481.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002822/0.1618, allocations: 95.83 kB / 481.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1618, allocations: 0 / 481.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.1619, allocations: 39.92 kB / 481.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.1624, allocations: 70.36 kB / 481.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005376/0.1678, allocations: 4.525 MB / 486 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.1682, allocations: 0.8386 MB / 486.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001535/0.1684, allocations: 62.94 kB / 486.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.1686, allocations: 139.4 kB / 487 MB, free: 12.19 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1686, allocations: 0 / 487 MB, free: 12.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.1989, allocations: 8.609 MB / 495.6 MB, free: 3.695 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/7.864, allocations: 7.938 kB / 495.6 MB, free: 3.688 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5078]=8000.000000 File[567]=2048.000000 " Variables in the reference:time,startTime_0.y[1],startTime.y[1] Variables in the result:time,startTime.y[1],startTime_0.y[1],startTime.offset[1],startTime.shiftTime,startTime.startTime