Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.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_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 112.5 kB / 17.68 MB, free: 5.496 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.001799/0.001799, allocations: 190.9 kB / 18.62 MB, free: 4.562 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.568/1.568, 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.21/1.21, allocations: 119.3 MB / 411.8 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.91 kB / 0.4924 GB, free: 13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7351/0.7364, allocations: 80.69 MB / 0.5712 GB, free: 43.46 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.002933/0.7394, allocations: 1.405 MB / 0.5725 GB, free: 42.36 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009922/0.7405, allocations: 0.5745 MB / 0.5731 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.3e-05/0.7405, allocations: 0 / 0.5731 GB, free: 41.91 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005689/0.7462, allocations: 6.844 MB / 0.5798 GB, free: 38.47 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.005164/0.7515, allocations: 6.891 MB / 0.5865 GB, free: 33.77 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.7521, allocations: 83.78 kB / 0.5866 GB, free: 33.69 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.01421/0.7663, allocations: 17.03 MB / 0.6032 GB, free: 16.64 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.655e-05/0.7664, allocations: 0 / 0.6032 GB, free: 16.64 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01537/0.7818, allocations: 8.462 MB / 0.6115 GB, free: 8.16 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02321/0.805, allocations: 16.14 MB / 0.6272 GB, free: 7.992 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.00687/0.812, allocations: 0.9805 MB / 0.6282 GB, free: 7.012 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007376/0.8194, allocations: 1.055 MB / 0.6292 GB, free: 5.957 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.04806/0.8675, allocations: 39.81 MB / 0.6681 GB, free: 14.04 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.04026/0.9078, allocations: 22.48 MB / 0.6901 GB, free: 7.34 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.0688/0.9766, allocations: 49.41 MB / 0.7383 GB, free: 5.668 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 1.878e-05/0.9768, allocations: 0 / 0.7383 GB, free: 5.668 MB / 0.5764 GB Notification: Performance of FrontEnd: time 5.08e-06/0.9768, allocations: 0 / 0.7383 GB, free: 5.668 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.003736/0.9805, allocations: 0 / 0.7383 GB, free: 5.668 MB / 0.5764 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.9281/1.909, allocations: 77.12 MB / 0.8136 GB, free: 84.45 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/1.909, allocations: 11.5 kB / 0.8136 GB, free: 84.44 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01671/1.925, allocations: 8.798 MB / 0.8222 GB, free: 75.53 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3702/2.296, allocations: 103.1 MB / 0.9229 GB, free: 3.867 MB / 0.6235 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/2.296, allocations: 384 / 0.9229 GB, free: 3.867 MB / 0.6235 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00242/2.298, allocations: 252.4 kB / 0.9231 GB, free: 3.621 MB / 0.6235 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005477/2.304, allocations: 2.98 MB / 0.926 GB, free: 0.6328 MB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/2.304, allocations: 4 kB / 0.926 GB, free: 0.6289 MB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005568/2.304, allocations: 251.9 kB / 0.9263 GB, free: 392 kB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/2.304, allocations: 0 / 0.9263 GB, free: 392 kB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/2.307, allocations: 1.737 MB / 0.928 GB, free: 14.65 MB / 0.6392 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07563/2.382, allocations: 27.54 MB / 0.9549 GB, free: 3.039 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004136/2.386, allocations: 1.018 MB / 0.9558 GB, free: 2.012 MB / 0.6548 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001822/2.388, allocations: 1.001 MB / 0.9568 GB, free: 1.008 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/2.388, allocations: 4.031 kB / 0.9568 GB, free: 1.004 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002946/2.391, allocations: 2.537 MB / 0.9593 GB, free: 14.45 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=8): time 3.527e-06/2.391, allocations: 5.156 kB / 0.9593 GB, free: 14.44 MB / 0.6704 GB Notification: Performance of matching and sorting (n=8): time 0.03134/2.423, allocations: 16.5 MB / 0.9754 GB, free: 13.81 MB / 0.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/2.423, allocations: 77.11 kB / 0.9755 GB, free: 13.72 MB / 0.686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7794/3.202, allocations: 99.07 MB / 1.072 GB, free: 197.2 MB / 0.7329 GB Notification: Performance of collectPreVariables (initialization): time 0.00307/3.205, allocations: 279.7 kB / 1.073 GB, free: 197.2 MB / 0.7329 GB Notification: Performance of collectInitialEqns (initialization): time 0.07257/3.278, allocations: 46.97 MB / 1.118 GB, free: 159 MB / 0.7329 GB Notification: Performance of collectInitialBindings (initialization): time 0.003109/3.281, allocations: 262.7 kB / 1.119 GB, free: 159 MB / 0.7329 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008633/3.29, allocations: 1.736 MB / 1.12 GB, free: 159 MB / 0.7329 GB Notification: Performance of setup shared object (initialization): time 0.0001227/3.29, allocations: 309.8 kB / 1.121 GB, free: 158.7 MB / 0.7329 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005234/3.295, allocations: 0.9969 MB / 1.122 GB, free: 158.7 MB / 0.7329 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/3.297, allocations: 0.9869 MB / 1.123 GB, free: 158.7 MB / 0.7329 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003316/3.3, allocations: 2.062 MB / 1.125 GB, free: 158.6 MB / 0.7329 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/3.3, allocations: 0 / 1.125 GB, free: 158.6 MB / 0.7329 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.02624/3.326, allocations: 15.5 MB / 1.14 GB, free: 158.5 MB / 0.7329 GB Notification: Performance of prepare postOptimizeDAE: time 6.817e-05/3.326, allocations: 40.94 kB / 1.14 GB, free: 158.5 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/3.327, allocations: 0 / 1.14 GB, free: 158.5 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/3.327, allocations: 3.812 kB / 1.14 GB, free: 158.5 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/3.327, allocations: 3.75 kB / 1.14 GB, free: 158.5 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/3.327, allocations: 6.75 kB / 1.14 GB, free: 158.5 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01755/3.344, allocations: 261.3 kB / 1.14 GB, free: 158.5 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008275/3.353, allocations: 3.42 MB / 1.143 GB, free: 158 MB / 0.7329 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.03652/3.389, allocations: 19.19 MB / 1.162 GB, free: 145.4 MB / 0.7329 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02096/3.41, allocations: 9.042 MB / 1.171 GB, free: 141.2 MB / 0.7329 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02904/3.439, allocations: 10.22 MB / 1.181 GB, free: 131 MB / 0.7329 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/3.439, allocations: 7.938 kB / 1.181 GB, free: 131 MB / 0.7329 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/3.439, allocations: 0.8125 kB / 1.181 GB, free: 131 MB / 0.7329 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/3.439, allocations: 0 / 1.181 GB, free: 131 MB / 0.7329 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08817/3.527, allocations: 30 MB / 1.21 GB, free: 100.9 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/3.528, allocations: 3.984 kB / 1.21 GB, free: 100.9 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.793e-05/3.528, allocations: 4 kB / 1.21 GB, free: 100.9 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/3.528, allocations: 0 / 1.21 GB, free: 100.9 MB / 0.7329 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003905/3.532, allocations: 0.7388 MB / 1.211 GB, free: 100.1 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.417e-06/3.532, allocations: 3.938 kB / 1.211 GB, free: 100.1 MB / 0.7329 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/3.532, allocations: 3.625 kB / 1.211 GB, free: 100.1 MB / 0.7329 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0275/3.559, allocations: 16.14 MB / 1.227 GB, free: 83.87 MB / 0.7329 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03614/3.595, allocations: 7.658 MB / 1.234 GB, free: 76.08 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01898/3.614, allocations: 256 kB / 1.234 GB, free: 75.83 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0187/3.633, allocations: 258.1 kB / 1.235 GB, free: 75.58 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/3.633, allocations: 11.92 kB / 1.235 GB, free: 75.57 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.007354/3.641, allocations: 3.424 MB / 1.238 GB, free: 72.14 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.1335/3.774, allocations: 68.98 MB / 1.305 GB, free: 3.812 MB / 0.7329 GB Notification: Performance of sort global known variables: time 1.103e-06/3.774, allocations: 0 / 1.305 GB, free: 3.812 MB / 0.7329 GB Notification: Performance of remove unused functions: time 0.02082/3.795, allocations: 2.474 MB / 1.308 GB, free: 1.344 MB / 0.7329 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.002591/3.798, allocations: 373.7 kB / 1.308 GB, free: 0.9727 MB / 0.7329 GB Notification: Performance of simCode: created initialization part: time 0.004475/3.802, allocations: 2.332 MB / 1.31 GB, free: 14.63 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/3.802, allocations: 0 / 1.31 GB, free: 14.63 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 0.002266/3.805, allocations: 1.328 MB / 1.312 GB, free: 13.29 MB / 0.7485 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07038/3.875, allocations: 6.751 MB / 1.318 GB, free: 6.543 MB / 0.7485 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7994/4.674, allocations: 144 MB / 1.459 GB, free: 172.6 MB / 0.7485 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0881/4.763, allocations: 34.38 MB / 1.492 GB, free: 138.1 MB / 0.7485 GB Notification: Performance of simCode: alias equations: time 0.06029/4.823, allocations: 18.72 MB / 1.511 GB, free: 119.4 MB / 0.7485 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01245/4.835, allocations: 3.914 MB / 1.515 GB, free: 115.5 MB / 0.7485 GB Notification: Performance of SimCode: time 2.074e-06/4.836, allocations: 0 / 1.515 GB, free: 115.5 MB / 0.7485 GB Notification: Performance of Templates: time 1.536/6.371, allocations: 339.4 MB / 1.846 GB, free: 47.2 MB / 0.7485 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000 -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches