Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_1000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_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.001386/0.001386, allocations: 104.6 kB / 16.51 MB, free: 6.707 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.001328/0.001328, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.403/1.403, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.052/1.052, allocations: 119.3 MB / 410.6 MB, free: 9.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 55.91 kB / 0.4904 GB, free: 14.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5518/0.5532, allocations: 80.68 MB / 0.5691 GB, free: 43.03 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000): time 0.004327/0.5576, allocations: 1.638 MB / 0.5707 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.5592, allocations: 0.872 MB / 0.5716 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.5593, allocations: 5.094 kB / 0.5716 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001431/0.5607, allocations: 1.757 MB / 0.5733 GB, free: 40.19 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.5618, allocations: 0.9408 MB / 0.5742 GB, free: 39.7 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.5621, allocations: 90.86 kB / 0.5743 GB, free: 39.64 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.002101/0.5642, allocations: 2.22 MB / 0.5765 GB, free: 38.56 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.734e-05/0.5643, allocations: 4.125 kB / 0.5765 GB, free: 38.56 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.5659, allocations: 1.103 MB / 0.5776 GB, free: 38.03 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002104/0.568, allocations: 1.926 MB / 0.5795 GB, free: 37.24 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0003062/0.5683, allocations: 126.8 kB / 0.5796 GB, free: 37.24 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004058/0.5687, allocations: 162.6 kB / 0.5797 GB, free: 37.22 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.004428/0.5732, allocations: 4.991 MB / 0.5846 GB, free: 34.08 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.002096/0.5753, allocations: 2.827 MB / 0.5874 GB, free: 31.23 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.003456/0.5788, allocations: 6.019 MB / 0.5932 GB, free: 25.18 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.5788, allocations: 0 / 0.5932 GB, free: 25.18 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5788, allocations: 0 / 0.5932 GB, free: 25.18 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0001368/0.5789, allocations: 0 / 0.5932 GB, free: 25.18 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.009302/0.5882, allocations: 9.973 MB / 0.603 GB, free: 15.07 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.5883, allocations: 8.031 kB / 0.603 GB, free: 15.06 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.5883, allocations: 30.75 kB / 0.603 GB, free: 15.02 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009433/0.5893, allocations: 1.107 MB / 0.6041 GB, free: 13.9 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01646/0.6058, allocations: 12.98 MB / 0.6168 GB, free: 0.8008 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.6058, allocations: 8.375 kB / 0.6168 GB, free: 0.793 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.6059, allocations: 7.938 kB / 0.6168 GB, free: 0.7852 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.606, allocations: 45.67 kB / 0.6168 GB, free: 0.7344 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.606, allocations: 0 / 0.6168 GB, free: 0.7344 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.6061, allocations: 0 / 0.6168 GB, free: 0.7344 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.6061, allocations: 4 kB / 0.6168 GB, free: 0.7305 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.005e-05/0.6061, allocations: 15.98 kB / 0.6169 GB, free: 0.7148 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004701/0.6108, allocations: 3.549 MB / 0.6203 GB, free: 13.12 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.6111, allocations: 58.5 kB / 0.6204 GB, free: 13.05 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.478e-05/0.6112, allocations: 24.84 kB / 0.6204 GB, free: 13.03 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.6113, allocations: 3.984 kB / 0.6204 GB, free: 13.02 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.6115, allocations: 63.39 kB / 0.6205 GB, free: 12.95 MB / 478.3 MB Notification: Performance of pre-optimization done (n=5): time 2.695e-06/0.6115, allocations: 0 / 0.6205 GB, free: 12.95 MB / 478.3 MB Notification: Performance of matching and sorting (n=5): time 0.002014/0.6135, allocations: 1.225 MB / 0.6217 GB, free: 11.7 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.6136, allocations: 55.39 kB / 0.6217 GB, free: 11.64 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02199/0.6356, allocations: 12.75 MB / 0.6342 GB, free: 14.99 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.6357, allocations: 25.7 kB / 0.6342 GB, free: 14.96 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.006437/0.6421, allocations: 5.482 MB / 0.6395 GB, free: 9.473 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.399e-05/0.6422, allocations: 15.81 kB / 0.6396 GB, free: 9.457 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-05/0.6423, allocations: 17.72 kB / 0.6396 GB, free: 9.434 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6424, allocations: 314 kB / 0.6399 GB, free: 9.121 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.6425, allocations: 16.06 kB / 0.6399 GB, free: 9.105 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.699e-05/0.6426, allocations: 33.64 kB / 0.6399 GB, free: 9.066 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.6428, allocations: 45.64 kB / 0.64 GB, free: 9.016 MB / 494.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.6428, allocations: 3.938 kB / 0.64 GB, free: 9.012 MB / 494.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.002259/0.645, allocations: 1.202 MB / 0.6411 GB, free: 7.789 MB / 494.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.6451, allocations: 12.03 kB / 0.6412 GB, free: 7.777 MB / 494.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6451, allocations: 0 / 0.6412 GB, free: 7.777 MB / 494.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.6451, allocations: 0 / 0.6412 GB, free: 7.777 MB / 494.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.97e-05/0.6452, allocations: 11.94 kB / 0.6412 GB, free: 7.766 MB / 494.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.6452, allocations: 3.984 kB / 0.6412 GB, free: 7.762 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.647, allocations: 40 kB / 0.6412 GB, free: 7.723 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.647, allocations: 0 / 0.6412 GB, free: 7.723 MB / 494.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.003743/0.6508, allocations: 2.434 MB / 0.6436 GB, free: 5.277 MB / 494.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002133/0.6529, allocations: 1.169 MB / 0.6447 GB, free: 4.094 MB / 494.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/0.6556, allocations: 1.296 MB / 0.646 GB, free: 2.793 MB / 494.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.6556, allocations: 4 kB / 0.646 GB, free: 2.789 MB / 494.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.6556, allocations: 0 / 0.646 GB, free: 2.789 MB / 494.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6556, allocations: 0 / 0.646 GB, free: 2.789 MB / 494.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007283/0.6629, allocations: 3.893 MB / 0.6498 GB, free: 14.85 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6629, allocations: 0 / 0.6498 GB, free: 14.85 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.223e-05/0.663, allocations: 7.984 kB / 0.6498 GB, free: 14.84 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.663, allocations: 0 / 0.6498 GB, free: 14.84 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.663, allocations: 0 / 0.6498 GB, free: 14.84 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.663, allocations: 0 / 0.6498 GB, free: 14.84 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.663, allocations: 4.062 kB / 0.6498 GB, free: 14.84 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.6652, allocations: 1.344 MB / 0.6511 GB, free: 13.46 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001745/0.6669, allocations: 0.9395 MB / 0.652 GB, free: 12.49 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009246/0.6679, allocations: 35.98 kB / 0.6521 GB, free: 12.46 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009839/0.6689, allocations: 36 kB / 0.6521 GB, free: 12.42 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.6689, allocations: 0 / 0.6521 GB, free: 12.42 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/0.669, allocations: 4 kB / 0.6521 GB, free: 12.42 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01378/0.6827, allocations: 8.763 MB / 0.6607 GB, free: 3.734 MB / 0.4983 GB Notification: Performance of sort global known variables: time 6.12e-07/0.6828, allocations: 7.938 kB / 0.6607 GB, free: 3.727 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.002172/0.685, allocations: 332 kB / 0.661 GB, free: 3.402 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.004345/0.6893, allocations: 2.247 MB / 0.6632 GB, free: 1.277 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.6896, allocations: 39.98 kB / 0.6632 GB, free: 1.238 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6896, allocations: 4.062 kB / 0.6632 GB, free: 1.234 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 9.231e-05/0.6897, allocations: 23.92 kB / 0.6633 GB, free: 1.211 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004605/0.6943, allocations: 0.8662 MB / 0.6641 GB, free: 356 kB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9237/1.618, allocations: 125.4 MB / 0.7866 GB, free: 169.8 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004075/1.622, allocations: 4.798 MB / 0.7913 GB, free: 167.2 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.007225/1.629, allocations: 2.851 MB / 0.7941 GB, free: 165.9 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005819/1.635, allocations: 4.966 MB / 0.7989 GB, free: 161.7 MB / 0.6079 GB Notification: Performance of SimCode: time 1.182e-06/1.635, allocations: 0 / 0.7989 GB, free: 161.7 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2041/1.839, allocations: 142.9 MB / 0.9385 GB, free: 21.64 MB / 0.6079 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/1.84, allocations: 276.3 kB / 0.9388 GB, free: 21.27 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.436/11.28, allocations: 3.094 kB / 0.9388 GB, free: 21.27 MB / 0.6079 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_1000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_1000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches