Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.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_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250",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.001289/0.001289, allocations: 111.9 kB / 17.06 MB, free: 6.004 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.001369/0.001369, allocations: 198.9 kB / 18 MB, free: 5.082 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.489/1.489, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.125/1.125, allocations: 119.3 MB / 411.2 MB, free: 9.453 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 71.52 kB / 0.5704 GB, free: 40.03 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1513, allocations: 80.69 MB / 0.6492 GB, free: 13.53 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.002663/0.154, allocations: 1.413 MB / 0.6506 GB, free: 12.11 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1551, allocations: 0.5652 MB / 0.6512 GB, free: 11.54 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.703e-05/0.1552, allocations: 4 kB / 0.6512 GB, free: 11.54 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000288/0.1555, allocations: 231.6 kB / 0.6514 GB, free: 11.31 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0004117/0.1559, allocations: 271.5 kB / 0.6516 GB, free: 11.05 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.1562, allocations: 79.67 kB / 0.6517 GB, free: 10.97 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005629/0.1568, allocations: 0.6085 MB / 0.6523 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.1569, allocations: 8 kB / 0.6523 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004116/0.1573, allocations: 303.5 kB / 0.6526 GB, free: 10.06 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005757/0.1579, allocations: 0.5306 MB / 0.6531 GB, free: 9.527 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.971e-05/0.158, allocations: 32 kB / 0.6532 GB, free: 9.496 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.1582, allocations: 107.9 kB / 0.6533 GB, free: 9.391 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.001379/0.1596, allocations: 1.259 MB / 0.6545 GB, free: 8.129 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0007988/0.1604, allocations: 0.7195 MB / 0.6552 GB, free: 7.402 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.1618, allocations: 1.628 MB / 0.6568 GB, free: 5.77 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1619, allocations: 0 / 0.6568 GB, free: 5.77 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1619, allocations: 0 / 0.6568 GB, free: 5.77 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.024e-05/0.1619, allocations: 4 kB / 0.6568 GB, free: 5.766 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.003468/0.1654, allocations: 2.766 MB / 0.6595 GB, free: 2.926 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.1655, allocations: 11.89 kB / 0.6595 GB, free: 2.914 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.436e-05/0.1655, allocations: 34.75 kB / 0.6595 GB, free: 2.871 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003932/0.1659, allocations: 289.1 kB / 0.6598 GB, free: 2.586 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005798/0.1717, allocations: 3.326 MB / 0.663 GB, free: 15.2 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.1717, allocations: 384 / 0.6631 GB, free: 15.2 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.1718, allocations: 8.375 kB / 0.6631 GB, free: 15.2 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.172, allocations: 149.7 kB / 0.6632 GB, free: 15.04 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.172, allocations: 0 / 0.6632 GB, free: 15.04 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.1721, allocations: 11.98 kB / 0.6632 GB, free: 15.03 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1721, allocations: 0 / 0.6632 GB, free: 15.03 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.1722, allocations: 72 kB / 0.6633 GB, free: 14.96 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.1734, allocations: 1.014 MB / 0.6643 GB, free: 13.9 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.1735, allocations: 82.44 kB / 0.6644 GB, free: 13.81 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1736, allocations: 56.86 kB / 0.6644 GB, free: 13.75 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.1737, allocations: 4 kB / 0.6644 GB, free: 13.75 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.1739, allocations: 177 kB / 0.6646 GB, free: 13.56 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.1739, allocations: 0 / 0.6646 GB, free: 13.56 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0009432/0.1749, allocations: 0.6519 MB / 0.6652 GB, free: 12.89 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.175, allocations: 77.11 kB / 0.6653 GB, free: 12.8 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00325/0.1782, allocations: 3.185 MB / 0.6684 GB, free: 9.633 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.1783, allocations: 41.69 kB / 0.6684 GB, free: 9.586 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.1793, allocations: 1.236 MB / 0.6696 GB, free: 8.348 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 5.639e-05/0.1794, allocations: 31.7 kB / 0.6697 GB, free: 8.316 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.1795, allocations: 73.72 kB / 0.6697 GB, free: 8.238 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1796, allocations: 310 kB / 0.67 GB, free: 7.93 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-05/0.1797, allocations: 47.98 kB / 0.6701 GB, free: 7.883 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.661e-05/0.1798, allocations: 44 kB / 0.6701 GB, free: 7.84 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.18, allocations: 176.2 kB / 0.6703 GB, free: 7.652 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.18, allocations: 0 / 0.6703 GB, free: 7.652 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006939/0.1807, allocations: 0.6089 MB / 0.6709 GB, free: 7.027 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 4.312e-05/0.1808, allocations: 40.81 kB / 0.6709 GB, free: 6.984 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1808, allocations: 0 / 0.6709 GB, free: 6.984 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1808, allocations: 0 / 0.6709 GB, free: 6.984 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.514e-05/0.1809, allocations: 4 kB / 0.6709 GB, free: 6.98 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.1809, allocations: 3.938 kB / 0.6709 GB, free: 6.977 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.1811, allocations: 15.98 kB / 0.671 GB, free: 6.961 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.1812, allocations: 112 kB / 0.6711 GB, free: 6.852 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.0008008/0.182, allocations: 0.7429 MB / 0.6718 GB, free: 6.094 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/0.1823, allocations: 308.1 kB / 0.6721 GB, free: 5.789 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003093/0.1826, allocations: 333.8 kB / 0.6724 GB, free: 5.461 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1826, allocations: 0 / 0.6724 GB, free: 5.461 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1826, allocations: 0 / 0.6724 GB, free: 5.461 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1826, allocations: 4 kB / 0.6724 GB, free: 5.457 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009542/0.1836, allocations: 1.097 MB / 0.6735 GB, free: 4.316 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1836, allocations: 7.938 kB / 0.6735 GB, free: 4.309 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.1836, allocations: 4 kB / 0.6735 GB, free: 4.305 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1837, allocations: 0 / 0.6735 GB, free: 4.305 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.1837, allocations: 28 kB / 0.6735 GB, free: 4.277 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.1837, allocations: 3.984 kB / 0.6735 GB, free: 4.273 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1837, allocations: 4 kB / 0.6735 GB, free: 4.27 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006894/0.1844, allocations: 0.665 MB / 0.6742 GB, free: 3.578 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004816/0.1849, allocations: 337.3 kB / 0.6745 GB, free: 3.227 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.185, allocations: 12 kB / 0.6745 GB, free: 3.215 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.1852, allocations: 8 kB / 0.6745 GB, free: 3.207 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.1852, allocations: 8 kB / 0.6745 GB, free: 3.199 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.649e-05/0.1853, allocations: 112 kB / 0.6746 GB, free: 3.09 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.002418/0.1878, allocations: 2.211 MB / 0.6768 GB, free: 0.8984 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1878, allocations: 0 / 0.6768 GB, free: 0.8984 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003742/0.1882, allocations: 112 kB / 0.6769 GB, free: 0.7891 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.001108/0.1893, allocations: 1.255 MB / 0.6781 GB, free: 15.5 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0003349/0.1896, allocations: 219.2 kB / 0.6783 GB, free: 15.27 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1896, allocations: 8 kB / 0.6783 GB, free: 15.26 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.1898, allocations: 143.4 kB / 0.6785 GB, free: 15.11 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006361/0.1904, allocations: 228.6 kB / 0.6787 GB, free: 14.88 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01938/0.2098, allocations: 16.79 MB / 0.6951 GB, free: 13.98 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/0.2112, allocations: 1.691 MB / 0.6967 GB, free: 12.25 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.001149/0.2123, allocations: 0.5924 MB / 0.6973 GB, free: 11.66 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008988/0.2132, allocations: 0.9953 MB / 0.6983 GB, free: 10.66 MB / 0.5452 GB Notification: Performance of SimCode: time 3.466e-06/0.2132, allocations: 0 / 0.6983 GB, free: 10.66 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07604/0.2893, allocations: 41.08 MB / 0.7384 GB, free: 1.668 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/14.57, allocations: 12.81 kB / 0.7384 GB, free: 1.66 MB / 0.5764 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_250.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches