Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009651/0.0009654, allocations: 176.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 221.5 MB / 230.3 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000898/0.000898, allocations: 85.69 kB / 281.1 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8284/0.8284, allocations: 120.5 MB / 452.4 MB, free: 10.49 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.342e-05/1.343e-05, allocations: 0 / 0.5288 GB, free: 1.309 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4898/0.4899, allocations: 82.84 MB / 0.6097 GB, free: 13.05 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.6283, allocations: 126 MB / 0.7327 GB, free: 14.92 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001448/0.6285, allocations: 59.91 kB / 0.7328 GB, free: 14.86 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 4.139/4.768, allocations: 0.6132 GB / 1.346 GB, free: 162.2 MB / 0.6828 GB Notification: Performance of FrontEnd: time 1.924e-06/4.768, allocations: 4 kB / 1.346 GB, free: 162.2 MB / 0.6828 GB Notification: Performance of Transformations before backend: time 0.00156/4.769, allocations: 500 kB / 1.346 GB, free: 161.7 MB / 0.6828 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.02745/4.797, allocations: 24.83 MB / 1.371 GB, free: 139.9 MB / 0.6828 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/4.797, allocations: 12.03 kB / 1.371 GB, free: 139.8 MB / 0.6828 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004929/4.802, allocations: 4.523 MB / 1.375 GB, free: 135.3 MB / 0.6828 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09298/4.895, allocations: 44.6 MB / 1.419 GB, free: 93.57 MB / 0.6828 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/4.895, allocations: 0 / 1.419 GB, free: 93.57 MB / 0.6828 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002649/4.895, allocations: 128 kB / 1.419 GB, free: 93.44 MB / 0.6828 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006892/4.896, allocations: 0.7578 MB / 1.42 GB, free: 92.68 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009767/4.897, allocations: 1.391 MB / 1.421 GB, free: 91.29 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/4.897, allocations: 0 / 1.421 GB, free: 91.29 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001936/4.897, allocations: 128 kB / 1.421 GB, free: 91.16 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/4.897, allocations: 3.953 kB / 1.421 GB, free: 91.16 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02243/4.919, allocations: 13.54 MB / 1.434 GB, free: 77.57 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007049/4.92, allocations: 406.6 kB / 1.435 GB, free: 77.16 MB / 0.6828 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004425/4.921, allocations: 408.9 kB / 1.435 GB, free: 76.76 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-06/4.921, allocations: 3.984 kB / 1.435 GB, free: 76.75 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007858/4.921, allocations: 1.195 MB / 1.436 GB, free: 75.54 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=8): time 2.385e-06/4.921, allocations: 0 / 1.436 GB, free: 75.54 MB / 0.6828 GB Notification: Performance of matching and sorting (n=8): time 0.006441/4.928, allocations: 7.056 MB / 1.443 GB, free: 68.42 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/4.928, allocations: 77.11 kB / 1.443 GB, free: 68.32 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06064/4.989, allocations: 39.39 MB / 1.482 GB, free: 29.36 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.0004304/4.989, allocations: 153.7 kB / 1.482 GB, free: 29.2 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.02144/5.011, allocations: 22.92 MB / 1.504 GB, free: 6.277 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005343/5.011, allocations: 143.8 kB / 1.504 GB, free: 6.137 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/5.011, allocations: 124 kB / 1.504 GB, free: 6.016 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/5.011, allocations: 313.9 kB / 1.505 GB, free: 5.703 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000454/5.012, allocations: 388 kB / 1.505 GB, free: 5.324 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/5.012, allocations: 388 kB / 1.505 GB, free: 4.945 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005357/5.013, allocations: 392 kB / 1.506 GB, free: 4.562 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/5.013, allocations: 4 kB / 1.506 GB, free: 4.559 MB / 0.6828 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.3389/5.352, allocations: 7.055 MB / 1.513 GB, free: 164.7 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 5.648e-05/5.352, allocations: 34.2 kB / 1.513 GB, free: 164.6 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/5.352, allocations: 0.75 kB / 1.513 GB, free: 164.6 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/5.352, allocations: 0 / 1.513 GB, free: 164.6 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.241e-05/5.352, allocations: 6.312 kB / 1.513 GB, free: 164.6 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/5.352, allocations: 0 / 1.513 GB, free: 164.6 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0039/5.356, allocations: 130.7 kB / 1.513 GB, free: 164.6 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001482/5.357, allocations: 1.715 MB / 1.515 GB, free: 164.6 MB / 0.6828 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004205/5.358, allocations: 392.4 kB / 1.515 GB, free: 164.5 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003705/5.362, allocations: 4.521 MB / 1.519 GB, free: 163.3 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/5.373, allocations: 5.117 MB / 1.524 GB, free: 162.8 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/5.373, allocations: 0 / 1.524 GB, free: 162.8 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/5.373, allocations: 3.594 kB / 1.524 GB, free: 162.8 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/5.373, allocations: 3.969 kB / 1.524 GB, free: 162.8 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02081/5.394, allocations: 14.77 MB / 1.539 GB, free: 158.7 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/5.394, allocations: 10.09 kB / 1.539 GB, free: 158.7 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.986e-05/5.394, allocations: 3.375 kB / 1.539 GB, free: 158.7 MB / 0.6828 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/5.394, allocations: 0 / 1.539 GB, free: 158.7 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005862/5.395, allocations: 381 kB / 1.539 GB, free: 158.7 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/5.395, allocations: 0 / 1.539 GB, free: 158.7 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/5.395, allocations: 0 / 1.539 GB, free: 158.7 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006419/5.401, allocations: 7.373 MB / 1.546 GB, free: 155.9 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004666/5.406, allocations: 3.883 MB / 1.55 GB, free: 153.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002461/5.408, allocations: 130.7 kB / 1.55 GB, free: 153.3 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002587/5.411, allocations: 127.2 kB / 1.55 GB, free: 153.3 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/5.411, allocations: 3 kB / 1.55 GB, free: 153.3 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009148/5.412, allocations: 1.717 MB / 1.552 GB, free: 153 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.0526/5.464, allocations: 31.19 MB / 1.583 GB, free: 144.5 MB / 0.6828 GB Notification: Performance of sort global known variables: time 4.61e-07/5.464, allocations: 3.906 kB / 1.583 GB, free: 144.5 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.00388/5.468, allocations: 1.258 MB / 1.584 GB, free: 144.5 MB / 0.6828 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004061/5.469, allocations: 253 kB / 1.584 GB, free: 144.4 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.001107/5.47, allocations: 0.9806 MB / 1.585 GB, free: 144.3 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/5.47, allocations: 0 / 1.585 GB, free: 144.3 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.000674/5.471, allocations: 0.5944 MB / 1.586 GB, free: 144.2 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007145/5.478, allocations: 3.254 MB / 1.589 GB, free: 142.1 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08501/5.563, allocations: 57.71 MB / 1.645 GB, free: 103 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0253/5.588, allocations: 18.06 MB / 1.663 GB, free: 84.92 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.024/5.612, allocations: 9.382 MB / 1.672 GB, free: 75.54 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001683/5.614, allocations: 1.964 MB / 1.674 GB, free: 73.57 MB / 0.6828 GB Notification: Performance of SimCode: time 9.52e-07/5.614, allocations: 4 kB / 1.674 GB, free: 73.57 MB / 0.6828 GB Notification: Performance of Templates: time 0.6376/6.252, allocations: 142.6 MB / 1.813 GB, free: 174.9 MB / 0.714 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches