Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",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.001985/0.001985, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.002366/0.002366, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.329/1.329, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2095/0.2095, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 68.42 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.146, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.004091/0.1501, allocations: 1.801 MB / 471.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.1519, allocations: 0.9549 MB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.1521, allocations: 7.875 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005394/0.1526, allocations: 291.3 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004221/0.1531, allocations: 211.4 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.1536, allocations: 166.8 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004092/0.1541, allocations: 247.4 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.681e-05/0.1541, allocations: 13.55 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.1543, allocations: 123.6 kB / 473.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.1546, allocations: 188 kB / 473.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.1547, allocations: 8 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.1548, allocations: 47.97 kB / 473.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.155, allocations: 124.6 kB / 473.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.1552, allocations: 142.8 kB / 473.7 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004983/0.1557, allocations: 355 kB / 474 MB, free: 9.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1557, allocations: 0 / 474 MB, free: 9.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1557, allocations: 4 kB / 474 MB, free: 9.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.1557, allocations: 0 / 474 MB, free: 9.609 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.00109/0.1568, allocations: 0.7114 MB / 474.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.1569, allocations: 8.031 kB / 474.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.183e-05/0.1569, allocations: 42.73 kB / 474.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.157, allocations: 48.28 kB / 474.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006248/0.1577, allocations: 443.8 kB / 475.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1577, allocations: 384 / 475.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.1577, allocations: 7.938 kB / 475.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.1579, allocations: 87.36 kB / 475.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.1579, allocations: 0 / 475.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1579, allocations: 0 / 475.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1579, allocations: 0 / 475.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1581, allocations: 35.91 kB / 475.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.1585, allocations: 378.3 kB / 475.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.1587, allocations: 109.1 kB / 475.8 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.95e-05/0.1588, allocations: 41.69 kB / 475.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.1589, allocations: 8 kB / 475.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002583/0.1591, allocations: 116.9 kB / 476 MB, free: 7.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.1591, allocations: 0 / 476 MB, free: 7.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004771/0.1596, allocations: 189.1 kB / 476.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.1597, allocations: 85.05 kB / 476.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.1608, allocations: 1.014 MB / 477.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1609, allocations: 25.7 kB / 477.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.161, allocations: 228.1 kB / 477.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.1611, allocations: 23.66 kB / 477.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/0.1612, allocations: 33.7 kB / 477.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1614, allocations: 362.8 kB / 478 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.85e-05/0.1614, allocations: 27.98 kB / 478 MB, free: 5.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.1616, allocations: 59.42 kB / 478 MB, free: 5.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.1618, allocations: 95.84 kB / 478.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.1618, allocations: 3.938 kB / 478.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003084/0.1621, allocations: 161 kB / 478.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1621, allocations: 8.062 kB / 478.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.1621, allocations: 7.969 kB / 478.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1622, allocations: 4 kB / 478.3 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1623, allocations: 19.94 kB / 478.3 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.1623, allocations: 4 kB / 478.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.1624, allocations: 15.89 kB / 478.4 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1624, allocations: 4 kB / 478.4 MB, free: 4.957 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.0002393/0.1627, allocations: 225.6 kB / 478.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.761e-05/0.1628, allocations: 51.44 kB / 478.6 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.883e-05/0.1629, allocations: 55.84 kB / 478.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1629, allocations: 7.938 kB / 478.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.1629, allocations: 0 / 478.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1629, allocations: 0 / 478.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.1632, allocations: 333.4 kB / 479 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1632, allocations: 0 / 479 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.293e-05/0.1633, allocations: 15.98 kB / 479 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1633, allocations: 0 / 479 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1633, allocations: 4 kB / 479 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1633, allocations: 0 / 479 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1633, allocations: 4 kB / 479 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.1636, allocations: 201.3 kB / 479.2 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.1638, allocations: 136.5 kB / 479.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.532e-05/0.1638, allocations: 15.98 kB / 479.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.1639, allocations: 0 / 479.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.164, allocations: 11.98 kB / 479.4 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.164, allocations: 12.09 kB / 479.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007609/0.1648, allocations: 0.7487 MB / 480.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1648, allocations: 0 / 480.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1651, allocations: 44 kB / 480.2 MB, free: 3.012 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.001539/0.1666, allocations: 1.036 MB / 481.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002641/0.1669, allocations: 95.77 kB / 481.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1669, allocations: 4 kB / 481.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.167, allocations: 39.92 kB / 481.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.1674, allocations: 69.91 kB / 481.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005214/0.1726, allocations: 4.518 MB / 486 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.1731, allocations: 0.8426 MB / 486.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.1733, allocations: 54.94 kB / 486.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.1735, allocations: 147.4 kB / 487 MB, free: 12.21 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1735, allocations: 0 / 487 MB, free: 12.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.2019, allocations: 8.613 MB / 495.6 MB, free: 3.711 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/7.949, allocations: 0 / 495.6 MB, free: 3.711 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_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_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5115]=8000.000000 File[555]=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