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.001167/0.001167, allocations: 105.2 kB / 17.06 MB, free: 6.027 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.001858/0.001858, allocations: 195 kB / 18 MB, free: 5.105 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.429/1.429, 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.118/1.118, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 68.86 kB / 0.5704 GB, free: 40.05 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1735, allocations: 80.69 MB / 0.6492 GB, free: 13.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002847/0.1764, allocations: 1.396 MB / 0.6506 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1775, allocations: 0.5636 MB / 0.6511 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.645e-05/0.1776, allocations: 0 / 0.6511 GB, free: 11.61 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.1777, allocations: 19.91 kB / 0.6511 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000284/0.1781, allocations: 63.8 kB / 0.6512 GB, free: 11.53 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.1784, allocations: 83.8 kB / 0.6513 GB, free: 11.45 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.1786, allocations: 91.73 kB / 0.6514 GB, free: 11.36 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.474e-05/0.1787, allocations: 7.984 kB / 0.6514 GB, free: 11.35 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.1788, allocations: 47.83 kB / 0.6514 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.179, allocations: 39.91 kB / 0.6515 GB, free: 11.27 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.179, allocations: 4 kB / 0.6515 GB, free: 11.26 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.1792, allocations: 83.91 kB / 0.6515 GB, free: 11.18 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.1793, allocations: 67.75 kB / 0.6516 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 7.275e-05/0.1794, allocations: 43.62 kB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.1797, allocations: 151.2 kB / 0.6518 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1797, allocations: 0 / 0.6518 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1797, allocations: 0 / 0.6518 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.1797, allocations: 7.938 kB / 0.6518 GB, free: 10.92 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.0006296/0.1803, allocations: 484.1 kB / 0.6523 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.1804, allocations: 11.89 kB / 0.6523 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.883e-05/0.1804, allocations: 38.75 kB / 0.6523 GB, free: 10.33 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.67e-05/0.1805, allocations: 20.75 kB / 0.6523 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/0.181, allocations: 304.7 kB / 0.6526 GB, free: 9.973 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.181, allocations: 4.375 kB / 0.6526 GB, free: 9.969 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.181, allocations: 384 / 0.6526 GB, free: 9.969 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.1812, allocations: 65.73 kB / 0.6527 GB, free: 9.898 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1812, allocations: 0 / 0.6527 GB, free: 9.898 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.1812, allocations: 4 kB / 0.6527 GB, free: 9.895 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1812, allocations: 0 / 0.6527 GB, free: 9.895 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.929e-05/0.1813, allocations: 16 kB / 0.6527 GB, free: 9.879 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.1815, allocations: 201.6 kB / 0.6529 GB, free: 9.633 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 7.286e-05/0.1816, allocations: 42.56 kB / 0.6529 GB, free: 9.582 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.612e-05/0.1817, allocations: 32.86 kB / 0.653 GB, free: 9.547 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.1817, allocations: 0 / 0.653 GB, free: 9.547 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.1818, allocations: 112.9 kB / 0.6531 GB, free: 9.418 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.754e-06/0.1819, allocations: 0 / 0.6531 GB, free: 9.418 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0003454/0.1822, allocations: 167.2 kB / 0.6532 GB, free: 9.242 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.1823, allocations: 77.11 kB / 0.6533 GB, free: 9.148 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.1825, allocations: 232.2 kB / 0.6535 GB, free: 8.91 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.1825, allocations: 29.7 kB / 0.6536 GB, free: 8.875 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.1826, allocations: 116.1 kB / 0.6537 GB, free: 8.758 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.1826, allocations: 23.73 kB / 0.6537 GB, free: 8.734 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.1827, allocations: 25.72 kB / 0.6537 GB, free: 8.703 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1828, allocations: 338.8 kB / 0.654 GB, free: 8.363 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-05/0.1829, allocations: 12 kB / 0.654 GB, free: 8.352 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.1829, allocations: 19.98 kB / 0.6541 GB, free: 8.332 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.183, allocations: 100.4 kB / 0.6542 GB, free: 8.219 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.183, allocations: 3.938 kB / 0.6542 GB, free: 8.215 MB / 0.4983 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001957/0.1832, allocations: 159 kB / 0.6543 GB, free: 8.047 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.1833, allocations: 33.7 kB / 0.6543 GB, free: 8.008 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1833, allocations: 4 kB / 0.6544 GB, free: 8.004 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1833, allocations: 4 kB / 0.6544 GB, free: 8 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.1834, allocations: 7.984 kB / 0.6544 GB, free: 7.992 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1834, allocations: 0 / 0.6544 GB, free: 7.992 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.774e-05/0.1835, allocations: 3.938 kB / 0.6544 GB, free: 7.988 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.1835, allocations: 8 kB / 0.6544 GB, free: 7.98 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.0001581/0.1837, allocations: 171.8 kB / 0.6545 GB, free: 7.797 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.483e-05/0.1837, allocations: 27.73 kB / 0.6546 GB, free: 7.77 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.1838, allocations: 21.39 kB / 0.6546 GB, free: 7.746 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1838, allocations: 4 kB / 0.6546 GB, free: 7.742 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.1838, allocations: 0 / 0.6546 GB, free: 7.742 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1838, allocations: 0 / 0.6546 GB, free: 7.742 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.184, allocations: 221.5 kB / 0.6548 GB, free: 7.477 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.184, allocations: 3.938 kB / 0.6548 GB, free: 7.473 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.168e-05/0.184, allocations: 0 / 0.6548 GB, free: 7.473 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.184, allocations: 0 / 0.6548 GB, free: 7.473 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.184, allocations: 11.94 kB / 0.6548 GB, free: 7.461 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.184, allocations: 4 kB / 0.6548 GB, free: 7.457 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1841, allocations: 0 / 0.6548 GB, free: 7.457 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.1843, allocations: 194.6 kB / 0.655 GB, free: 7.242 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.1844, allocations: 104.8 kB / 0.6551 GB, free: 7.121 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.1844, allocations: 7.938 kB / 0.6551 GB, free: 7.113 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.512e-05/0.1845, allocations: 4 kB / 0.6551 GB, free: 7.109 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.1845, allocations: 4 kB / 0.6551 GB, free: 7.105 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.1845, allocations: 8 kB / 0.6551 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001506/0.1847, allocations: 177.6 kB / 0.6553 GB, free: 6.926 MB / 0.4983 GB Notification: Performance of sort global known variables: time 2e-07/0.1847, allocations: 0 / 0.6553 GB, free: 6.926 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002452/0.185, allocations: 36 kB / 0.6553 GB, free: 6.891 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.0005918/0.1856, allocations: 0.7626 MB / 0.6561 GB, free: 6.098 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.1858, allocations: 143.4 kB / 0.6562 GB, free: 5.945 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1858, allocations: 0 / 0.6562 GB, free: 5.945 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.1859, allocations: 115.3 kB / 0.6563 GB, free: 5.82 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.1862, allocations: 20.61 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.001981/0.1881, 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.0002873/0.1884, allocations: 0.7239 MB / 0.6589 GB, free: 3.023 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 7.421e-05/0.1885, allocations: 29.67 kB / 0.659 GB, free: 2.996 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.1886, allocations: 43.42 kB / 0.659 GB, free: 2.953 MB / 0.4983 GB Notification: Performance of SimCode: time 7.61e-07/0.1886, allocations: 4 kB / 0.659 GB, free: 2.949 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.21, allocations: 3.53 MB / 0.6625 GB, free: 15.52 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.924/8.134, allocations: 64 / 0.6625 GB, free: 15.52 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