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.001644/0.001644, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.001758/0.001758, allocations: 195 kB / 18 MB, free: 5.074 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.405/1.405, 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 1.189/1.189, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 64.98 kB / 0.5709 GB, free: 39.82 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1609, allocations: 80.7 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.002523/0.1635, allocations: 1.41 MB / 0.6511 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.1645, allocations: 0.573 MB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.289e-05/0.1646, allocations: 0 / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.008053/0.1727, allocations: 13.68 MB / 0.665 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.008258/0.181, allocations: 13.72 MB / 0.6784 GB, free: 15.61 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.1815, allocations: 75.8 kB / 0.6785 GB, free: 15.53 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.02426/0.2058, allocations: 34.01 MB / 0.7117 GB, free: 13.47 MB / 0.5608 GB Notification: Performance of NFFlatten.resolveConnections: time 5.797e-05/0.2059, allocations: 0 / 0.7117 GB, free: 13.47 MB / 0.5608 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0231/0.229, allocations: 16.89 MB / 0.7282 GB, free: 12.55 MB / 0.5764 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04248/0.2715, allocations: 32.25 MB / 0.7597 GB, free: 12.26 MB / 0.6077 GB Notification: Performance of NFPackage.collectConstants: time 0.01218/0.2837, allocations: 1.957 MB / 0.7616 GB, free: 10.3 MB / 0.6077 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01073/0.2945, allocations: 2.031 MB / 0.7636 GB, free: 8.27 MB / 0.6077 GB Notification: Performance of NFScalarize.scalarize: time 0.8692/1.164, allocations: 79.6 MB / 0.8413 GB, free: 40.56 MB / 0.6079 GB Notification: Performance of NFVerifyModel.verify: time 0.06073/1.225, allocations: 44.95 MB / 0.8852 GB, free: 14.89 MB / 0.6235 GB Notification: Performance of NFConvertDAE.convert: time 0.1275/1.352, allocations: 99.7 MB / 0.9826 GB, free: 10.53 MB / 0.7173 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.352, allocations: 0 / 0.9826 GB, free: 10.53 MB / 0.7173 GB Notification: Performance of FrontEnd: time 2.154e-06/1.352, allocations: 0 / 0.9826 GB, free: 10.53 MB / 0.7173 GB Notification: Performance of Transformations before backend: time 0.00456/1.357, allocations: 0 / 0.9826 GB, free: 10.53 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.002/2.358, allocations: 160.7 MB / 1.14 GB, free: 118.5 MB / 0.7959 GB Notification: Performance of prepare preOptimizeDAE: time 6.763e-05/2.358, allocations: 8.031 kB / 1.14 GB, free: 118.5 MB / 0.7959 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04046/2.399, allocations: 18.56 MB / 1.158 GB, free: 99.8 MB / 0.7959 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8754/3.274, allocations: 208.9 MB / 1.362 GB, free: 11 MB / 0.9053 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/3.275, allocations: 384 / 1.362 GB, free: 11 MB / 0.9053 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004459/3.279, allocations: 0.4964 MB / 1.362 GB, free: 10.5 MB / 0.9053 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02145/3.3, allocations: 5.907 MB / 1.368 GB, free: 4.59 MB / 0.9053 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/3.301, allocations: 2 kB / 1.368 GB, free: 4.59 MB / 0.9053 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003335/3.304, allocations: 0.4959 MB / 1.368 GB, free: 4.098 MB / 0.9053 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/3.304, allocations: 3.5 kB / 1.368 GB, free: 4.098 MB / 0.9053 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/3.316, allocations: 3.437 MB / 1.372 GB, free: 0.6602 MB / 0.9053 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1217/3.438, allocations: 54.94 MB / 1.425 GB, free: 9.613 MB / 0.9678 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009273/3.447, allocations: 1.992 MB / 1.427 GB, free: 7.613 MB / 0.9678 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009581/3.457, allocations: 1.984 MB / 1.429 GB, free: 5.629 MB / 0.9678 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/3.457, allocations: 2 kB / 1.429 GB, free: 5.629 MB / 0.9678 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01421/3.471, allocations: 4.98 MB / 1.434 GB, free: 0.625 MB / 0.9678 GB Notification: Performance of pre-optimization done (n=8): time 4.629e-06/3.471, allocations: 0 / 1.434 GB, free: 0.625 MB / 0.9678 GB Notification: Performance of matching and sorting (n=8): time 0.6464/4.118, allocations: 33.83 MB / 1.467 GB, free: 316.7 MB / 0.9834 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.379e-05/4.118, allocations: 81.48 kB / 1.467 GB, free: 316.6 MB / 0.9834 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4478/4.566, allocations: 198 MB / 1.661 GB, free: 194.6 MB / 0.9834 GB Notification: Performance of collectPreVariables (initialization): time 0.004965/4.571, allocations: 0.5134 MB / 1.661 GB, free: 194.1 MB / 0.9834 GB Notification: Performance of collectInitialEqns (initialization): time 0.1152/4.686, allocations: 97.77 MB / 1.757 GB, free: 96.29 MB / 0.9834 GB Notification: Performance of collectInitialBindings (initialization): time 0.004418/4.69, allocations: 0.5116 MB / 1.757 GB, free: 95.79 MB / 0.9834 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01325/4.704, allocations: 3.439 MB / 1.761 GB, free: 92.34 MB / 0.9834 GB Notification: Performance of setup shared object (initialization): time 6.491e-05/4.704, allocations: 308.2 kB / 1.761 GB, free: 92.04 MB / 0.9834 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008515/4.712, allocations: 1.971 MB / 1.763 GB, free: 90.07 MB / 0.9834 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008285/4.72, allocations: 1.971 MB / 1.765 GB, free: 88.1 MB / 0.9834 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01704/4.738, allocations: 4.008 MB / 1.769 GB, free: 84.08 MB / 0.9834 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/4.738, allocations: 0 / 1.769 GB, free: 84.08 MB / 0.9834 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.07848/4.816, allocations: 31.86 MB / 1.8 GB, free: 62.95 MB / 0.9834 GB Notification: Performance of prepare postOptimizeDAE: time 6.819e-05/4.816, allocations: 43.25 kB / 1.8 GB, free: 62.91 MB / 0.9834 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/4.816, allocations: 0 / 1.8 GB, free: 62.91 MB / 0.9834 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/4.816, allocations: 1.969 kB / 1.8 GB, free: 62.91 MB / 0.9834 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/4.816, allocations: 4.938 kB / 1.8 GB, free: 62.91 MB / 0.9834 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/4.816, allocations: 0 / 1.8 GB, free: 62.91 MB / 0.9834 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03827/4.855, allocations: 0.4977 MB / 1.8 GB, free: 62.41 MB / 0.9834 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01488/4.87, allocations: 6.84 MB / 1.807 GB, free: 55.57 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.05988/4.929, allocations: 38.23 MB / 1.844 GB, free: 17.29 MB / 0.9834 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0402/4.97, allocations: 19.06 MB / 1.863 GB, free: 64 kB / 0.9834 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6606/5.63, allocations: 20.44 MB / 1.883 GB, free: 310.8 MB / 0.9834 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/5.63, allocations: 0 / 1.883 GB, free: 310.8 MB / 0.9834 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/5.63, allocations: 0 / 1.883 GB, free: 310.8 MB / 0.9834 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/5.63, allocations: 0 / 1.883 GB, free: 310.8 MB / 0.9834 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1782/5.809, allocations: 59.83 MB / 1.941 GB, free: 285.2 MB / 0.9834 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/5.809, allocations: 4.906 kB / 1.941 GB, free: 285.2 MB / 0.9834 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.864e-05/5.809, allocations: 2.656 kB / 1.941 GB, free: 285.2 MB / 0.9834 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/5.809, allocations: 0 / 1.941 GB, free: 285.2 MB / 0.9834 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005967/5.815, allocations: 1.471 MB / 1.943 GB, free: 285.2 MB / 0.9834 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/5.815, allocations: 2.625 kB / 1.943 GB, free: 285.2 MB / 0.9834 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/5.815, allocations: 4 kB / 1.943 GB, free: 285.2 MB / 0.9834 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0684/5.883, allocations: 33.09 MB / 1.975 GB, free: 283.9 MB / 0.9834 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05524/5.938, allocations: 16.2 MB / 1.991 GB, free: 283.8 MB / 0.9834 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03279/5.971, allocations: 0.4915 MB / 1.991 GB, free: 283.8 MB / 0.9834 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0359/6.007, allocations: 0.4961 MB / 1.992 GB, free: 283.8 MB / 0.9834 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/6.007, allocations: 6.891 kB / 1.992 GB, free: 283.8 MB / 0.9834 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01388/6.021, allocations: 6.839 MB / 1.998 GB, free: 281.6 MB / 0.9834 GB Notification: Performance of sorting global known variables: time 0.3495/6.371, allocations: 137.9 MB / 2.133 GB, free: 145 MB / 0.9834 GB Notification: Performance of sort global known variables: time 3.4e-07/6.371, allocations: 0 / 2.133 GB, free: 145 MB / 0.9834 GB Notification: Performance of remove unused functions: time 0.04045/6.411, allocations: 4.91 MB / 2.138 GB, free: 140 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.004454/6.416, allocations: 0.6107 MB / 2.139 GB, free: 139.4 MB / 0.9834 GB Notification: Performance of simCode: created initialization part: time 0.02139/6.437, allocations: 4.529 MB / 2.143 GB, free: 134.9 MB / 0.9834 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/6.437, allocations: 3 kB / 2.143 GB, free: 134.9 MB / 0.9834 GB Notification: Performance of simCode: created simulation system equations: time 0.01297/6.45, allocations: 2.551 MB / 2.146 GB, free: 132.3 MB / 0.9834 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.163/6.613, allocations: 13.49 MB / 2.159 GB, free: 118.8 MB / 0.9834 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.128/7.742, allocations: 298.5 MB / 2.45 GB, free: 196.8 MB / 0.9834 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1417/7.883, allocations: 68.47 MB / 2.517 GB, free: 133.8 MB / 0.9834 GB Notification: Performance of simCode: alias equations: time 0.09604/7.98, allocations: 37.28 MB / 2.553 GB, free: 96.51 MB / 0.9834 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01829/7.998, allocations: 7.82 MB / 2.561 GB, free: 88.69 MB / 0.9834 GB Notification: Performance of SimCode: time 1.663e-06/7.998, allocations: 0 / 2.561 GB, free: 88.69 MB / 0.9834 GB Notification: Performance of Templates: time 2.832/10.83, allocations: 0.6734 GB / 3.234 GB, free: 152 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