Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_3_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.001389/0.001395, allocations: 103.4 kB / 16.27 MB, free: 6.41 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.001348/0.001348, allocations: 188.6 kB / 17.19 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.255/0.255, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002812/0.002812, allocations: 70.45 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1442, allocations: 57.8 MB / 440.6 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.004062/0.1483, allocations: 1.786 MB / 442.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.1498, allocations: 0.8624 MB / 443.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.1501, allocations: 4 kB / 443.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.1507, allocations: 307.2 kB / 443.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004633/0.1512, allocations: 203.4 kB / 443.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.1516, allocations: 147.2 kB / 443.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.152, allocations: 239.4 kB / 444.2 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.621e-05/0.1521, allocations: 13.83 kB / 444.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.1523, allocations: 119.6 kB / 444.3 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.1525, allocations: 191.9 kB / 444.5 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.1525, allocations: 8 kB / 444.5 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.1527, allocations: 39.98 kB / 444.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.1528, allocations: 132.6 kB / 444.7 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.1529, allocations: 138.8 kB / 444.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004145/0.1533, allocations: 362.6 kB / 445.1 MB, free: 2.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1534, allocations: 4 kB / 445.2 MB, free: 2.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1534, allocations: 0 / 445.2 MB, free: 2.234 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.1534, allocations: 0 / 445.2 MB, free: 2.234 MB / 318.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.0008899/0.1543, allocations: 0.7113 MB / 445.9 MB, free: 1.473 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.1543, allocations: 19.88 kB / 445.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.1544, allocations: 34.75 kB / 445.9 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.978e-05/0.1545, allocations: 44.38 kB / 446 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/0.155, allocations: 447.7 kB / 446.4 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.155, allocations: 4.359 kB / 446.4 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.155, allocations: 15.88 kB / 446.4 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.1552, allocations: 79.38 kB / 446.5 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1552, allocations: 0 / 446.5 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1553, allocations: 3.984 kB / 446.5 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1553, allocations: 4 kB / 446.5 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.1554, allocations: 31.92 kB / 446.5 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.1557, allocations: 370.4 kB / 446.9 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.156, allocations: 105.2 kB / 447 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.39e-05/0.1561, allocations: 41.64 kB / 447 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.1561, allocations: 4 kB / 447 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002855/0.1564, allocations: 109.1 kB / 447.1 MB, free: 32 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.993e-06/0.1564, allocations: 3.938 kB / 447.2 MB, free: 28 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007/0.1571, allocations: 197.1 kB / 447.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.1572, allocations: 81.11 kB / 447.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.1585, allocations: 1.011 MB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.1586, allocations: 25.7 kB / 448.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.1588, allocations: 232.1 kB / 448.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.749e-05/0.1589, allocations: 35.58 kB / 448.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.629e-05/0.159, allocations: 25.72 kB / 448.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.1592, allocations: 362.8 kB / 449.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.145e-05/0.1593, allocations: 27.98 kB / 449.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.1594, allocations: 63.41 kB / 449.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.1596, allocations: 87.36 kB / 449.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1596, allocations: 3.938 kB / 449.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003604/0.16, allocations: 172.9 kB / 449.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.16, allocations: 5.25 kB / 449.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.16, allocations: 4 kB / 449.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.16, allocations: 0 / 449.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1602, allocations: 27.92 kB / 449.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1602, allocations: 0 / 449.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.1603, allocations: 8 kB / 449.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1603, allocations: 4 kB / 449.5 MB, free: 13.59 MB / 334.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.0002339/0.1606, allocations: 230.1 kB / 449.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.912e-05/0.1606, allocations: 51.34 kB / 449.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.049e-05/0.1607, allocations: 55.84 kB / 449.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1608, allocations: 4 kB / 449.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.1608, allocations: 3.938 kB / 449.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1608, allocations: 4 kB / 449.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.1611, allocations: 337.3 kB / 450.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1611, allocations: 0 / 450.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.173e-05/0.1612, allocations: 15.94 kB / 450.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1612, allocations: 0 / 450.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.1612, allocations: 4 kB / 450.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1612, allocations: 4 kB / 450.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1612, allocations: 0 / 450.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.1616, allocations: 205.2 kB / 450.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.1618, allocations: 132.5 kB / 450.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/0.1618, allocations: 8.094 kB / 450.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.881e-05/0.1619, allocations: 7.938 kB / 450.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.162, allocations: 11.98 kB / 450.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.162, allocations: 4 kB / 450.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009001/0.1629, allocations: 0.7487 MB / 451.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1629, allocations: 0 / 451.3 MB, free: 11.69 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003245/0.1632, allocations: 43.98 kB / 451.3 MB, free: 11.64 MB / 334.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.002288/0.1655, allocations: 1.045 MB / 452.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003205/0.1659, allocations: 91.83 kB / 452.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1659, allocations: 4 kB / 452.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.166, allocations: 35.98 kB / 452.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005427/0.1666, allocations: 72.36 kB / 452.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006187/0.1728, allocations: 4.525 MB / 457.1 MB, free: 5.824 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005216/0.1733, allocations: 0.8427 MB / 458 MB, free: 4.957 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001694/0.1735, allocations: 59.44 kB / 458 MB, free: 4.898 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.1737, allocations: 147.4 kB / 458.2 MB, free: 4.754 MB / 334.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1737, allocations: 0 / 458.2 MB, free: 4.754 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03557/0.2093, allocations: 8.608 MB / 466.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.715/7.924, allocations: 0 / 466.8 MB, free: 12.11 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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