Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.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_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000",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.001236/0.001241, allocations: 109 kB / 17.06 MB, free: 5.969 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.001212/0.001212, allocations: 200 kB / 18.01 MB, free: 5.051 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.389/1.389, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9408/0.9408, allocations: 119.3 MB / 411.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 62.64 kB / 0.5704 GB, free: 40.02 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1334, allocations: 80.7 MB / 0.6492 GB, free: 13.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.002419/0.1359, allocations: 1.413 MB / 0.6506 GB, free: 12.15 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009525/0.1368, allocations: 0.5729 MB / 0.6512 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.396e-05/0.1369, allocations: 4 kB / 0.6512 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000711/0.1376, allocations: 0.8654 MB / 0.652 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.00081/0.1385, allocations: 0.9005 MB / 0.6529 GB, free: 9.797 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.1388, allocations: 79.8 kB / 0.653 GB, free: 9.719 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001812/0.1406, allocations: 2.196 MB / 0.6551 GB, free: 7.52 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.1406, allocations: 3.984 kB / 0.6551 GB, free: 7.516 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.1417, allocations: 1.088 MB / 0.6562 GB, free: 6.426 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001893/0.1436, allocations: 2.044 MB / 0.6582 GB, free: 4.379 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002676/0.1439, allocations: 128 kB / 0.6583 GB, free: 4.254 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003864/0.1443, allocations: 203.9 kB / 0.6585 GB, free: 4.055 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.005073/0.1494, allocations: 4.987 MB / 0.6634 GB, free: 15.05 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.002796/0.1522, allocations: 2.824 MB / 0.6661 GB, free: 12.2 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.005559/0.1578, allocations: 6.313 MB / 0.6723 GB, free: 5.848 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1578, allocations: 0 / 0.6723 GB, free: 5.848 MB / 0.5139 GB Notification: Performance of FrontEnd: time 4.568e-06/0.1578, allocations: 0 / 0.6723 GB, free: 5.848 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 0.0001137/0.1579, allocations: 7.938 kB / 0.6723 GB, free: 5.84 MB / 0.5139 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.01179/0.1697, allocations: 10.39 MB / 0.6824 GB, free: 11.31 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1698, allocations: 15.89 kB / 0.6825 GB, free: 11.29 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.1699, allocations: 34.75 kB / 0.6825 GB, free: 11.25 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.1713, allocations: 1.165 MB / 0.6836 GB, free: 10.08 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02096/0.1922, allocations: 13.13 MB / 0.6965 GB, free: 12.84 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1923, allocations: 384 / 0.6965 GB, free: 12.84 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.405e-05/0.1924, allocations: 32.38 kB / 0.6965 GB, free: 12.81 MB / 0.5452 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005835/0.193, allocations: 425.4 kB / 0.6969 GB, free: 12.39 MB / 0.5452 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.193, allocations: 3.938 kB / 0.6969 GB, free: 12.38 MB / 0.5452 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.192e-05/0.1931, allocations: 32 kB / 0.6969 GB, free: 12.35 MB / 0.5452 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.1931, allocations: 8 kB / 0.6969 GB, free: 12.34 MB / 0.5452 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.1934, allocations: 240 kB / 0.6972 GB, free: 12.11 MB / 0.5452 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00487/0.1983, allocations: 3.576 MB / 0.7007 GB, free: 8.488 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003442/0.1987, allocations: 162.6 kB / 0.7008 GB, free: 8.32 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.199, allocations: 152.9 kB / 0.701 GB, free: 8.168 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.199, allocations: 0 / 0.701 GB, free: 8.168 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005014/0.1995, allocations: 416.6 kB / 0.7014 GB, free: 7.742 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=8): time 4.008e-06/0.1995, allocations: 3.984 kB / 0.7014 GB, free: 7.738 MB / 0.5452 GB Notification: Performance of matching and sorting (n=8): time 0.003219/0.2027, allocations: 2.253 MB / 0.7036 GB, free: 5.465 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.2028, allocations: 81.11 kB / 0.7036 GB, free: 5.367 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01656/0.2194, allocations: 12.46 MB / 0.7158 GB, free: 9.004 MB / 0.5608 GB Notification: Performance of collectPreVariables (initialization): time 0.0001795/0.2196, allocations: 57.7 kB / 0.7159 GB, free: 8.941 MB / 0.5608 GB Notification: Performance of collectInitialEqns (initialization): time 0.005849/0.2255, allocations: 5.208 MB / 0.721 GB, free: 3.73 MB / 0.5608 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.2257, allocations: 55.8 kB / 0.721 GB, free: 3.676 MB / 0.5608 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004016/0.2261, allocations: 245.7 kB / 0.7212 GB, free: 3.43 MB / 0.5608 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2263, allocations: 310 kB / 0.7215 GB, free: 3.121 MB / 0.5608 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.2265, allocations: 144 kB / 0.7217 GB, free: 2.98 MB / 0.5608 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.2268, allocations: 139.9 kB / 0.7218 GB, free: 2.844 MB / 0.5608 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005445/0.2273, allocations: 352.2 kB / 0.7221 GB, free: 2.484 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2273, allocations: 4 kB / 0.7221 GB, free: 2.48 MB / 0.5608 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.002816/0.2302, allocations: 2.112 MB / 0.7242 GB, free: 356 kB / 0.5608 GB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/0.2302, allocations: 33.69 kB / 0.7242 GB, free: 316 kB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.2302, allocations: 4 kB / 0.7242 GB, free: 312 kB / 0.5608 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2303, allocations: 4 kB / 0.7242 GB, free: 308 kB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.137e-05/0.2303, allocations: 12 kB / 0.7243 GB, free: 296 kB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2304, allocations: 0 / 0.7243 GB, free: 296 kB / 0.5608 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.2315, allocations: 32 kB / 0.7243 GB, free: 264 kB / 0.5608 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004074/0.2319, allocations: 440 kB / 0.7247 GB, free: 15.82 MB / 0.5764 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.003542/0.2354, allocations: 2.526 MB / 0.7272 GB, free: 13.29 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001618/0.2371, allocations: 1.199 MB / 0.7283 GB, free: 12.08 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/0.2392, allocations: 1.288 MB / 0.7296 GB, free: 10.79 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2393, allocations: 0 / 0.7296 GB, free: 10.79 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2393, allocations: 4.094 kB / 0.7296 GB, free: 10.78 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2393, allocations: 3.938 kB / 0.7296 GB, free: 10.78 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005551/0.2448, allocations: 3.888 MB / 0.7334 GB, free: 6.844 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.2449, allocations: 3.938 kB / 0.7334 GB, free: 6.84 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.703e-05/0.2449, allocations: 4 kB / 0.7334 GB, free: 6.836 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2449, allocations: 0 / 0.7334 GB, free: 6.836 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/0.2451, allocations: 99.98 kB / 0.7335 GB, free: 6.738 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2451, allocations: 0 / 0.7335 GB, free: 6.738 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.2451, allocations: 0 / 0.7335 GB, free: 6.738 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002784/0.2479, allocations: 2.231 MB / 0.7357 GB, free: 4.477 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001758/0.2497, allocations: 1.11 MB / 0.7368 GB, free: 3.34 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007055/0.2504, allocations: 32 kB / 0.7368 GB, free: 3.309 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007973/0.2512, allocations: 40 kB / 0.7368 GB, free: 3.27 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.2512, allocations: 0 / 0.7368 GB, free: 3.27 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003926/0.2516, allocations: 448 kB / 0.7373 GB, free: 2.832 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01262/0.2642, allocations: 8.567 MB / 0.7456 GB, free: 10.34 MB / 0.592 GB Notification: Performance of sort global known variables: time 7.41e-07/0.2643, allocations: 0 / 0.7456 GB, free: 10.34 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.00134/0.2656, allocations: 340 kB / 0.746 GB, free: 10.01 MB / 0.592 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.003436/0.2691, allocations: 2.879 MB / 0.7488 GB, free: 7.094 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0006912/0.2698, allocations: 423.4 kB / 0.7492 GB, free: 6.668 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2698, allocations: 0 / 0.7492 GB, free: 6.668 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0003836/0.2702, allocations: 259.4 kB / 0.7494 GB, free: 6.402 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/0.2732, allocations: 0.8575 MB / 0.7503 GB, free: 5.543 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5985/0.8718, allocations: 65.06 MB / 0.8138 GB, free: 83.6 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002994/0.8748, allocations: 4.789 MB / 0.8185 GB, free: 78.78 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.003618/0.8784, allocations: 2.382 MB / 0.8208 GB, free: 76.55 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002787/0.8812, allocations: 4.401 MB / 0.8251 GB, free: 72.14 MB / 0.6079 GB Notification: Performance of SimCode: time 1.112e-06/0.8812, allocations: 0 / 0.8251 GB, free: 72.14 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.323/2.204, allocations: 157.2 MB / 0.9786 GB, free: 10.88 MB / 0.7017 GB Notification: Performance of buildModelFMU: Generate platform static: time 112.3/114.5, allocations: 6.375 kB / 0.9786 GB, free: 10.88 MB / 0.7017 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches