Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",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.001757/0.001757, allocations: 105.5 kB / 17.06 MB, free: 6.016 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.001937/0.001937, allocations: 192 kB / 18 MB, free: 5.102 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.477/1.477, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.024/1.024, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 66.89 kB / 0.5704 GB, free: 40.04 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1576, allocations: 80.7 MB / 0.6492 GB, free: 13.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002964/0.1606, allocations: 1.546 MB / 0.6507 GB, free: 12.04 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.1622, allocations: 0.8846 MB / 0.6516 GB, free: 11.15 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.266e-05/0.1623, allocations: 7.938 kB / 0.6516 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0003422/0.1626, allocations: 59.73 kB / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.1631, allocations: 103.6 kB / 0.6517 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.1633, allocations: 107.5 kB / 0.6519 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.1636, allocations: 131.6 kB / 0.652 GB, free: 10.75 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.58e-05/0.1636, allocations: 23.97 kB / 0.652 GB, free: 10.73 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.1638, allocations: 55.77 kB / 0.6521 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.1639, allocations: 67.69 kB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.164, allocations: 4 kB / 0.6521 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1641, allocations: 32 kB / 0.6522 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.1642, allocations: 67.8 kB / 0.6522 GB, free: 10.5 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 7.626e-05/0.1643, allocations: 55.55 kB / 0.6523 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.1646, allocations: 155.4 kB / 0.6524 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1646, allocations: 0 / 0.6524 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1646, allocations: 0 / 0.6524 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.1646, allocations: 8 kB / 0.6524 GB, free: 10.29 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007192/0.1653, allocations: 497.9 kB / 0.6529 GB, free: 9.754 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1654, allocations: 15.89 kB / 0.6529 GB, free: 9.738 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.1654, allocations: 34.73 kB / 0.6529 GB, free: 9.695 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.1655, allocations: 20.8 kB / 0.653 GB, free: 9.676 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005133/0.166, allocations: 335.7 kB / 0.6533 GB, free: 9.309 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.166, allocations: 4.312 kB / 0.6533 GB, free: 9.305 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.1661, allocations: 3.938 kB / 0.6533 GB, free: 9.301 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.1662, allocations: 65.67 kB / 0.6534 GB, free: 9.23 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1662, allocations: 3.938 kB / 0.6534 GB, free: 9.227 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1662, allocations: 0 / 0.6534 GB, free: 9.227 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1662, allocations: 3.938 kB / 0.6534 GB, free: 9.223 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.234e-05/0.1663, allocations: 15.98 kB / 0.6534 GB, free: 9.207 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000256/0.1666, allocations: 213.6 kB / 0.6536 GB, free: 8.949 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.1668, allocations: 54.56 kB / 0.6536 GB, free: 8.887 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.7e-05/0.1668, allocations: 20.84 kB / 0.6537 GB, free: 8.863 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.1669, allocations: 0 / 0.6537 GB, free: 8.863 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.167, allocations: 67.33 kB / 0.6537 GB, free: 8.785 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.167, allocations: 0 / 0.6537 GB, free: 8.785 MB / 0.4983 GB Notification: Performance of matching and sorting (n=5): time 0.000311/0.1674, allocations: 105.5 kB / 0.6538 GB, free: 8.676 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.1674, allocations: 51.41 kB / 0.6539 GB, free: 8.613 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.1677, allocations: 282.7 kB / 0.6541 GB, free: 8.324 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.1678, allocations: 29.7 kB / 0.6542 GB, free: 8.289 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1679, allocations: 132.1 kB / 0.6543 GB, free: 8.156 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.1679, allocations: 15.94 kB / 0.6543 GB, free: 8.141 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.168, allocations: 17.72 kB / 0.6543 GB, free: 8.117 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1681, allocations: 334.8 kB / 0.6546 GB, free: 7.781 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.24e-05/0.1682, allocations: 12 kB / 0.6547 GB, free: 7.77 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/0.1683, allocations: 37.62 kB / 0.6547 GB, free: 7.727 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.1684, allocations: 45.7 kB / 0.6547 GB, free: 7.676 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1684, allocations: 3.938 kB / 0.6547 GB, free: 7.672 MB / 0.4983 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001747/0.1686, allocations: 89.73 kB / 0.6548 GB, free: 7.578 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1686, allocations: 8 kB / 0.6548 GB, free: 7.57 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1686, allocations: 64 / 0.6548 GB, free: 7.57 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.1687, allocations: 4 kB / 0.6548 GB, free: 7.566 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.414e-05/0.1687, allocations: 16.02 kB / 0.6549 GB, free: 7.551 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1688, allocations: 4 kB / 0.6549 GB, free: 7.547 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.391e-05/0.1688, allocations: 11.89 kB / 0.6549 GB, free: 7.535 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1688, allocations: 4 kB / 0.6549 GB, free: 7.531 MB / 0.4983 GB 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.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001551/0.169, allocations: 141.8 kB / 0.655 GB, free: 7.383 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.169, allocations: 23.86 kB / 0.655 GB, free: 7.359 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.946e-05/0.1691, allocations: 33.22 kB / 0.6551 GB, free: 7.324 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.1691, allocations: 4 kB / 0.6551 GB, free: 7.32 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1691, allocations: 3.938 kB / 0.6551 GB, free: 7.316 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1691, allocations: 4 kB / 0.6551 GB, free: 7.312 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.1694, allocations: 217.5 kB / 0.6553 GB, free: 7.051 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1694, allocations: 4 kB / 0.6553 GB, free: 7.047 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.901e-05/0.1694, allocations: 0 / 0.6553 GB, free: 7.047 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1694, allocations: 0 / 0.6553 GB, free: 7.047 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.1694, allocations: 4 kB / 0.6553 GB, free: 7.043 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1694, allocations: 0 / 0.6553 GB, free: 7.043 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1694, allocations: 3.938 kB / 0.6553 GB, free: 7.039 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.1697, allocations: 124.9 kB / 0.6554 GB, free: 6.898 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 9.061e-05/0.1698, allocations: 101 kB / 0.6555 GB, free: 6.781 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.1698, allocations: 0 / 0.6555 GB, free: 6.781 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.488e-05/0.1698, allocations: 8 kB / 0.6555 GB, free: 6.773 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.1699, allocations: 3.984 kB / 0.6555 GB, free: 6.77 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.1699, allocations: 4 kB / 0.6555 GB, free: 6.766 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0002144/0.1701, allocations: 201.9 kB / 0.6557 GB, free: 6.57 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1701, allocations: 7.938 kB / 0.6557 GB, free: 6.562 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002227/0.1704, allocations: 19.94 kB / 0.6557 GB, free: 6.543 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001923/0.1723, allocations: 0.9628 MB / 0.6567 GB, free: 5.711 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.000187/0.1725, allocations: 43.92 kB / 0.6567 GB, free: 5.668 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1725, allocations: 0 / 0.6567 GB, free: 5.668 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/0.1726, allocations: 20.05 kB / 0.6567 GB, free: 5.648 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.1729, allocations: 36.78 kB / 0.6568 GB, free: 5.613 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.1754, allocations: 1.976 MB / 0.6587 GB, free: 3.539 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.1759, allocations: 0.7475 MB / 0.6594 GB, free: 2.766 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.1761, allocations: 29.53 kB / 0.6595 GB, free: 2.738 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.1762, allocations: 71.39 kB / 0.6595 GB, free: 2.668 MB / 0.4983 GB Notification: Performance of SimCode: time 2.805e-06/0.1762, allocations: 0 / 0.6595 GB, free: 2.668 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.2027, allocations: 4.344 MB / 0.6638 GB, free: 14.46 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.139, allocations: 7.938 kB / 0.6638 GB, free: 14.45 MB / 0.5139 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches