Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.001631, allocations: 117.7 kB / 17.7 MB, free: 5.293 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.001778/0.001778, allocations: 191 kB / 18.63 MB, free: 4.367 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.41/1.41, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.193/1.193, allocations: 119.3 MB / 411.8 MB, free: 9.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.91 kB / 0.4924 GB, free: 13.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5907/0.592, allocations: 80.68 MB / 0.5712 GB, free: 43.5 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500): time 0.002804/0.5949, allocations: 1.414 MB / 0.5725 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009193/0.5958, allocations: 0.5738 MB / 0.5731 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.222e-05/0.5959, allocations: 0 / 0.5731 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0004362/0.5963, allocations: 448.2 kB / 0.5735 GB, free: 41.72 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004845/0.5968, allocations: 493.8 kB / 0.574 GB, free: 41.47 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.5971, allocations: 81.31 kB / 0.5741 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008646/0.598, allocations: 1.125 MB / 0.5752 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.598, allocations: 2.062 kB / 0.5752 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005161/0.5985, allocations: 0.5673 MB / 0.5757 GB, free: 40.6 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009376/0.5995, allocations: 1.031 MB / 0.5767 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.5997, allocations: 65.53 kB / 0.5768 GB, free: 40.2 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002743/0.5999, allocations: 143.6 kB / 0.5769 GB, free: 40.16 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002547/0.6025, allocations: 2.5 MB / 0.5794 GB, free: 38.93 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0009099/0.6034, allocations: 1.425 MB / 0.5808 GB, free: 37.71 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002794/0.6062, allocations: 3.158 MB / 0.5839 GB, free: 35.76 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.6062, allocations: 3.938 kB / 0.5839 GB, free: 35.75 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.414e-06/0.6062, allocations: 4 kB / 0.5839 GB, free: 35.75 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.396e-05/0.6063, allocations: 1.156 kB / 0.5839 GB, free: 35.75 MB / 462.3 MB 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.008924/0.6153, allocations: 5.168 MB / 0.5889 GB, free: 31.25 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.6153, allocations: 8.031 kB / 0.5889 GB, free: 31.24 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005054/0.6158, allocations: 0.5561 MB / 0.5895 GB, free: 30.68 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009333/0.6252, allocations: 6.531 MB / 0.5958 GB, free: 24.07 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.6252, allocations: 4.375 kB / 0.5958 GB, free: 24.06 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.231e-05/0.6253, allocations: 16.38 kB / 0.5959 GB, free: 24.05 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.6256, allocations: 249.8 kB / 0.5961 GB, free: 23.8 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.6257, allocations: 0 / 0.5961 GB, free: 23.8 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.6257, allocations: 16 kB / 0.5961 GB, free: 23.78 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.6257, allocations: 0 / 0.5961 GB, free: 23.78 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.6259, allocations: 128 kB / 0.5962 GB, free: 23.66 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.628, allocations: 1.858 MB / 0.598 GB, free: 21.75 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.6282, allocations: 102.6 kB / 0.5981 GB, free: 21.64 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.6284, allocations: 92.89 kB / 0.5982 GB, free: 21.55 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.6284, allocations: 11.94 kB / 0.5982 GB, free: 21.54 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002792/0.6287, allocations: 256.8 kB / 0.5985 GB, free: 21.27 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.6287, allocations: 0 / 0.5985 GB, free: 21.27 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001236/0.6299, allocations: 1.16 MB / 0.5996 GB, free: 20.09 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.63, allocations: 81.11 kB / 0.5997 GB, free: 19.99 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005633/0.6356, allocations: 6.275 MB / 0.6058 GB, free: 13.76 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.271e-05/0.6357, allocations: 49.64 kB / 0.6059 GB, free: 13.7 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001599/0.6373, allocations: 2.528 MB / 0.6083 GB, free: 11.17 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.926e-05/0.6374, allocations: 31.73 kB / 0.6084 GB, free: 11.14 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.6375, allocations: 133.7 kB / 0.6085 GB, free: 11 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.196e-05/0.6376, allocations: 310 kB / 0.6088 GB, free: 10.7 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.6377, allocations: 83.92 kB / 0.6089 GB, free: 10.61 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.6378, allocations: 80 kB / 0.609 GB, free: 10.54 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.6381, allocations: 224.2 kB / 0.6092 GB, free: 10.3 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.6381, allocations: 0 / 0.6092 GB, free: 10.3 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001105/0.6392, allocations: 1.09 MB / 0.6102 GB, free: 9.191 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/0.6392, allocations: 45.69 kB / 0.6103 GB, free: 9.141 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6393, allocations: 0 / 0.6103 GB, free: 9.141 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.6393, allocations: 4 kB / 0.6103 GB, free: 9.137 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.455e-05/0.6394, allocations: 4 kB / 0.6103 GB, free: 9.133 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.6394, allocations: 0 / 0.6103 GB, free: 9.133 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.6398, allocations: 19.98 kB / 0.6103 GB, free: 9.113 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.64, allocations: 224 kB / 0.6105 GB, free: 8.895 MB / 462.3 MB 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.00145/0.6414, allocations: 1.337 MB / 0.6118 GB, free: 7.543 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003357/0.6418, allocations: 0.5826 MB / 0.6124 GB, free: 6.953 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000528/0.6423, allocations: 0.6557 MB / 0.613 GB, free: 6.289 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.6423, allocations: 0 / 0.613 GB, free: 6.289 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6423, allocations: 0 / 0.613 GB, free: 6.289 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.6423, allocations: 0 / 0.613 GB, free: 6.289 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.6438, allocations: 2.018 MB / 0.615 GB, free: 4.223 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6438, allocations: 0 / 0.615 GB, free: 4.223 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.6439, allocations: 7.938 kB / 0.615 GB, free: 4.215 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.6439, allocations: 0 / 0.615 GB, free: 4.215 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.863e-05/0.6439, allocations: 55.98 kB / 0.6151 GB, free: 4.16 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.6439, allocations: 0 / 0.6151 GB, free: 4.16 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.6439, allocations: 7.938 kB / 0.6151 GB, free: 4.152 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009512/0.6449, allocations: 1.172 MB / 0.6162 GB, free: 2.949 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008228/0.6457, allocations: 0.5601 MB / 0.6168 GB, free: 2.363 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/0.646, allocations: 20 kB / 0.6168 GB, free: 2.344 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.6463, allocations: 16 kB / 0.6168 GB, free: 2.328 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.6464, allocations: 11.98 kB / 0.6168 GB, free: 2.316 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/0.6465, allocations: 228 kB / 0.617 GB, free: 2.094 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.005792/0.6523, allocations: 4.324 MB / 0.6212 GB, free: 13.81 MB / 478.3 MB Notification: Performance of sort global known variables: time 3e-07/0.6523, allocations: 0 / 0.6212 GB, free: 13.81 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0008092/0.6531, allocations: 184 kB / 0.6214 GB, free: 13.63 MB / 478.3 MB 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.0002664/0.6534, allocations: 146.5 kB / 0.6216 GB, free: 13.48 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0004353/0.6539, allocations: 279.3 kB / 0.6218 GB, free: 13.2 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6539, allocations: 0 / 0.6218 GB, free: 13.2 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.6541, allocations: 187.4 kB / 0.622 GB, free: 13 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.6554, allocations: 441.2 kB / 0.6224 GB, free: 12.57 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/0.668, allocations: 8.384 MB / 0.6306 GB, free: 4.152 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002499/0.6706, allocations: 2.717 MB / 0.6333 GB, free: 1.41 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.002624/0.6732, allocations: 1.145 MB / 0.6344 GB, free: 264 kB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/0.6735, allocations: 259.4 kB / 0.6346 GB, free: 4 kB / 478.3 MB Notification: Performance of SimCode: time 1.142e-06/0.6735, allocations: 0 / 0.6346 GB, free: 4 kB / 478.3 MB Notification: Performance of Templates: time 0.05976/0.7333, allocations: 20.71 MB / 0.6549 GB, free: 11.18 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500 -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches