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.001406/0.001406, allocations: 110.4 kB / 17.06 MB, free: 6.004 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.001695/0.001695, allocations: 192.7 kB / 18 MB, free: 5.09 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.497/1.497, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.24/1.24, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 69.83 kB / 0.5709 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1844, allocations: 80.69 MB / 0.6497 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.00278/0.1872, allocations: 1.41 MB / 0.6511 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1883, allocations: 0.5652 MB / 0.6516 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.556e-05/0.1884, allocations: 0 / 0.6516 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.006116/0.1945, allocations: 6.849 MB / 0.6583 GB, free: 4.195 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.006185/0.2008, allocations: 6.888 MB / 0.665 GB, free: 13.29 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.2012, allocations: 75.8 kB / 0.6651 GB, free: 13.22 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.01398/0.2152, allocations: 17.04 MB / 0.6818 GB, free: 12.15 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 7.141e-05/0.2154, allocations: 7.984 kB / 0.6818 GB, free: 12.14 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01296/0.2283, allocations: 8.462 MB / 0.69 GB, free: 3.668 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0252/0.2536, allocations: 16.13 MB / 0.7058 GB, free: 3.508 MB / 0.5452 GB Notification: Performance of NFPackage.collectConstants: time 0.005191/0.2588, allocations: 0.9805 MB / 0.7068 GB, free: 2.527 MB / 0.5452 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00439/0.2632, allocations: 1.055 MB / 0.7078 GB, free: 1.473 MB / 0.5452 GB Notification: Performance of NFScalarize.scalarize: time 0.04483/0.3081, allocations: 39.81 MB / 0.7467 GB, free: 9.555 MB / 0.592 GB Notification: Performance of NFVerifyModel.verify: time 0.04187/0.35, allocations: 22.48 MB / 0.7686 GB, free: 2.852 MB / 0.6077 GB Notification: Performance of NFConvertDAE.convert: time 0.7865/1.137, allocations: 49.9 MB / 0.8173 GB, free: 49.95 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/1.137, allocations: 0 / 0.8173 GB, free: 49.95 MB / 0.6079 GB Notification: Performance of FrontEnd: time 2.484e-06/1.137, allocations: 0 / 0.8173 GB, free: 49.95 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.002951/1.14, allocations: 0 / 0.8173 GB, free: 49.95 MB / 0.6079 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.124/1.264, allocations: 80.54 MB / 0.896 GB, free: 15.58 MB / 0.6392 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/1.264, allocations: 15.31 kB / 0.896 GB, free: 15.57 MB / 0.6392 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01931/1.283, allocations: 9.281 MB / 0.9051 GB, free: 6.219 MB / 0.6392 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.33/1.613, allocations: 104.5 MB / 1.007 GB, free: 13.24 MB / 0.7485 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/1.613, allocations: 8 kB / 1.007 GB, free: 13.23 MB / 0.7485 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006538/1.614, allocations: 255 kB / 1.007 GB, free: 12.99 MB / 0.7485 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003421/1.617, allocations: 2.982 MB / 1.01 GB, free: 10 MB / 0.7485 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/1.617, allocations: 3.375 kB / 1.01 GB, free: 10 MB / 0.7485 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004796/1.618, allocations: 252 kB / 1.011 GB, free: 9.758 MB / 0.7485 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/1.618, allocations: 0 / 1.011 GB, free: 9.758 MB / 0.7485 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002424/1.62, allocations: 1.726 MB / 1.012 GB, free: 8.035 MB / 0.7485 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06331/1.683, allocations: 27.55 MB / 1.039 GB, free: 12.42 MB / 0.7798 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003829/1.687, allocations: 1.024 MB / 1.04 GB, free: 11.39 MB / 0.7798 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/1.689, allocations: 1.001 MB / 1.041 GB, free: 10.39 MB / 0.7798 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/1.689, allocations: 0 / 1.041 GB, free: 10.39 MB / 0.7798 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002456/1.691, allocations: 2.543 MB / 1.044 GB, free: 7.824 MB / 0.7798 GB Notification: Performance of pre-optimization done (n=8): time 1.964e-06/1.691, allocations: 4 kB / 1.044 GB, free: 7.82 MB / 0.7798 GB Notification: Performance of matching and sorting (n=8): time 0.02629/1.718, allocations: 16.98 MB / 1.06 GB, free: 6.762 MB / 0.7954 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/1.718, allocations: 84.64 kB / 1.06 GB, free: 6.664 MB / 0.7954 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8065/2.524, allocations: 99.07 MB / 1.157 GB, free: 204.8 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 0.002643/2.527, allocations: 277.7 kB / 1.157 GB, free: 204.8 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.06277/2.59, allocations: 46.97 MB / 1.203 GB, free: 158.6 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 0.002669/2.592, allocations: 264.9 kB / 1.203 GB, free: 158.3 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001749/2.594, allocations: 1.732 MB / 1.205 GB, free: 156.6 MB / 0.811 GB Notification: Performance of setup shared object (initialization): time 5.396e-05/2.594, allocations: 316.8 kB / 1.205 GB, free: 156.3 MB / 0.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/2.596, allocations: 1.001 MB / 1.206 GB, free: 155.3 MB / 0.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/2.597, allocations: 0.9883 MB / 1.207 GB, free: 154.3 MB / 0.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002871/2.6, allocations: 2.06 MB / 1.209 GB, free: 152.2 MB / 0.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/2.6, allocations: 0.5625 kB / 1.209 GB, free: 152.2 MB / 0.811 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.02231/2.622, allocations: 15.99 MB / 1.225 GB, free: 141.6 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 5.391e-05/2.622, allocations: 41.69 kB / 1.225 GB, free: 141.5 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/2.622, allocations: 0 / 1.225 GB, free: 141.5 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/2.622, allocations: 0 / 1.225 GB, free: 141.5 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.419e-05/2.622, allocations: 4 kB / 1.225 GB, free: 141.5 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/2.622, allocations: 7.859 kB / 1.225 GB, free: 141.5 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01322/2.636, allocations: 255.2 kB / 1.225 GB, free: 141.3 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00577/2.641, allocations: 3.422 MB / 1.229 GB, free: 137.9 MB / 0.811 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.04166/2.683, allocations: 19.19 MB / 1.247 GB, free: 118.6 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01661/2.7, allocations: 9.527 MB / 1.257 GB, free: 114.5 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02938/2.729, allocations: 10.22 MB / 1.267 GB, free: 104.3 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/2.729, allocations: 7.938 kB / 1.267 GB, free: 104.2 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/2.729, allocations: 3.984 kB / 1.267 GB, free: 104.2 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/2.729, allocations: 0 / 1.267 GB, free: 104.2 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07731/2.807, allocations: 29.99 MB / 1.296 GB, free: 74.18 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/2.807, allocations: 0 / 1.296 GB, free: 74.18 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-05/2.807, allocations: 7.938 kB / 1.296 GB, free: 74.18 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/2.807, allocations: 1.734 kB / 1.296 GB, free: 74.18 MB / 0.811 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002603/2.809, allocations: 0.7383 MB / 1.297 GB, free: 73.44 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/2.809, allocations: 0.6875 kB / 1.297 GB, free: 73.44 MB / 0.811 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/2.809, allocations: 0 / 1.297 GB, free: 73.44 MB / 0.811 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02083/2.83, allocations: 16.63 MB / 1.313 GB, free: 56.73 MB / 0.811 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02295/2.853, allocations: 8.152 MB / 1.321 GB, free: 48.5 MB / 0.811 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009772/2.863, allocations: 252 kB / 1.321 GB, free: 48.25 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01088/2.874, allocations: 256.9 kB / 1.321 GB, free: 48 MB / 0.811 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/2.874, allocations: 5.969 kB / 1.321 GB, free: 48 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005137/2.879, allocations: 3.418 MB / 1.325 GB, free: 44.58 MB / 0.811 GB Notification: Performance of sorting global known variables: time 0.1409/3.02, allocations: 68.99 MB / 1.392 GB, free: 8.246 MB / 0.8423 GB Notification: Performance of sort global known variables: time 4.51e-07/3.02, allocations: 0 / 1.392 GB, free: 8.246 MB / 0.8423 GB Notification: Performance of remove unused functions: time 0.0131/3.033, allocations: 2.471 MB / 1.394 GB, free: 5.777 MB / 0.8423 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.001564/3.035, allocations: 377.4 kB / 1.395 GB, free: 5.406 MB / 0.8423 GB Notification: Performance of simCode: created initialization part: time 0.004087/3.039, allocations: 2.331 MB / 1.397 GB, free: 3.066 MB / 0.8423 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/3.039, allocations: 0 / 1.397 GB, free: 3.066 MB / 0.8423 GB Notification: Performance of simCode: created simulation system equations: time 0.002194/3.041, allocations: 1.329 MB / 1.398 GB, free: 1.727 MB / 0.8423 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4513/3.492, allocations: 6.752 MB / 1.405 GB, free: 285.7 MB / 0.8423 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2937/3.786, allocations: 146.4 MB / 1.548 GB, free: 183.4 MB / 0.8423 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1/3.886, allocations: 34.38 MB / 1.582 GB, free: 148.9 MB / 0.8423 GB Notification: Performance of simCode: alias equations: time 0.06235/3.949, allocations: 18.71 MB / 1.6 GB, free: 130.2 MB / 0.8423 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01056/3.959, allocations: 3.917 MB / 1.604 GB, free: 126.3 MB / 0.8423 GB Notification: Performance of SimCode: time 2.024e-06/3.959, allocations: 1.406 kB / 1.604 GB, free: 126.3 MB / 0.8423 GB Notification: Performance of Templates: time 1.507/5.466, allocations: 339.4 MB / 1.935 GB, free: 78.62 MB / 0.8423 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins/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