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.001287/0.001287, allocations: 104.8 kB / 16.51 MB, free: 6.707 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.001488/0.001488, allocations: 193.9 kB / 17.43 MB, free: 6.062 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.44/1.44, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.128/1.128, allocations: 119.3 MB / 410.6 MB, free: 9.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 59.91 kB / 0.4903 GB, free: 14.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5858/0.5872, allocations: 80.69 MB / 0.569 GB, free: 43.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002375/0.5896, allocations: 1.472 MB / 0.5705 GB, free: 42.31 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008796/0.5905, allocations: 0.5918 MB / 0.5711 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.805e-05/0.5906, allocations: 1.375 kB / 0.5711 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.5928, allocations: 3.427 MB / 0.5744 GB, free: 40.13 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.5951, allocations: 3.467 MB / 0.5778 GB, free: 38.38 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.5955, allocations: 56.11 kB / 0.5779 GB, free: 38.34 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.006254/0.6017, allocations: 8.533 MB / 0.5862 GB, free: 32.34 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.49e-05/0.6018, allocations: 7.984 kB / 0.5862 GB, free: 32.33 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006556/0.6084, allocations: 4.25 MB / 0.5903 GB, free: 28.07 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00676/0.6151, allocations: 7.596 MB / 0.5978 GB, free: 20.46 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.001217/0.6164, allocations: 0.4922 MB / 0.5982 GB, free: 19.97 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009773/0.6174, allocations: 0.5624 MB / 0.5988 GB, free: 19.41 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.01437/0.6318, allocations: 19.9 MB / 0.6182 GB, free: 15.45 MB / 478.3 MB Notification: Performance of NFVerifyModel.verify: time 0.01797/0.6498, allocations: 11.25 MB / 0.6292 GB, free: 4.09 MB / 478.3 MB Notification: Performance of NFConvertDAE.convert: time 0.02532/0.6751, allocations: 23.76 MB / 0.6524 GB, free: 12.19 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.6752, allocations: 3.938 kB / 0.6524 GB, free: 12.19 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.385e-06/0.6752, allocations: 4 kB / 0.6524 GB, free: 12.18 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.00111/0.6763, allocations: 0 / 0.6524 GB, free: 12.18 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.05849/0.7348, allocations: 38.75 MB / 0.6903 GB, free: 5.027 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.7348, allocations: 8.031 kB / 0.6903 GB, free: 5.02 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007923/0.7428, allocations: 4.399 MB / 0.6946 GB, free: 0.5625 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1281/0.8709, allocations: 51.58 MB / 0.7449 GB, free: 12.64 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.8709, allocations: 8.312 kB / 0.7449 GB, free: 12.63 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003288/0.8713, allocations: 132.4 kB / 0.7451 GB, free: 12.5 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.873, allocations: 1.512 MB / 0.7465 GB, free: 10.98 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.873, allocations: 0 / 0.7465 GB, free: 10.98 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002362/0.8732, allocations: 128 kB / 0.7467 GB, free: 10.86 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.8732, allocations: 3.938 kB / 0.7467 GB, free: 10.85 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.8743, allocations: 0.875 MB / 0.7475 GB, free: 9.977 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7053/1.58, allocations: 13.84 MB / 0.761 GB, free: 135.8 MB / 0.5923 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/1.582, allocations: 0.5296 MB / 0.7616 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/1.583, allocations: 0.5188 MB / 0.7621 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/1.583, allocations: 0.6562 kB / 0.7621 GB, free: 135.7 MB / 0.5923 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001638/1.585, allocations: 1.319 MB / 0.7634 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of pre-optimization done (n=8): time 2.845e-06/1.585, allocations: 0.8906 kB / 0.7634 GB, free: 135.6 MB / 0.5923 GB Notification: Performance of matching and sorting (n=8): time 0.01526/1.6, allocations: 8.316 MB / 0.7715 GB, free: 135.5 MB / 0.5923 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/1.6, allocations: 86.36 kB / 0.7716 GB, free: 135.4 MB / 0.5923 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08884/1.689, allocations: 49.58 MB / 0.82 GB, free: 105.5 MB / 0.5923 GB Notification: Performance of collectPreVariables (initialization): time 0.0008153/1.69, allocations: 152.7 kB / 0.8201 GB, free: 105.3 MB / 0.5923 GB Notification: Performance of collectInitialEqns (initialization): time 0.02349/1.713, allocations: 22.55 MB / 0.8422 GB, free: 82.76 MB / 0.5923 GB Notification: Performance of collectInitialBindings (initialization): time 0.001265/1.714, allocations: 144.6 kB / 0.8423 GB, free: 82.64 MB / 0.5923 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009149/1.715, allocations: 0.8767 MB / 0.8431 GB, free: 81.75 MB / 0.5923 GB Notification: Performance of setup shared object (initialization): time 5.617e-05/1.715, allocations: 311.9 kB / 0.8434 GB, free: 81.45 MB / 0.5923 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000688/1.716, allocations: 0.5039 MB / 0.8439 GB, free: 80.94 MB / 0.5923 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/1.717, allocations: 0.5039 MB / 0.8444 GB, free: 80.44 MB / 0.5923 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/1.718, allocations: 1.082 MB / 0.8455 GB, free: 79.34 MB / 0.5923 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/1.718, allocations: 0 / 0.8455 GB, free: 79.34 MB / 0.5923 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.009869/1.728, allocations: 7.818 MB / 0.8531 GB, free: 73.96 MB / 0.5923 GB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/1.728, allocations: 41.69 kB / 0.8532 GB, free: 73.92 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.728, allocations: 0 / 0.8532 GB, free: 73.92 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/1.728, allocations: 4 kB / 0.8532 GB, free: 73.91 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/1.728, allocations: 4.562 kB / 0.8532 GB, free: 73.91 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/1.728, allocations: 0 / 0.8532 GB, free: 73.91 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007482/1.736, allocations: 131.9 kB / 0.8533 GB, free: 73.78 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001279/1.737, allocations: 1.707 MB / 0.855 GB, free: 72.07 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.016/1.753, allocations: 9.675 MB / 0.8644 GB, free: 62.38 MB / 0.5923 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008678/1.762, allocations: 4.523 MB / 0.8688 GB, free: 57.8 MB / 0.5923 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/1.774, allocations: 5.118 MB / 0.8738 GB, free: 52.66 MB / 0.5923 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/1.774, allocations: 0 / 0.8738 GB, free: 52.66 MB / 0.5923 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.774, allocations: 0 / 0.8738 GB, free: 52.66 MB / 0.5923 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/1.774, allocations: 3.938 kB / 0.8738 GB, free: 52.66 MB / 0.5923 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03803/1.812, allocations: 15.08 MB / 0.8886 GB, free: 37.52 MB / 0.5923 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/1.812, allocations: 3 kB / 0.8886 GB, free: 37.52 MB / 0.5923 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.292e-05/1.812, allocations: 7.984 kB / 0.8886 GB, free: 37.52 MB / 0.5923 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/1.812, allocations: 0 / 0.8886 GB, free: 37.52 MB / 0.5923 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001287/1.813, allocations: 376 kB / 0.8889 GB, free: 37.15 MB / 0.5923 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/1.813, allocations: 0 / 0.8889 GB, free: 37.15 MB / 0.5923 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.813, allocations: 0 / 0.8889 GB, free: 37.15 MB / 0.5923 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009449/1.823, allocations: 8.169 MB / 0.8969 GB, free: 28.91 MB / 0.5923 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008905/1.831, allocations: 3.868 MB / 0.9007 GB, free: 24.96 MB / 0.5923 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004205/1.836, allocations: 128.9 kB / 0.9008 GB, free: 24.84 MB / 0.5923 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004026/1.84, allocations: 132 kB / 0.9009 GB, free: 24.71 MB / 0.5923 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/1.84, allocations: 11.92 kB / 0.9009 GB, free: 24.7 MB / 0.5923 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001059/1.841, allocations: 1.715 MB / 0.9026 GB, free: 22.98 MB / 0.5923 GB Notification: Performance of sorting global known variables: time 0.05894/1.9, allocations: 34.49 MB / 0.9363 GB, free: 4.793 MB / 0.6079 GB Notification: Performance of sort global known variables: time 1.072e-06/1.9, allocations: 0 / 0.9363 GB, free: 4.793 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.007063/1.907, allocations: 1.254 MB / 0.9375 GB, free: 3.543 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.0008381/1.908, allocations: 246.6 kB / 0.9377 GB, free: 3.297 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.002093/1.91, allocations: 1.238 MB / 0.939 GB, free: 2.047 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/1.91, allocations: 0 / 0.939 GB, free: 2.047 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/1.911, allocations: 0.7211 MB / 0.9397 GB, free: 1.316 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01774/1.929, allocations: 3.379 MB / 0.943 GB, free: 13.93 MB / 0.6235 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4576/2.387, allocations: 79.37 MB / 1.02 GB, free: 200.6 MB / 0.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03534/2.422, allocations: 17.33 MB / 1.037 GB, free: 195.5 MB / 0.686 GB Notification: Performance of simCode: alias equations: time 0.03014/2.452, allocations: 9.323 MB / 1.046 GB, free: 191.4 MB / 0.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003754/2.456, allocations: 1.961 MB / 1.048 GB, free: 191.4 MB / 0.686 GB Notification: Performance of SimCode: time 1.242e-06/2.456, allocations: 0 / 1.048 GB, free: 191.4 MB / 0.686 GB Notification: Performance of Templates: time 0.3968/2.853, allocations: 164.5 MB / 1.209 GB, free: 51.27 MB / 0.686 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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches