Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.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.ScaledExperiments.TimeTable_N_125,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_125",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.001401/0.001401, allocations: 110.2 kB / 17.06 MB, free: 5.82 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.001349, allocations: 195.9 kB / 18 MB, free: 4.965 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.446/1.446, 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 0.9587/0.9587, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 62.94 kB / 0.5704 GB, free: 40.09 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1632, allocations: 80.71 MB / 0.6492 GB, free: 13.58 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125): time 0.002687/0.166, allocations: 1.402 MB / 0.6506 GB, free: 12.17 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1671, allocations: 0.573 MB / 0.6512 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/0.1672, allocations: 0 / 0.6512 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.1675, allocations: 119.8 kB / 0.6513 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003502/0.1679, allocations: 163.7 kB / 0.6514 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.1682, allocations: 79.78 kB / 0.6515 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000341/0.1685, allocations: 341.5 kB / 0.6518 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.1686, allocations: 8 kB / 0.6518 GB, free: 10.89 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002605/0.1689, allocations: 177.6 kB / 0.652 GB, free: 10.72 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.1692, allocations: 283.7 kB / 0.6523 GB, free: 10.44 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.348e-05/0.1693, allocations: 20 kB / 0.6523 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.1694, allocations: 95.88 kB / 0.6524 GB, free: 10.33 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0006458/0.1701, allocations: 0.6371 MB / 0.653 GB, free: 9.691 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003847/0.1705, allocations: 376.3 kB / 0.6534 GB, free: 9.32 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.000866/0.1713, allocations: 0.8658 MB / 0.6542 GB, free: 8.449 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1714, allocations: 0 / 0.6542 GB, free: 8.449 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1714, allocations: 0 / 0.6542 GB, free: 8.449 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.583e-05/0.1714, allocations: 4 kB / 0.6542 GB, free: 8.445 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001967/0.1734, allocations: 1.623 MB / 0.6558 GB, free: 6.758 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.1734, allocations: 11.89 kB / 0.6558 GB, free: 6.746 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.1735, allocations: 34.73 kB / 0.6559 GB, free: 6.703 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.1737, allocations: 155.9 kB / 0.656 GB, free: 6.551 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002746/0.1765, allocations: 1.775 MB / 0.6577 GB, free: 4.73 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1765, allocations: 4.312 kB / 0.6577 GB, free: 4.727 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.1765, allocations: 8.375 kB / 0.6577 GB, free: 4.719 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.1767, allocations: 105.8 kB / 0.6579 GB, free: 4.609 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1767, allocations: 0 / 0.6579 GB, free: 4.609 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.1767, allocations: 4 kB / 0.6579 GB, free: 4.605 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1768, allocations: 0 / 0.6579 GB, free: 4.605 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.978e-05/0.1769, allocations: 47.98 kB / 0.6579 GB, free: 4.559 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006442/0.1775, allocations: 0.5735 MB / 0.6585 GB, free: 3.938 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.1776, allocations: 58.5 kB / 0.6585 GB, free: 3.871 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.069e-05/0.1777, allocations: 44.86 kB / 0.6586 GB, free: 3.824 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.1777, allocations: 4 kB / 0.6586 GB, free: 3.82 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.1779, allocations: 137 kB / 0.6587 GB, free: 3.668 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.178, allocations: 3.938 kB / 0.6587 GB, free: 3.664 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0006511/0.1786, allocations: 414.3 kB / 0.6591 GB, free: 3.246 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.1787, allocations: 85.05 kB / 0.6592 GB, free: 3.145 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.1806, allocations: 1.636 MB / 0.6608 GB, free: 1.512 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.1807, allocations: 33.7 kB / 0.6608 GB, free: 1.473 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005218/0.1812, allocations: 0.6297 MB / 0.6614 GB, free: 0.8398 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 5.961e-05/0.1813, allocations: 23.89 kB / 0.6614 GB, free: 0.8164 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.454e-05/0.1814, allocations: 53.7 kB / 0.6615 GB, free: 0.7578 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1815, allocations: 306 kB / 0.6618 GB, free: 464 kB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.243e-05/0.1816, allocations: 36 kB / 0.6618 GB, free: 428 kB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.927e-05/0.1817, allocations: 31.98 kB / 0.6618 GB, free: 396 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.1818, allocations: 140.3 kB / 0.662 GB, free: 240 kB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1818, allocations: 0 / 0.662 GB, free: 240 kB / 0.4983 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004923/0.1823, allocations: 390.2 kB / 0.6624 GB, free: 15.84 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 4.798e-05/0.1824, allocations: 37.69 kB / 0.6624 GB, free: 15.8 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1824, allocations: 0 / 0.6624 GB, free: 15.8 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1824, allocations: 0 / 0.6624 GB, free: 15.8 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/0.1825, allocations: 4 kB / 0.6624 GB, free: 15.79 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1825, allocations: 0 / 0.6624 GB, free: 15.79 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.1827, allocations: 11.94 kB / 0.6624 GB, free: 15.78 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/0.1828, allocations: 60.14 kB / 0.6625 GB, free: 15.72 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0005296/0.1833, allocations: 456.6 kB / 0.6629 GB, free: 15.26 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.1835, allocations: 166.9 kB / 0.6631 GB, free: 15.1 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.1837, allocations: 166.8 kB / 0.6632 GB, free: 14.93 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.1837, allocations: 4 kB / 0.6632 GB, free: 14.93 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1837, allocations: 0 / 0.6632 GB, free: 14.93 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1838, allocations: 3.938 kB / 0.6632 GB, free: 14.92 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006211/0.1844, allocations: 0.6281 MB / 0.6638 GB, free: 14.25 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.1844, allocations: 3.984 kB / 0.6638 GB, free: 14.24 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.1844, allocations: 4 kB / 0.6638 GB, free: 14.24 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1844, allocations: 3.938 kB / 0.6638 GB, free: 14.23 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.1845, allocations: 16 kB / 0.6639 GB, free: 14.22 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1845, allocations: 0 / 0.6639 GB, free: 14.22 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1845, allocations: 4 kB / 0.6639 GB, free: 14.21 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005156/0.185, allocations: 434.4 kB / 0.6643 GB, free: 13.77 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/0.1853, allocations: 216.1 kB / 0.6645 GB, free: 13.54 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.924e-05/0.1854, allocations: 8 kB / 0.6645 GB, free: 13.53 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.1856, allocations: 8 kB / 0.6645 GB, free: 13.52 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.1856, allocations: 7.984 kB / 0.6645 GB, free: 13.51 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.317e-05/0.1857, allocations: 59.94 kB / 0.6646 GB, free: 13.45 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.001432/0.1871, allocations: 1.147 MB / 0.6657 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of sort global known variables: time 3.11e-07/0.1871, allocations: 0 / 0.6657 GB, free: 12.32 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003603/0.1875, allocations: 79.92 kB / 0.6658 GB, free: 12.24 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0009443/0.1885, allocations: 1.011 MB / 0.6668 GB, free: 11.2 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.000288/0.1888, allocations: 167.4 kB / 0.6669 GB, free: 11.02 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1888, allocations: 4 kB / 0.6669 GB, free: 11.02 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.1889, allocations: 131.3 kB / 0.667 GB, free: 10.88 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.1895, allocations: 122.4 kB / 0.6672 GB, free: 10.75 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.2017, allocations: 8.997 MB / 0.6759 GB, free: 1.566 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008567/0.2026, allocations: 1.18 MB / 0.6771 GB, free: 368 kB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0006541/0.2033, allocations: 293.7 kB / 0.6774 GB, free: 68 kB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000502/0.2038, allocations: 487.4 kB / 0.6778 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of SimCode: time 1.223e-06/0.2038, allocations: 0 / 0.6778 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05/0.2538, allocations: 21.09 MB / 0.6984 GB, free: 10.57 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.87, allocations: 10.36 kB / 0.6985 GB, free: 10.56 MB / 0.5452 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_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_ScaledExperiments_TimeTable_N_125.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_125.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches