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.001375/0.001375, allocations: 114.6 kB / 17.69 MB, free: 5.309 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.001446/0.001446, allocations: 191 kB / 18.63 MB, free: 4.375 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.443/1.443, allocations: 222.9 MB / 242.3 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.259/1.259, allocations: 119.3 MB / 411.8 MB, free: 9.57 MB / 334.2 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 0.4924 GB, free: 13.07 MB / 430.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7774/0.7788, allocations: 80.69 MB / 0.5712 GB, free: 43.57 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.00304/0.7819, allocations: 1.404 MB / 0.5725 GB, free: 42.47 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.7831, allocations: 0.5739 MB / 0.5731 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.138e-05/0.7832, allocations: 1.562 kB / 0.5731 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.01523/0.7984, allocations: 13.68 MB / 0.5865 GB, free: 33.92 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.006154/0.8047, allocations: 13.73 MB / 0.5999 GB, free: 20.16 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005104/0.8052, allocations: 87.72 kB / 0.5999 GB, free: 20.07 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.02523/0.8305, allocations: 33.99 MB / 0.6331 GB, free: 2.031 MB / 478.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.177e-05/0.8306, allocations: 7.984 kB / 0.6331 GB, free: 2.023 MB / 478.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03318/0.8638, allocations: 16.89 MB / 0.6496 GB, free: 1.105 MB / 494.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06301/0.9268, allocations: 32.25 MB / 0.6811 GB, free: 0.8047 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.01345/0.9404, allocations: 1.953 MB / 0.683 GB, free: 14.85 MB / 0.5296 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01229/0.9527, allocations: 2.031 MB / 0.685 GB, free: 12.82 MB / 0.5296 GB Notification: Performance of NFScalarize.scalarize: time 0.8901/1.843, allocations: 79.6 MB / 0.7628 GB, free: 76.14 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.08381/1.927, allocations: 44.94 MB / 0.8067 GB, free: 41.01 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.1237/2.051, allocations: 98.72 MB / 0.9031 GB, free: 3.863 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/2.051, allocations: 3.844 kB / 0.9031 GB, free: 3.863 MB / 0.6079 GB Notification: Performance of FrontEnd: time 2.405e-06/2.051, allocations: 2.75 kB / 0.9031 GB, free: 3.863 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.00736/2.058, allocations: 0 / 0.9031 GB, free: 3.863 MB / 0.6079 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.231/3.289, allocations: 153.9 MB / 1.053 GB, free: 161 MB / 0.7334 GB Notification: Performance of prepare preOptimizeDAE: time 6.491e-05/3.289, allocations: 13.06 kB / 1.053 GB, free: 161 MB / 0.7334 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03533/3.324, allocations: 17.59 MB / 1.071 GB, free: 152 MB / 0.7334 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9727/4.297, allocations: 206 MB / 1.272 GB, free: 14.27 MB / 0.7803 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/4.297, allocations: 384 / 1.272 GB, free: 14.27 MB / 0.7803 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005711/4.303, allocations: 0.4976 MB / 1.272 GB, free: 13.78 MB / 0.7803 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03114/4.334, allocations: 5.909 MB / 1.278 GB, free: 7.863 MB / 0.7803 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/4.334, allocations: 0 / 1.278 GB, free: 7.863 MB / 0.7803 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005048/4.339, allocations: 0.4921 MB / 1.278 GB, free: 7.371 MB / 0.7803 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/4.339, allocations: 0.8125 kB / 1.278 GB, free: 7.371 MB / 0.7803 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01888/4.358, allocations: 3.441 MB / 1.282 GB, free: 3.93 MB / 0.7803 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1674/4.525, allocations: 54.94 MB / 1.335 GB, free: 12.89 MB / 0.8428 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01663/4.542, allocations: 1.992 MB / 1.337 GB, free: 10.89 MB / 0.8428 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01183/4.554, allocations: 1.985 MB / 1.339 GB, free: 8.902 MB / 0.8428 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/4.554, allocations: 3.938 kB / 1.339 GB, free: 8.898 MB / 0.8428 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.019/4.573, allocations: 4.972 MB / 1.344 GB, free: 3.902 MB / 0.8428 GB Notification: Performance of pre-optimization done (n=8): time 4.969e-06/4.573, allocations: 0 / 1.344 GB, free: 3.902 MB / 0.8428 GB Notification: Performance of matching and sorting (n=8): time 0.1285/4.701, allocations: 32.86 MB / 1.376 GB, free: 2.789 MB / 0.8741 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/4.702, allocations: 83.55 kB / 1.376 GB, free: 2.691 MB / 0.8741 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.061/5.762, allocations: 198 MB / 1.57 GB, free: 172.7 MB / 0.8741 GB Notification: Performance of collectPreVariables (initialization): time 0.005315/5.768, allocations: 0.5134 MB / 1.57 GB, free: 172.2 MB / 0.8741 GB Notification: Performance of collectInitialEqns (initialization): time 0.14/5.908, allocations: 97.77 MB / 1.666 GB, free: 74.39 MB / 0.8741 GB Notification: Performance of collectInitialBindings (initialization): time 0.005221/5.913, allocations: 0.5037 MB / 1.666 GB, free: 73.89 MB / 0.8741 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01809/5.931, allocations: 3.442 MB / 1.67 GB, free: 70.45 MB / 0.8741 GB Notification: Performance of setup shared object (initialization): time 8.33e-05/5.931, allocations: 313 kB / 1.67 GB, free: 70.14 MB / 0.8741 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01246/5.944, allocations: 1.969 MB / 1.672 GB, free: 68.17 MB / 0.8741 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01153/5.955, allocations: 1.973 MB / 1.674 GB, free: 66.2 MB / 0.8741 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02391/5.979, allocations: 4.006 MB / 1.678 GB, free: 62.18 MB / 0.8741 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/5.979, allocations: 3 kB / 1.678 GB, free: 62.18 MB / 0.8741 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.09932/6.079, allocations: 30.89 MB / 1.708 GB, free: 41.05 MB / 0.8741 GB Notification: Performance of prepare postOptimizeDAE: time 6.784e-05/6.079, allocations: 41.44 kB / 1.708 GB, free: 41.01 MB / 0.8741 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/6.079, allocations: 4.812 kB / 1.708 GB, free: 41.01 MB / 0.8741 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.311e-05/6.079, allocations: 0 / 1.708 GB, free: 41.01 MB / 0.8741 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/6.079, allocations: 8.156 kB / 1.708 GB, free: 41 MB / 0.8741 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/6.079, allocations: 0 / 1.708 GB, free: 41 MB / 0.8741 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04494/6.124, allocations: 0.5012 MB / 1.708 GB, free: 40.51 MB / 0.8741 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.02006/6.144, allocations: 6.836 MB / 1.715 GB, free: 33.67 MB / 0.8741 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.5757/6.72, allocations: 38.23 MB / 1.752 GB, free: 181 MB / 0.8741 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.04632/6.766, allocations: 18.08 MB / 1.77 GB, free: 181 MB / 0.8741 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06868/6.835, allocations: 20.44 MB / 1.79 GB, free: 179.1 MB / 0.8741 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/6.835, allocations: 0 / 1.79 GB, free: 179.1 MB / 0.8741 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/6.835, allocations: 2.078 kB / 1.79 GB, free: 179.1 MB / 0.8741 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/6.835, allocations: 0.75 kB / 1.79 GB, free: 179.1 MB / 0.8741 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2326/7.068, allocations: 59.83 MB / 1.848 GB, free: 175.4 MB / 0.8741 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/7.068, allocations: 4.875 kB / 1.848 GB, free: 175.4 MB / 0.8741 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-05/7.068, allocations: 3.375 kB / 1.848 GB, free: 175.4 MB / 0.8741 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/7.068, allocations: 0 / 1.848 GB, free: 175.4 MB / 0.8741 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.008103/7.076, allocations: 1.473 MB / 1.85 GB, free: 175.4 MB / 0.8741 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/7.076, allocations: 0 / 1.85 GB, free: 175.4 MB / 0.8741 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/7.076, allocations: 3.938 kB / 1.85 GB, free: 175.4 MB / 0.8741 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1125/7.189, allocations: 32.1 MB / 1.881 GB, free: 174.1 MB / 0.8741 GB Notification: Performance of postOpt removeConstants (simulation): time 0.07254/7.261, allocations: 15.23 MB / 1.896 GB, free: 164.1 MB / 0.8741 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03626/7.297, allocations: 0.4922 MB / 1.897 GB, free: 164.1 MB / 0.8741 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0394/7.337, allocations: 0.4916 MB / 1.897 GB, free: 164.1 MB / 0.8741 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/7.337, allocations: 10.59 kB / 1.897 GB, free: 164 MB / 0.8741 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01992/7.357, allocations: 6.845 MB / 1.904 GB, free: 164 MB / 0.8741 GB Notification: Performance of sorting global known variables: time 0.3773/7.734, allocations: 137.9 MB / 2.038 GB, free: 55.87 MB / 0.8741 GB Notification: Performance of sort global known variables: time 6.01e-07/7.734, allocations: 0 / 2.038 GB, free: 55.87 MB / 0.8741 GB Notification: Performance of remove unused functions: time 0.03076/7.765, allocations: 4.916 MB / 2.043 GB, free: 50.96 MB / 0.8741 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.004671/7.77, allocations: 0.6186 MB / 2.044 GB, free: 50.35 MB / 0.8741 GB Notification: Performance of simCode: created initialization part: time 0.03076/7.801, allocations: 4.526 MB / 2.048 GB, free: 45.85 MB / 0.8741 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/7.801, allocations: 0 / 2.048 GB, free: 45.85 MB / 0.8741 GB Notification: Performance of simCode: created simulation system equations: time 0.01737/7.818, allocations: 2.551 MB / 2.051 GB, free: 43.31 MB / 0.8741 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1197/7.938, allocations: 13.48 MB / 2.064 GB, free: 37.64 MB / 0.8741 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9918/8.93, allocations: 293.6 MB / 2.351 GB, free: 128.4 MB / 0.8741 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1339/9.064, allocations: 68.47 MB / 2.418 GB, free: 59.74 MB / 0.8741 GB Notification: Performance of simCode: alias equations: time 0.1037/9.167, allocations: 37.27 MB / 2.454 GB, free: 22.42 MB / 0.8741 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01937/9.187, allocations: 7.824 MB / 2.462 GB, free: 14.59 MB / 0.8741 GB Notification: Performance of SimCode: time 1.943e-06/9.187, allocations: 0 / 2.462 GB, free: 14.59 MB / 0.8741 GB Notification: Performance of Templates: time 3.04/12.23, allocations: 0.6734 GB / 3.135 GB, free: 5.684 MB / 0.9053 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins1/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