Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.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: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 110 kB / 17.06 MB, free: 6.023 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.001016/0.001016, allocations: 191 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.362/1.362, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9749/0.9749, allocations: 119.3 MB / 411.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 66.92 kB / 0.5709 GB, free: 39.8 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1624, allocations: 80.7 MB / 0.6497 GB, free: 13.11 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.002531/0.165, allocations: 1.413 MB / 0.6511 GB, free: 11.68 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009694/0.166, allocations: 0.573 MB / 0.6516 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.79e-05/0.1661, allocations: 0 / 0.6516 GB, free: 11.11 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.007885/0.174, allocations: 13.68 MB / 0.665 GB, free: 13.39 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.008387/0.1824, allocations: 13.72 MB / 0.6784 GB, free: 15.64 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006112/0.1831, allocations: 79.72 kB / 0.6785 GB, free: 15.57 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.02478/0.2079, allocations: 34 MB / 0.7117 GB, free: 13.51 MB / 0.5608 GB Notification: Performance of NFFlatten.resolveConnections: time 5.463e-05/0.208, allocations: 4 kB / 0.7117 GB, free: 13.51 MB / 0.5608 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02064/0.2287, allocations: 16.89 MB / 0.7282 GB, free: 12.59 MB / 0.5764 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03376/0.2625, allocations: 32.25 MB / 0.7597 GB, free: 12.3 MB / 0.6077 GB Notification: Performance of NFPackage.collectConstants: time 0.007568/0.2701, allocations: 1.957 MB / 0.7616 GB, free: 10.34 MB / 0.6077 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007427/0.2775, allocations: 2.031 MB / 0.7636 GB, free: 8.309 MB / 0.6077 GB Notification: Performance of NFScalarize.scalarize: time 0.7716/1.049, allocations: 79.6 MB / 0.8413 GB, free: 40.57 MB / 0.6079 GB Notification: Performance of NFVerifyModel.verify: time 0.06286/1.112, allocations: 44.94 MB / 0.8852 GB, free: 15.43 MB / 0.6235 GB Notification: Performance of NFConvertDAE.convert: time 0.1187/1.231, allocations: 98.72 MB / 0.9816 GB, free: 12.18 MB / 0.7173 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/1.231, allocations: 0 / 0.9816 GB, free: 12.18 MB / 0.7173 GB Notification: Performance of FrontEnd: time 3.166e-06/1.231, allocations: 0 / 0.9816 GB, free: 12.18 MB / 0.7173 GB Notification: Performance of Transformations before backend: time 0.00379/1.235, allocations: 0 / 0.9816 GB, free: 12.18 MB / 0.7173 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.9345/2.169, allocations: 153.9 MB / 1.132 GB, free: 120.3 MB / 0.7959 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/2.169, allocations: 9.781 kB / 1.132 GB, free: 120.3 MB / 0.7959 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03705/2.206, allocations: 17.59 MB / 1.149 GB, free: 102.4 MB / 0.7959 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8439/3.05, allocations: 206 MB / 1.35 GB, free: 8.992 MB / 0.9053 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/3.05, allocations: 2.375 kB / 1.35 GB, free: 8.992 MB / 0.9053 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003295/3.054, allocations: 0.4965 MB / 1.351 GB, free: 8.496 MB / 0.9053 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01471/3.068, allocations: 5.91 MB / 1.356 GB, free: 2.582 MB / 0.9053 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/3.068, allocations: 0 / 1.356 GB, free: 2.582 MB / 0.9053 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002824/3.071, allocations: 0.4921 MB / 1.357 GB, free: 2.09 MB / 0.9053 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/3.071, allocations: 2 kB / 1.357 GB, free: 2.09 MB / 0.9053 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008369/3.08, allocations: 3.441 MB / 1.36 GB, free: 14.64 MB / 0.9209 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1/3.18, allocations: 54.93 MB / 1.414 GB, free: 7.609 MB / 0.9678 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008293/3.188, allocations: 1.993 MB / 1.416 GB, free: 5.609 MB / 0.9678 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007036/3.195, allocations: 1.986 MB / 1.418 GB, free: 3.621 MB / 0.9678 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/3.195, allocations: 0 / 1.418 GB, free: 3.621 MB / 0.9678 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01145/3.207, allocations: 4.976 MB / 1.423 GB, free: 14.62 MB / 0.9834 GB Notification: Performance of pre-optimization done (n=8): time 3.777e-06/3.207, allocations: 0 / 1.423 GB, free: 14.62 MB / 0.9834 GB Notification: Performance of matching and sorting (n=8): time 0.5203/3.727, allocations: 32.87 MB / 1.455 GB, free: 325.8 MB / 0.9834 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.504e-05/3.727, allocations: 81.17 kB / 1.455 GB, free: 325.7 MB / 0.9834 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3242/4.051, allocations: 198 MB / 1.648 GB, free: 205.8 MB / 0.9834 GB Notification: Performance of collectPreVariables (initialization): time 0.003223/4.055, allocations: 0.5134 MB / 1.649 GB, free: 205.2 MB / 0.9834 GB Notification: Performance of collectInitialEqns (initialization): time 0.09117/4.146, allocations: 97.76 MB / 1.744 GB, free: 107.4 MB / 0.9834 GB Notification: Performance of collectInitialBindings (initialization): time 0.003438/4.149, allocations: 0.5048 MB / 1.745 GB, free: 107 MB / 0.9834 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007456/4.157, allocations: 3.445 MB / 1.748 GB, free: 103.5 MB / 0.9834 GB Notification: Performance of setup shared object (initialization): time 4.826e-05/4.157, allocations: 308 kB / 1.748 GB, free: 103.2 MB / 0.9834 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003199/4.16, allocations: 1.973 MB / 1.75 GB, free: 101.2 MB / 0.9834 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003441/4.163, allocations: 1.965 MB / 1.752 GB, free: 99.26 MB / 0.9834 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006982/4.17, allocations: 4.014 MB / 1.756 GB, free: 95.24 MB / 0.9834 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/4.17, allocations: 0 / 1.756 GB, free: 95.24 MB / 0.9834 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.04534/4.216, allocations: 30.89 MB / 1.786 GB, free: 74.11 MB / 0.9834 GB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/4.216, allocations: 43.78 kB / 1.786 GB, free: 74.07 MB / 0.9834 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/4.216, allocations: 0 / 1.786 GB, free: 74.07 MB / 0.9834 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/4.216, allocations: 1.875 kB / 1.786 GB, free: 74.07 MB / 0.9834 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.142e-05/4.216, allocations: 5.688 kB / 1.786 GB, free: 74.07 MB / 0.9834 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/4.216, allocations: 4 kB / 1.786 GB, free: 74.06 MB / 0.9834 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02435/4.24, allocations: 0.4922 MB / 1.787 GB, free: 73.57 MB / 0.9834 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01097/4.251, allocations: 6.841 MB / 1.794 GB, free: 66.73 MB / 0.9834 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.05883/4.31, allocations: 38.23 MB / 1.831 GB, free: 28.45 MB / 0.9834 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03191/4.342, allocations: 18.08 MB / 1.849 GB, free: 10.89 MB / 0.9834 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5467/4.889, allocations: 20.44 MB / 1.869 GB, free: 316.6 MB / 0.9834 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/4.889, allocations: 0 / 1.869 GB, free: 316.6 MB / 0.9834 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/4.889, allocations: 6.188 kB / 1.869 GB, free: 316.6 MB / 0.9834 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.726e-06/4.889, allocations: 1.75 kB / 1.869 GB, free: 316.6 MB / 0.9834 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1289/5.018, allocations: 59.83 MB / 1.927 GB, free: 294.7 MB / 0.9834 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/5.018, allocations: 3.562 kB / 1.927 GB, free: 294.7 MB / 0.9834 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/5.018, allocations: 5.562 kB / 1.927 GB, free: 294.7 MB / 0.9834 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/5.018, allocations: 2.438 kB / 1.927 GB, free: 294.7 MB / 0.9834 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004236/5.022, allocations: 1.469 MB / 1.928 GB, free: 294.7 MB / 0.9834 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/5.022, allocations: 0 / 1.928 GB, free: 294.7 MB / 0.9834 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/5.022, allocations: 2.266 kB / 1.928 GB, free: 294.7 MB / 0.9834 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05105/5.073, allocations: 32.11 MB / 1.96 GB, free: 293.4 MB / 0.9834 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04199/5.115, allocations: 15.23 MB / 1.975 GB, free: 293.3 MB / 0.9834 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02823/5.143, allocations: 0.4965 MB / 1.975 GB, free: 293.3 MB / 0.9834 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02853/5.172, allocations: 0.4895 MB / 1.976 GB, free: 293.3 MB / 0.9834 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/5.172, allocations: 5.156 kB / 1.976 GB, free: 293.3 MB / 0.9834 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01609/5.188, allocations: 6.838 MB / 1.982 GB, free: 292.3 MB / 0.9834 GB Notification: Performance of sorting global known variables: time 0.3142/5.502, allocations: 137.9 MB / 2.117 GB, free: 162.8 MB / 0.9834 GB Notification: Performance of sort global known variables: time 3.71e-07/5.502, allocations: 1.219 kB / 2.117 GB, free: 162.8 MB / 0.9834 GB Notification: Performance of remove unused functions: time 0.02747/5.53, allocations: 4.915 MB / 2.122 GB, free: 157.9 MB / 0.9834 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.003722/5.534, allocations: 0.6125 MB / 2.122 GB, free: 157.3 MB / 0.9834 GB Notification: Performance of simCode: created initialization part: time 0.007102/5.541, allocations: 4.529 MB / 2.127 GB, free: 152.7 MB / 0.9834 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/5.541, allocations: 0.75 kB / 2.127 GB, free: 152.7 MB / 0.9834 GB Notification: Performance of simCode: created simulation system equations: time 0.003364/5.544, allocations: 2.555 MB / 2.129 GB, free: 150.2 MB / 0.9834 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1128/5.657, allocations: 13.48 MB / 2.142 GB, free: 136.7 MB / 0.9834 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.008/6.665, allocations: 293.6 MB / 2.429 GB, free: 213.2 MB / 0.9834 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1284/6.793, allocations: 68.47 MB / 2.496 GB, free: 168.5 MB / 0.9834 GB Notification: Performance of simCode: alias equations: time 0.09899/6.892, allocations: 37.28 MB / 2.532 GB, free: 131.2 MB / 0.9834 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01611/6.908, allocations: 7.827 MB / 2.54 GB, free: 123.4 MB / 0.9834 GB Notification: Performance of SimCode: time 2.023e-06/6.908, allocations: 2.734 kB / 2.54 GB, free: 123.4 MB / 0.9834 GB Notification: Performance of Templates: time 2.658/9.567, allocations: 0.6734 GB / 3.214 GB, free: 182.3 MB / 1.03 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches