Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001791/0.001791, allocations: 111.8 kB / 17.06 MB, free: 5.992 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.001925/0.001925, allocations: 200 kB / 18.01 MB, free: 5.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.518/1.518, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.2/1.2, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 71.28 kB / 0.5709 GB, free: 39.75 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1881, allocations: 80.7 MB / 0.6497 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.00271/0.1908, allocations: 1.402 MB / 0.6511 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.192, allocations: 0.5691 MB / 0.6516 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.1921, allocations: 4 kB / 0.6517 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0106/0.2027, allocations: 13.69 MB / 0.665 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.01095/0.2138, allocations: 13.72 MB / 0.6784 GB, free: 15.61 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005846/0.2144, allocations: 81.92 kB / 0.6785 GB, free: 15.53 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.03117/0.2456, allocations: 34 MB / 0.7117 GB, free: 13.48 MB / 0.5608 GB Notification: Performance of NFFlatten.resolveConnections: time 6.529e-05/0.2457, allocations: 8 kB / 0.7117 GB, free: 13.47 MB / 0.5608 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02586/0.2715, allocations: 16.88 MB / 0.7282 GB, free: 12.56 MB / 0.5764 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04665/0.3182, allocations: 32.25 MB / 0.7597 GB, free: 12.26 MB / 0.6077 GB Notification: Performance of NFPackage.collectConstants: time 0.01018/0.3285, allocations: 1.957 MB / 0.7616 GB, free: 10.3 MB / 0.6077 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009932/0.3384, allocations: 2.035 MB / 0.7636 GB, free: 8.27 MB / 0.6077 GB Notification: Performance of NFScalarize.scalarize: time 0.8413/1.18, allocations: 79.6 MB / 0.8413 GB, free: 40.4 MB / 0.6079 GB Notification: Performance of NFVerifyModel.verify: time 0.07101/1.251, allocations: 44.94 MB / 0.8852 GB, free: 15.21 MB / 0.6235 GB Notification: Performance of NFConvertDAE.convert: time 0.151/1.402, allocations: 99.69 MB / 0.9826 GB, free: 10.84 MB / 0.7173 GB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/1.402, allocations: 4 kB / 0.9826 GB, free: 10.84 MB / 0.7173 GB Notification: Performance of FrontEnd: time 2.915e-06/1.402, allocations: 0 / 0.9826 GB, free: 10.84 MB / 0.7173 GB Notification: Performance of Transformations before backend: time 0.005199/1.407, allocations: 0 / 0.9826 GB, free: 10.84 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 1.133/2.54, allocations: 160.7 MB / 1.14 GB, free: 118.5 MB / 0.7959 GB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/2.54, allocations: 8.031 kB / 1.14 GB, free: 118.5 MB / 0.7959 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04071/2.581, allocations: 18.57 MB / 1.158 GB, free: 99.8 MB / 0.7959 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9247/3.506, allocations: 208.9 MB / 1.362 GB, free: 11.01 MB / 0.9053 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/3.506, allocations: 384 / 1.362 GB, free: 11.01 MB / 0.9053 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005162/3.511, allocations: 0.4886 MB / 1.362 GB, free: 10.52 MB / 0.9053 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02584/3.537, allocations: 5.921 MB / 1.368 GB, free: 4.605 MB / 0.9053 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/3.537, allocations: 0 / 1.368 GB, free: 4.605 MB / 0.9053 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004443/3.541, allocations: 0.492 MB / 1.368 GB, free: 4.117 MB / 0.9053 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/3.541, allocations: 4 kB / 1.368 GB, free: 4.113 MB / 0.9053 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01992/3.561, allocations: 3.436 MB / 1.372 GB, free: 0.6797 MB / 0.9053 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1408/3.702, allocations: 54.94 MB / 1.425 GB, free: 9.633 MB / 0.9678 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01069/3.713, allocations: 1.995 MB / 1.427 GB, free: 7.633 MB / 0.9678 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01103/3.724, allocations: 1.987 MB / 1.429 GB, free: 5.645 MB / 0.9678 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/3.724, allocations: 0 / 1.429 GB, free: 5.645 MB / 0.9678 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01699/3.741, allocations: 4.972 MB / 1.434 GB, free: 0.6484 MB / 0.9678 GB Notification: Performance of pre-optimization done (n=8): time 3.677e-06/3.741, allocations: 2 kB / 1.434 GB, free: 0.6484 MB / 0.9678 GB Notification: Performance of matching and sorting (n=8): time 0.6092/4.35, allocations: 33.83 MB / 1.467 GB, free: 316.1 MB / 0.9834 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/4.35, allocations: 81.64 kB / 1.467 GB, free: 316 MB / 0.9834 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4106/4.761, allocations: 198 MB / 1.661 GB, free: 194.4 MB / 0.9834 GB Notification: Performance of collectPreVariables (initialization): time 0.003652/4.765, allocations: 0.5192 MB / 1.661 GB, free: 193.9 MB / 0.9834 GB Notification: Performance of collectInitialEqns (initialization): time 0.1162/4.881, allocations: 97.77 MB / 1.757 GB, free: 96.09 MB / 0.9834 GB Notification: Performance of collectInitialBindings (initialization): time 0.003881/4.885, allocations: 0.5101 MB / 1.757 GB, free: 95.59 MB / 0.9834 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01162/4.896, allocations: 3.435 MB / 1.761 GB, free: 92.15 MB / 0.9834 GB Notification: Performance of setup shared object (initialization): time 7.393e-05/4.896, allocations: 318 kB / 1.761 GB, free: 91.84 MB / 0.9834 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01048/4.907, allocations: 1.965 MB / 1.763 GB, free: 89.88 MB / 0.9834 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009049/4.916, allocations: 1.977 MB / 1.765 GB, free: 87.9 MB / 0.9834 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01797/4.934, allocations: 4 MB / 1.769 GB, free: 83.89 MB / 0.9834 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/4.934, allocations: 1.688 kB / 1.769 GB, free: 83.89 MB / 0.9834 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.08409/5.018, allocations: 31.87 MB / 1.8 GB, free: 62.75 MB / 0.9834 GB Notification: Performance of prepare postOptimizeDAE: time 5.831e-05/5.018, allocations: 40.2 kB / 1.8 GB, free: 62.71 MB / 0.9834 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/5.018, allocations: 0 / 1.8 GB, free: 62.71 MB / 0.9834 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.083e-05/5.018, allocations: 0 / 1.8 GB, free: 62.71 MB / 0.9834 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/5.018, allocations: 8.547 kB / 1.8 GB, free: 62.71 MB / 0.9834 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/5.018, allocations: 2 kB / 1.8 GB, free: 62.71 MB / 0.9834 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03724/5.056, allocations: 0.4956 MB / 1.8 GB, free: 62.21 MB / 0.9834 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0146/5.07, allocations: 6.84 MB / 1.807 GB, free: 55.38 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.05455/5.125, allocations: 38.23 MB / 1.844 GB, free: 17.1 MB / 0.9834 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.5173/5.642, allocations: 19.05 MB / 1.863 GB, free: 315.8 MB / 0.9834 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06529/5.708, allocations: 20.44 MB / 1.883 GB, free: 310.6 MB / 0.9834 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/5.708, allocations: 0 / 1.883 GB, free: 310.6 MB / 0.9834 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/5.708, allocations: 3.5 kB / 1.883 GB, free: 310.6 MB / 0.9834 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/5.708, allocations: 1.406 kB / 1.883 GB, free: 310.6 MB / 0.9834 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.15/5.858, allocations: 59.83 MB / 1.941 GB, free: 285.1 MB / 0.9834 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/5.858, allocations: 2.656 kB / 1.941 GB, free: 285.1 MB / 0.9834 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.279e-05/5.858, allocations: 8.359 kB / 1.941 GB, free: 285.1 MB / 0.9834 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.228e-06/5.858, allocations: 0 / 1.941 GB, free: 285.1 MB / 0.9834 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005582/5.863, allocations: 1.468 MB / 1.943 GB, free: 285.1 MB / 0.9834 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.595e-06/5.863, allocations: 4.422 kB / 1.943 GB, free: 285.1 MB / 0.9834 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/5.863, allocations: 0 / 1.943 GB, free: 285.1 MB / 0.9834 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1017/5.965, allocations: 33.09 MB / 1.975 GB, free: 283.8 MB / 0.9834 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05737/6.023, allocations: 16.2 MB / 1.991 GB, free: 283.6 MB / 0.9834 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.04468/6.067, allocations: 0.4915 MB / 1.991 GB, free: 283.6 MB / 0.9834 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04687/6.114, allocations: 0.4932 MB / 1.992 GB, free: 283.6 MB / 0.9834 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/6.114, allocations: 12.89 kB / 1.992 GB, free: 283.6 MB / 0.9834 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01854/6.133, allocations: 6.84 MB / 1.999 GB, free: 281.2 MB / 0.9834 GB Notification: Performance of sorting global known variables: time 0.3762/6.509, allocations: 137.9 MB / 2.133 GB, free: 144.6 MB / 0.9834 GB Notification: Performance of sort global known variables: time 8.11e-07/6.509, allocations: 0 / 2.133 GB, free: 144.6 MB / 0.9834 GB Notification: Performance of remove unused functions: time 0.03608/6.545, allocations: 4.915 MB / 2.138 GB, free: 139.7 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.004366/6.55, allocations: 0.6101 MB / 2.139 GB, free: 139.1 MB / 0.9834 GB Notification: Performance of simCode: created initialization part: time 0.02407/6.574, allocations: 4.53 MB / 2.143 GB, free: 134.6 MB / 0.9834 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/6.574, allocations: 1.812 kB / 2.143 GB, free: 134.6 MB / 0.9834 GB Notification: Performance of simCode: created simulation system equations: time 0.01417/6.588, allocations: 2.552 MB / 2.146 GB, free: 132 MB / 0.9834 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1318/6.72, allocations: 13.49 MB / 2.159 GB, free: 118.5 MB / 0.9834 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.047/7.767, allocations: 298.5 MB / 2.45 GB, free: 196.2 MB / 0.9834 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1295/7.896, allocations: 68.47 MB / 2.517 GB, free: 133.3 MB / 0.9834 GB Notification: Performance of simCode: alias equations: time 0.1068/8.003, allocations: 37.28 MB / 2.553 GB, free: 96.02 MB / 0.9834 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01592/8.019, allocations: 7.824 MB / 2.561 GB, free: 88.2 MB / 0.9834 GB Notification: Performance of SimCode: time 3.106e-06/8.019, allocations: 0 / 2.561 GB, free: 88.2 MB / 0.9834 GB Notification: Performance of Templates: time 2.792/10.81, allocations: 0.6734 GB / 3.235 GB, free: 151 MB / 1.03 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches