Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001651/0.001651, allocations: 108.4 kB / 16.92 MB, free: 6.141 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.001675/0.001675, allocations: 191.3 kB / 17.85 MB, free: 5.309 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.522/1.522, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.212/1.212, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 67.89 kB / 0.4909 GB, free: 13.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6599/0.6615, allocations: 80.68 MB / 0.5697 GB, free: 43.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.003468/0.665, allocations: 1.407 MB / 0.5711 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.666, allocations: 0.5772 MB / 0.5717 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.836e-05/0.6661, allocations: 1.062 kB / 0.5717 GB, free: 41.78 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002942/0.6691, allocations: 3.427 MB / 0.575 GB, free: 40.06 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.004774/0.6739, allocations: 3.475 MB / 0.5784 GB, free: 38.3 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006438/0.6745, allocations: 79.34 kB / 0.5785 GB, free: 38.25 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.009292/0.6838, allocations: 8.547 MB / 0.5868 GB, free: 32.14 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.243e-05/0.684, allocations: 4 kB / 0.5868 GB, free: 32.14 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008197/0.6922, allocations: 4.258 MB / 0.591 GB, free: 27.88 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00951/0.7018, allocations: 8.085 MB / 0.5989 GB, free: 19.78 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.002915/0.7047, allocations: 500 kB / 0.5994 GB, free: 19.29 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002102/0.7068, allocations: 0.5585 MB / 0.5999 GB, free: 18.73 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01769/0.7245, allocations: 19.91 MB / 0.6194 GB, free: 14.77 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.02006/0.7446, allocations: 11.26 MB / 0.6304 GB, free: 3.402 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0287/0.7734, allocations: 24.25 MB / 0.654 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.7734, allocations: 0 / 0.654 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.515e-06/0.7734, allocations: 0 / 0.654 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001036/0.7745, allocations: 4 kB / 0.654 GB, free: 11.01 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.0606/0.8351, allocations: 38.75 MB / 0.6919 GB, free: 3.852 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.8352, allocations: 8.031 kB / 0.6919 GB, free: 3.844 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007825/0.843, allocations: 4.4 MB / 0.6962 GB, free: 15.38 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1401/0.9831, allocations: 51.58 MB / 0.7466 GB, free: 11.46 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.9832, allocations: 384 / 0.7466 GB, free: 11.46 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001068/0.9843, allocations: 128.4 kB / 0.7467 GB, free: 11.33 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003996/0.9883, allocations: 1.516 MB / 0.7482 GB, free: 9.809 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.9883, allocations: 0 / 0.7482 GB, free: 9.809 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005163/0.9889, allocations: 124 kB / 0.7483 GB, free: 9.688 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.9889, allocations: 0 / 0.7483 GB, free: 9.688 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.9903, allocations: 0.875 MB / 0.7491 GB, free: 8.812 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7478/1.738, allocations: 13.85 MB / 0.7627 GB, free: 127.7 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003072/1.741, allocations: 0.5307 MB / 0.7632 GB, free: 127.6 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002389/1.744, allocations: 0.5141 MB / 0.7637 GB, free: 127.6 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/1.744, allocations: 1.312 kB / 0.7637 GB, free: 127.6 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00215/1.746, allocations: 1.323 MB / 0.765 GB, free: 127.5 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 3.446e-06/1.746, allocations: 0 / 0.765 GB, free: 127.5 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.01998/1.766, allocations: 8.321 MB / 0.7731 GB, free: 127.4 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/1.766, allocations: 85.3 kB / 0.7732 GB, free: 127.4 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09469/1.861, allocations: 49.58 MB / 0.8216 GB, free: 92.33 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0009439/1.862, allocations: 153.7 kB / 0.8217 GB, free: 92.18 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02195/1.884, allocations: 22.55 MB / 0.8438 GB, free: 69.62 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001126/1.885, allocations: 150.9 kB / 0.8439 GB, free: 69.49 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000873/1.886, allocations: 0.8767 MB / 0.8448 GB, free: 68.61 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 6.28e-05/1.886, allocations: 310 kB / 0.8451 GB, free: 68.3 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000665/1.886, allocations: 0.5068 MB / 0.8455 GB, free: 67.79 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006392/1.887, allocations: 0.5039 MB / 0.846 GB, free: 67.29 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/1.889, allocations: 1.078 MB / 0.8471 GB, free: 66.2 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-06/1.889, allocations: 0 / 0.8471 GB, free: 66.2 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.009956/1.899, allocations: 7.822 MB / 0.8547 GB, free: 60.81 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 6.101e-05/1.899, allocations: 33.7 kB / 0.8548 GB, free: 60.77 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.899, allocations: 3.844 kB / 0.8548 GB, free: 60.77 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/1.899, allocations: 0 / 0.8548 GB, free: 60.77 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.821e-05/1.899, allocations: 7 kB / 0.8548 GB, free: 60.77 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/1.899, allocations: 0.875 kB / 0.8548 GB, free: 60.77 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009417/1.908, allocations: 137.4 kB / 0.8549 GB, free: 60.64 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002929/1.911, allocations: 1.715 MB / 0.8566 GB, free: 58.92 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.02012/1.931, allocations: 9.659 MB / 0.866 GB, free: 49.24 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01295/1.944, allocations: 4.52 MB / 0.8704 GB, free: 44.66 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0169/1.961, allocations: 5.125 MB / 0.8754 GB, free: 39.52 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/1.961, allocations: 0 / 0.8754 GB, free: 39.52 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/1.961, allocations: 0 / 0.8754 GB, free: 39.52 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/1.961, allocations: 3.938 kB / 0.8754 GB, free: 39.52 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04962/2.011, allocations: 15.08 MB / 0.8902 GB, free: 24.38 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/2.011, allocations: 4 kB / 0.8902 GB, free: 24.38 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.763e-05/2.011, allocations: 0 / 0.8902 GB, free: 24.38 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/2.011, allocations: 0 / 0.8902 GB, free: 24.38 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001376/2.013, allocations: 383 kB / 0.8905 GB, free: 24 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/2.013, allocations: 0 / 0.8905 GB, free: 24 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/2.013, allocations: 0 / 0.8905 GB, free: 24 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/2.025, allocations: 8.17 MB / 0.8985 GB, free: 15.76 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01024/2.036, allocations: 3.875 MB / 0.9023 GB, free: 11.81 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005054/2.041, allocations: 135.9 kB / 0.9024 GB, free: 11.68 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00605/2.047, allocations: 131 kB / 0.9025 GB, free: 11.55 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/2.047, allocations: 3.938 kB / 0.9025 GB, free: 11.55 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002334/2.049, allocations: 1.715 MB / 0.9042 GB, free: 9.836 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.07448/2.124, allocations: 34.49 MB / 0.9379 GB, free: 7.641 MB / 0.6235 GB Notification: Performance of sort global known variables: time 1.162e-06/2.124, allocations: 0 / 0.9379 GB, free: 7.641 MB / 0.6235 GB Notification: Performance of remove unused functions: time 0.008348/2.132, allocations: 1.249 MB / 0.9391 GB, free: 6.395 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.001126/2.133, allocations: 253.3 kB / 0.9394 GB, free: 6.145 MB / 0.6235 GB Notification: Performance of simCode: created initialization part: time 0.002195/2.136, allocations: 1.238 MB / 0.9406 GB, free: 4.895 MB / 0.6235 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/2.136, allocations: 0 / 0.9406 GB, free: 4.895 MB / 0.6235 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/2.137, allocations: 0.7142 MB / 0.9413 GB, free: 4.168 MB / 0.6235 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03335/2.17, allocations: 3.381 MB / 0.9446 GB, free: 0.7852 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1361/2.306, allocations: 71.54 MB / 1.014 GB, free: 9.676 MB / 0.7017 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4088/2.715, allocations: 17.33 MB / 1.031 GB, free: 214.9 MB / 0.7017 GB Notification: Performance of simCode: alias equations: time 0.03276/2.748, allocations: 9.444 MB / 1.041 GB, free: 210.7 MB / 0.7017 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004946/2.753, allocations: 1.965 MB / 1.043 GB, free: 210.7 MB / 0.7017 GB Notification: Performance of SimCode: time 1.432e-06/2.753, allocations: 0 / 1.043 GB, free: 210.7 MB / 0.7017 GB Notification: Performance of Templates: time 0.4161/3.169, allocations: 167.2 MB / 1.206 GB, free: 68.64 MB / 0.7017 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches