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.00149/0.00149, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.001702/0.001702, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.301/1.301, allocations: 222.9 MB / 241.8 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9042/0.9042, allocations: 119.3 MB / 411.2 MB, free: 9.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 55.91 kB / 0.4909 GB, free: 14.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5012/0.5026, allocations: 80.68 MB / 0.5697 GB, free: 42.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002302/0.5049, allocations: 1.474 MB / 0.5711 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000885/0.5058, allocations: 0.5888 MB / 0.5717 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.5059, allocations: 1 kB / 0.5717 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001981/0.5079, allocations: 3.43 MB / 0.5751 GB, free: 39.59 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002209/0.5101, allocations: 3.463 MB / 0.5784 GB, free: 37.85 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.5104, allocations: 61.28 kB / 0.5785 GB, free: 37.81 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.00665/0.5171, allocations: 8.539 MB / 0.5868 GB, free: 32.32 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.933e-05/0.5172, allocations: 4 kB / 0.5868 GB, free: 32.32 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006439/0.5236, allocations: 4.247 MB / 0.591 GB, free: 28.06 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00618/0.5298, allocations: 7.596 MB / 0.5984 GB, free: 20.45 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001125/0.531, allocations: 500 kB / 0.5989 GB, free: 19.96 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.5321, allocations: 0.5546 MB / 0.5994 GB, free: 19.41 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01425/0.5463, allocations: 19.92 MB / 0.6189 GB, free: 15.44 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01652/0.5629, allocations: 11.25 MB / 0.6299 GB, free: 4.078 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0186/0.5815, allocations: 18.12 MB / 0.6475 GB, free: 1.906 MB / 494.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.5816, allocations: 0 / 0.6475 GB, free: 1.906 MB / 494.3 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5816, allocations: 0 / 0.6475 GB, free: 1.906 MB / 494.3 MB Notification: Performance of Transformations before backend: time 0.0009872/0.5826, allocations: 0 / 0.6475 GB, free: 1.906 MB / 494.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.05812/0.6407, allocations: 38.75 MB / 0.6854 GB, free: 10.75 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.6408, allocations: 12.03 kB / 0.6854 GB, free: 10.73 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006647/0.6474, allocations: 4.395 MB / 0.6897 GB, free: 6.281 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1132/0.7606, allocations: 51.58 MB / 0.7401 GB, free: 2.355 MB / 0.5764 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.7607, allocations: 384 / 0.7401 GB, free: 2.355 MB / 0.5764 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003447/0.761, allocations: 128.4 kB / 0.7402 GB, free: 2.23 MB / 0.5764 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.7629, allocations: 1.516 MB / 0.7417 GB, free: 0.707 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.7629, allocations: 7.922 kB / 0.7417 GB, free: 0.6992 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/0.7632, allocations: 128 kB / 0.7418 GB, free: 0.5742 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.7632, allocations: 0 / 0.7418 GB, free: 0.5742 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.7644, allocations: 0.8789 MB / 0.7427 GB, free: 15.69 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02369/0.7881, allocations: 13.85 MB / 0.7562 GB, free: 1.785 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.7896, allocations: 0.5259 MB / 0.7567 GB, free: 1.25 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007764/0.7904, allocations: 0.5165 MB / 0.7572 GB, free: 0.7305 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-06/0.7904, allocations: 0 / 0.7572 GB, free: 0.7305 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.464/1.254, allocations: 1.322 MB / 0.7585 GB, free: 130.7 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 4.388e-06/1.254, allocations: 3.844 kB / 0.7585 GB, free: 130.7 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.01227/1.267, allocations: 8.318 MB / 0.7666 GB, free: 130.6 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/1.267, allocations: 80.98 kB / 0.7667 GB, free: 130.5 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07294/1.34, allocations: 49.58 MB / 0.8151 GB, free: 100.8 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0005689/1.34, allocations: 153.7 kB / 0.8153 GB, free: 100.6 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.01816/1.359, allocations: 22.54 MB / 0.8373 GB, free: 78.04 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008949/1.359, allocations: 144.5 kB / 0.8374 GB, free: 77.91 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008441/1.36, allocations: 0.8806 MB / 0.8383 GB, free: 77.02 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 4.929e-05/1.36, allocations: 309.5 kB / 0.8386 GB, free: 76.72 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000733/1.361, allocations: 0.5039 MB / 0.8391 GB, free: 76.21 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006375/1.362, allocations: 0.5045 MB / 0.8396 GB, free: 75.71 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/1.363, allocations: 1.082 MB / 0.8406 GB, free: 74.62 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.363, allocations: 3.375 kB / 0.8406 GB, free: 74.62 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.008355/1.371, allocations: 7.815 MB / 0.8482 GB, free: 69.24 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 5.193e-05/1.372, allocations: 38.47 kB / 0.8483 GB, free: 69.2 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.372, allocations: 0 / 0.8483 GB, free: 69.2 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/1.372, allocations: 0.75 kB / 0.8483 GB, free: 69.2 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.857e-05/1.372, allocations: 7.656 kB / 0.8483 GB, free: 69.19 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/1.372, allocations: 3.625 kB / 0.8483 GB, free: 69.19 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004528/1.376, allocations: 131 kB / 0.8484 GB, free: 69.07 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001133/1.377, allocations: 1.715 MB / 0.8501 GB, free: 67.35 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.01131/1.389, allocations: 9.677 MB / 0.8595 GB, free: 57.66 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005116/1.394, allocations: 4.523 MB / 0.864 GB, free: 53.07 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008855/1.403, allocations: 5.116 MB / 0.869 GB, free: 47.94 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/1.403, allocations: 0 / 0.869 GB, free: 47.94 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/1.403, allocations: 3 kB / 0.869 GB, free: 47.94 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/1.403, allocations: 0 / 0.869 GB, free: 47.94 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02273/1.425, allocations: 15.08 MB / 0.8837 GB, free: 32.8 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.426, allocations: 0 / 0.8837 GB, free: 32.8 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.475e-05/1.426, allocations: 7.984 kB / 0.8837 GB, free: 32.79 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/1.426, allocations: 0 / 0.8837 GB, free: 32.79 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009538/1.427, allocations: 380 kB / 0.8841 GB, free: 32.42 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.427, allocations: 0 / 0.8841 GB, free: 32.42 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.427, allocations: 0 / 0.8841 GB, free: 32.42 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00885/1.435, allocations: 8.153 MB / 0.892 GB, free: 24.19 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00665/1.442, allocations: 3.876 MB / 0.8958 GB, free: 20.23 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003271/1.445, allocations: 128.1 kB / 0.8959 GB, free: 20.11 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003571/1.449, allocations: 131.9 kB / 0.896 GB, free: 19.98 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/1.449, allocations: 7.984 kB / 0.8961 GB, free: 19.97 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009933/1.45, allocations: 1.714 MB / 0.8977 GB, free: 18.26 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.05478/1.505, allocations: 34.49 MB / 0.9314 GB, free: 80 kB / 0.6079 GB Notification: Performance of sort global known variables: time 8.92e-07/1.505, allocations: 0 / 0.9314 GB, free: 80 kB / 0.6079 GB Notification: Performance of remove unused functions: time 0.005112/1.51, allocations: 1.258 MB / 0.9326 GB, free: 14.82 MB / 0.6235 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.0006088/1.511, allocations: 254.7 kB / 0.9329 GB, free: 14.58 MB / 0.6235 GB Notification: Performance of simCode: created initialization part: time 0.00204/1.513, allocations: 1.237 MB / 0.9341 GB, free: 13.33 MB / 0.6235 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.513, allocations: 0 / 0.9341 GB, free: 13.33 MB / 0.6235 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/1.514, allocations: 0.7182 MB / 0.9348 GB, free: 12.6 MB / 0.6235 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01443/1.528, allocations: 3.382 MB / 0.9381 GB, free: 9.219 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1238/1.652, allocations: 81.1 MB / 1.017 GB, free: 8.547 MB / 0.7017 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2981/1.95, allocations: 17.33 MB / 1.034 GB, free: 207.4 MB / 0.7017 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003933/1.954, allocations: 1.962 MB / 1.036 GB, free: 207.3 MB / 0.7017 GB Notification: Performance of SimCode: time 1.413e-06/1.954, allocations: 0 / 1.036 GB, free: 207.3 MB / 0.7017 GB Notification: Performance of Templates: time 17.96/19.91, allocations: 6.093 GB / 7.13 GB, free: 153.2 MB / 0.7954 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 -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","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches