Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",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.001416/0.001422, allocations: 113.2 kB / 17.06 MB, free: 5.977 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.001557/0.001557, allocations: 198.9 kB / 18.01 MB, free: 5.059 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.454/1.454, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.055/1.055, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.001851, allocations: 56.44 kB / 0.5704 GB, free: 40.05 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1728, allocations: 80.7 MB / 0.6492 GB, free: 13.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002613/0.1755, allocations: 1.384 MB / 0.6506 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1766, allocations: 0.5791 MB / 0.6511 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.291e-05/0.1766, allocations: 0 / 0.6511 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.1768, allocations: 23.91 kB / 0.6511 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.1772, allocations: 55.81 kB / 0.6512 GB, free: 11.52 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.1775, allocations: 79.78 kB / 0.6513 GB, free: 11.44 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.1776, allocations: 91.81 kB / 0.6514 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.1777, allocations: 4 kB / 0.6514 GB, free: 11.34 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.1778, allocations: 51.83 kB / 0.6514 GB, free: 11.29 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.178, allocations: 43.83 kB / 0.6515 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.178, allocations: 8 kB / 0.6515 GB, free: 11.24 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.1781, allocations: 75.92 kB / 0.6515 GB, free: 11.17 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.1783, allocations: 67.8 kB / 0.6516 GB, free: 11.1 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 6.338e-05/0.1783, allocations: 43.62 kB / 0.6516 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.1786, allocations: 155.2 kB / 0.6518 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1786, allocations: 0 / 0.6518 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1786, allocations: 0 / 0.6518 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.1786, allocations: 0 / 0.6518 GB, free: 10.91 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.0005915/0.1792, allocations: 480.1 kB / 0.6523 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.1793, allocations: 15.89 kB / 0.6523 GB, free: 10.37 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.028e-05/0.1793, allocations: 34.75 kB / 0.6523 GB, free: 10.33 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.1793, allocations: 16.75 kB / 0.6523 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.1798, allocations: 316.7 kB / 0.6526 GB, free: 9.961 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.1799, allocations: 384 / 0.6526 GB, free: 9.961 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.1799, allocations: 4.375 kB / 0.6526 GB, free: 9.957 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.18, allocations: 53.8 kB / 0.6527 GB, free: 9.898 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.18, allocations: 0 / 0.6527 GB, free: 9.898 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1801, allocations: 4 kB / 0.6527 GB, free: 9.895 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1801, allocations: 0 / 0.6527 GB, free: 9.895 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.866e-05/0.1801, allocations: 20 kB / 0.6527 GB, free: 9.875 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.1804, allocations: 201.6 kB / 0.6529 GB, free: 9.629 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 7.329e-05/0.1804, allocations: 50.48 kB / 0.6529 GB, free: 9.57 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.791e-05/0.1805, allocations: 28.86 kB / 0.653 GB, free: 9.539 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.1805, allocations: 0 / 0.653 GB, free: 9.539 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.1807, allocations: 105 kB / 0.6531 GB, free: 9.418 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.1807, allocations: 8 kB / 0.6531 GB, free: 9.41 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0003273/0.181, allocations: 167.3 kB / 0.6532 GB, free: 9.234 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/0.1811, allocations: 81.11 kB / 0.6533 GB, free: 9.137 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.1813, allocations: 232.1 kB / 0.6535 GB, free: 8.898 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1814, allocations: 29.7 kB / 0.6536 GB, free: 8.863 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.1814, allocations: 116.1 kB / 0.6537 GB, free: 8.746 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.1815, allocations: 23.73 kB / 0.6537 GB, free: 8.723 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.1815, allocations: 25.72 kB / 0.6537 GB, free: 8.691 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1817, allocations: 330.8 kB / 0.654 GB, free: 8.359 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.986e-05/0.1817, allocations: 20 kB / 0.6541 GB, free: 8.34 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-05/0.1818, allocations: 19.98 kB / 0.6541 GB, free: 8.32 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1819, allocations: 104.2 kB / 0.6542 GB, free: 8.203 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1819, allocations: 0 / 0.6542 GB, free: 8.203 MB / 0.4983 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001899/0.1821, allocations: 155 kB / 0.6543 GB, free: 8.039 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.1821, allocations: 37.7 kB / 0.6544 GB, free: 7.996 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1821, allocations: 0 / 0.6544 GB, free: 7.996 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1822, allocations: 0 / 0.6544 GB, free: 7.996 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.303e-05/0.1822, allocations: 7.984 kB / 0.6544 GB, free: 7.988 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1822, allocations: 4 kB / 0.6544 GB, free: 7.984 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.84e-05/0.1823, allocations: 7.938 kB / 0.6544 GB, free: 7.977 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.1823, allocations: 11.94 kB / 0.6544 GB, free: 7.965 MB / 0.4983 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.0001322/0.1825, allocations: 174.8 kB / 0.6545 GB, free: 7.781 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.1825, allocations: 19.75 kB / 0.6546 GB, free: 7.762 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.1825, allocations: 21.39 kB / 0.6546 GB, free: 7.738 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1826, allocations: 4 kB / 0.6546 GB, free: 7.734 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1826, allocations: 0 / 0.6546 GB, free: 7.734 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1826, allocations: 0 / 0.6546 GB, free: 7.734 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.1827, allocations: 213.6 kB / 0.6548 GB, free: 7.477 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1827, allocations: 7.875 kB / 0.6548 GB, free: 7.469 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.1828, allocations: 4 kB / 0.6548 GB, free: 7.465 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1828, allocations: 0 / 0.6548 GB, free: 7.465 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.1828, allocations: 8 kB / 0.6548 GB, free: 7.457 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1828, allocations: 0 / 0.6548 GB, free: 7.457 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1828, allocations: 0 / 0.6548 GB, free: 7.457 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.183, allocations: 198.6 kB / 0.655 GB, free: 7.238 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-05/0.1831, allocations: 112.8 kB / 0.6551 GB, free: 7.109 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.1832, allocations: 7.938 kB / 0.6551 GB, free: 7.102 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.636e-05/0.1832, allocations: 0 / 0.6551 GB, free: 7.102 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.1832, allocations: 4 kB / 0.6551 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1833, allocations: 12 kB / 0.6551 GB, free: 7.086 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001385/0.1834, allocations: 173.6 kB / 0.6553 GB, free: 6.918 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1834, allocations: 0 / 0.6553 GB, free: 6.918 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002248/0.1836, allocations: 36 kB / 0.6553 GB, free: 6.883 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: 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.0005525/0.1842, allocations: 0.7588 MB / 0.6561 GB, free: 6.094 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.1844, allocations: 147.3 kB / 0.6562 GB, free: 5.938 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1844, allocations: 0 / 0.6562 GB, free: 5.938 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 9.884e-05/0.1845, allocations: 111.4 kB / 0.6563 GB, free: 5.816 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.1848, allocations: 16.67 kB / 0.6563 GB, free: 5.797 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.1868, allocations: 1.932 MB / 0.6582 GB, free: 3.773 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.1871, allocations: 0.7278 MB / 0.6589 GB, free: 3.02 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 7.125e-05/0.1872, allocations: 25.81 kB / 0.659 GB, free: 2.996 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.849e-05/0.1873, allocations: 47.42 kB / 0.659 GB, free: 2.949 MB / 0.4983 GB Notification: Performance of SimCode: time 5.11e-07/0.1873, allocations: 3.938 kB / 0.659 GB, free: 2.945 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.2085, allocations: 3.533 MB / 0.6625 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/8.318, allocations: 6.859 kB / 0.6625 GB, free: 15.5 MB / 0.5139 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches