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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001294, allocations: 115.5 kB / 17.7 MB, free: 5.438 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.001138/0.001138, allocations: 188 kB / 18.63 MB, free: 4.512 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.454/1.454, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.107/1.107, allocations: 119.3 MB / 411.8 MB, free: 9.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.91 kB / 0.4924 GB, free: 13.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5983/0.5996, allocations: 80.69 MB / 0.5712 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002685/0.6023, allocations: 1.406 MB / 0.5725 GB, free: 42.43 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.6034, allocations: 0.5779 MB / 0.5731 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.219e-05/0.6035, allocations: 0 / 0.5731 GB, free: 41.97 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.003687/0.6073, allocations: 3.436 MB / 0.5765 GB, free: 40.24 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.003039/0.6103, allocations: 3.463 MB / 0.5798 GB, free: 38.49 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.6107, allocations: 87.8 kB / 0.5799 GB, free: 38.44 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.008043/0.6188, allocations: 8.55 MB / 0.5883 GB, free: 32 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.132e-05/0.6189, allocations: 7.938 kB / 0.5883 GB, free: 31.99 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006909/0.6258, allocations: 4.25 MB / 0.5924 GB, free: 27.73 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008862/0.6347, allocations: 8.081 MB / 0.6003 GB, free: 19.64 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.002416/0.6372, allocations: 0.4922 MB / 0.6008 GB, free: 19.14 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.6388, allocations: 0.5663 MB / 0.6014 GB, free: 18.58 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01596/0.6547, allocations: 19.9 MB / 0.6208 GB, free: 14.62 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01701/0.6718, allocations: 11.25 MB / 0.6318 GB, free: 3.258 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02916/0.701, allocations: 24.74 MB / 0.6559 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/0.7011, allocations: 0 / 0.6559 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.865e-06/0.7011, allocations: 0 / 0.6559 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001028/0.7021, allocations: 0 / 0.6559 GB, free: 10.38 MB / 0.4983 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.05803/0.7602, allocations: 38.75 MB / 0.6938 GB, free: 3.23 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.7602, allocations: 12.02 kB / 0.6938 GB, free: 3.219 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006635/0.7669, allocations: 4.4 MB / 0.6981 GB, free: 14.76 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1217/0.8886, allocations: 51.58 MB / 0.7485 GB, free: 10.83 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.8887, allocations: 4.312 kB / 0.7485 GB, free: 10.83 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003426/0.8891, allocations: 128.4 kB / 0.7486 GB, free: 10.7 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.8909, allocations: 1.524 MB / 0.7501 GB, free: 9.172 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.891, allocations: 0 / 0.7501 GB, free: 9.172 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/0.8912, allocations: 124 kB / 0.7502 GB, free: 9.051 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.8912, allocations: 4 kB / 0.7502 GB, free: 9.047 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.8923, allocations: 0.875 MB / 0.751 GB, free: 8.172 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.514/1.406, allocations: 13.84 MB / 0.7646 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/1.409, allocations: 0.5302 MB / 0.7651 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000965/1.41, allocations: 0.5182 MB / 0.7656 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/1.41, allocations: 0 / 0.7656 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00152/1.411, allocations: 1.326 MB / 0.7669 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 2.305e-06/1.411, allocations: 1.156 kB / 0.7669 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.01617/1.427, allocations: 8.32 MB / 0.775 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/1.427, allocations: 78.8 kB / 0.7751 GB, free: 135.5 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08929/1.517, allocations: 49.58 MB / 0.8235 GB, free: 103.6 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.000973/1.518, allocations: 153.7 kB / 0.8236 GB, free: 103.4 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02165/1.539, allocations: 22.55 MB / 0.8457 GB, free: 80.84 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001021/1.54, allocations: 145.4 kB / 0.8458 GB, free: 80.71 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008343/1.541, allocations: 0.8728 MB / 0.8467 GB, free: 79.84 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 5.705e-05/1.541, allocations: 317.6 kB / 0.847 GB, free: 79.52 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006591/1.542, allocations: 0.5 MB / 0.8475 GB, free: 79.02 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006592/1.543, allocations: 0.5078 MB / 0.8479 GB, free: 78.52 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/1.544, allocations: 1.082 MB / 0.849 GB, free: 77.42 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.544, allocations: 0 / 0.849 GB, free: 77.42 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01074/1.555, allocations: 7.813 MB / 0.8566 GB, free: 72.04 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 5.725e-05/1.555, allocations: 37.69 kB / 0.8567 GB, free: 72 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.555, allocations: 0 / 0.8567 GB, free: 72 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/1.555, allocations: 3 kB / 0.8567 GB, free: 72 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/1.555, allocations: 7.938 kB / 0.8567 GB, free: 71.99 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/1.555, allocations: 0 / 0.8567 GB, free: 71.99 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009059/1.564, allocations: 138.5 kB / 0.8568 GB, free: 71.86 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001872/1.566, allocations: 1.715 MB / 0.8585 GB, free: 70.14 MB / 0.5923 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.01648/1.583, allocations: 9.669 MB / 0.8679 GB, free: 60.45 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009059/1.592, allocations: 4.522 MB / 0.8723 GB, free: 55.88 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/1.604, allocations: 5.115 MB / 0.8773 GB, free: 50.74 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/1.604, allocations: 0 / 0.8773 GB, free: 50.74 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.604, allocations: 0 / 0.8773 GB, free: 50.74 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/1.604, allocations: 3.938 kB / 0.8773 GB, free: 50.74 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03727/1.641, allocations: 15.08 MB / 0.8921 GB, free: 35.6 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.641, allocations: 0 / 0.8921 GB, free: 35.6 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.388e-05/1.641, allocations: 4 kB / 0.8921 GB, free: 35.6 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/1.641, allocations: 3.094 kB / 0.8921 GB, free: 35.6 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001468/1.643, allocations: 391.9 kB / 0.8924 GB, free: 35.21 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/1.643, allocations: 0 / 0.8924 GB, free: 35.21 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.643, allocations: 0 / 0.8924 GB, free: 35.21 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/1.653, allocations: 8.151 MB / 0.9004 GB, free: 26.98 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01097/1.664, allocations: 3.876 MB / 0.9042 GB, free: 23.03 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005348/1.669, allocations: 131.9 kB / 0.9043 GB, free: 22.9 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005673/1.675, allocations: 128 kB / 0.9044 GB, free: 22.78 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/1.675, allocations: 11.42 kB / 0.9045 GB, free: 22.77 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001491/1.677, allocations: 1.715 MB / 0.9061 GB, free: 21.05 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.06931/1.746, allocations: 34.49 MB / 0.9398 GB, free: 2.863 MB / 0.6079 GB Notification: Performance of sort global known variables: time 6.22e-07/1.746, allocations: 0 / 0.9398 GB, free: 2.863 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.006276/1.752, allocations: 1.256 MB / 0.941 GB, free: 1.609 MB / 0.6079 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.0007364/1.753, allocations: 252.4 kB / 0.9413 GB, free: 1.367 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.002025/1.755, allocations: 1.234 MB / 0.9425 GB, free: 124 kB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.755, allocations: 0 / 0.9425 GB, free: 124 kB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/1.756, allocations: 0.722 MB / 0.9432 GB, free: 15.39 MB / 0.6235 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02166/1.778, allocations: 3.375 MB / 0.9465 GB, free: 12.01 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1129/1.891, allocations: 70.57 MB / 1.015 GB, free: 5.875 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3157/2.207, allocations: 17.33 MB / 1.032 GB, free: 210.7 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.03234/2.239, allocations: 9.428 MB / 1.042 GB, free: 206 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0052/2.244, allocations: 1.962 MB / 1.043 GB, free: 206 MB / 0.686 GB Notification: Performance of SimCode: time 1.202e-06/2.244, allocations: 5.188 kB / 1.043 GB, free: 206 MB / 0.686 GB Notification: Performance of Templates: time 0.3966/2.641, allocations: 167.3 MB / 1.207 GB, free: 64.17 MB / 0.686 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches