Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.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_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 117.1 kB / 17.07 MB, free: 5.973 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.00108/0.00108, allocations: 198.8 kB / 18.01 MB, free: 5.055 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.444/1.444, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.136/1.136, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 62.84 kB / 0.5709 GB, free: 39.74 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1735, allocations: 80.7 MB / 0.6497 GB, free: 13.05 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.002689/0.1762, allocations: 1.413 MB / 0.6511 GB, free: 11.63 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1773, allocations: 0.5652 MB / 0.6516 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.1774, allocations: 0 / 0.6516 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.008453/0.1859, allocations: 13.69 MB / 0.665 GB, free: 13.34 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.008915/0.1948, allocations: 13.72 MB / 0.6784 GB, free: 15.59 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.1953, allocations: 83.59 kB / 0.6785 GB, free: 15.51 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.02611/0.2214, allocations: 34 MB / 0.7117 GB, free: 13.46 MB / 0.5608 GB Notification: Performance of NFFlatten.resolveConnections: time 6.129e-05/0.2215, allocations: 3.984 kB / 0.7117 GB, free: 13.45 MB / 0.5608 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02309/0.2446, allocations: 16.88 MB / 0.7282 GB, free: 12.55 MB / 0.5764 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04113/0.2858, allocations: 32.25 MB / 0.7597 GB, free: 12.25 MB / 0.6077 GB Notification: Performance of NFPackage.collectConstants: time 0.00909/0.2949, allocations: 1.961 MB / 0.7616 GB, free: 10.29 MB / 0.6077 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009011/0.304, allocations: 2.031 MB / 0.7636 GB, free: 8.254 MB / 0.6077 GB Notification: Performance of NFScalarize.scalarize: time 0.767/1.071, allocations: 79.6 MB / 0.8413 GB, free: 40.54 MB / 0.6079 GB Notification: Performance of NFVerifyModel.verify: time 0.07312/1.144, allocations: 44.94 MB / 0.8852 GB, free: 15.34 MB / 0.6235 GB Notification: Performance of NFConvertDAE.convert: time 0.1315/1.276, allocations: 98.72 MB / 0.9816 GB, free: 12.1 MB / 0.7173 GB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/1.276, allocations: 0 / 0.9816 GB, free: 12.1 MB / 0.7173 GB Notification: Performance of FrontEnd: time 2.194e-06/1.276, allocations: 0 / 0.9816 GB, free: 12.1 MB / 0.7173 GB Notification: Performance of Transformations before backend: time 0.003643/1.28, allocations: 4 kB / 0.9816 GB, free: 12.09 MB / 0.7173 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 1.011/2.29, allocations: 153.9 MB / 1.132 GB, free: 120.2 MB / 0.7959 GB Notification: Performance of prepare preOptimizeDAE: time 6.171e-05/2.29, allocations: 8.031 kB / 1.132 GB, free: 120.2 MB / 0.7959 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03821/2.329, allocations: 17.58 MB / 1.149 GB, free: 102.3 MB / 0.7959 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8388/3.168, allocations: 206 MB / 1.35 GB, free: 8.852 MB / 0.9053 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/3.168, allocations: 384 / 1.35 GB, free: 8.852 MB / 0.9053 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001703/3.169, allocations: 0.4926 MB / 1.351 GB, free: 8.359 MB / 0.9053 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006788/3.176, allocations: 5.91 MB / 1.356 GB, free: 2.445 MB / 0.9053 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/3.176, allocations: 2 kB / 1.356 GB, free: 2.445 MB / 0.9053 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000976/3.177, allocations: 0.496 MB / 1.357 GB, free: 1.949 MB / 0.9053 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/3.177, allocations: 0 / 1.357 GB, free: 1.949 MB / 0.9053 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004361/3.182, allocations: 3.434 MB / 1.36 GB, free: 14.52 MB / 0.9209 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1223/3.304, allocations: 54.94 MB / 1.414 GB, free: 7.465 MB / 0.9678 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009746/3.314, allocations: 1.993 MB / 1.416 GB, free: 5.465 MB / 0.9678 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006253/3.32, allocations: 1.981 MB / 1.418 GB, free: 3.48 MB / 0.9678 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/3.32, allocations: 1.781 kB / 1.418 GB, free: 3.48 MB / 0.9678 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007248/3.327, allocations: 4.978 MB / 1.423 GB, free: 14.48 MB / 0.9834 GB Notification: Performance of pre-optimization done (n=8): time 3.106e-06/3.327, allocations: 0 / 1.423 GB, free: 14.48 MB / 0.9834 GB Notification: Performance of matching and sorting (n=8): time 0.5639/3.891, allocations: 32.86 MB / 1.455 GB, free: 325.8 MB / 0.9834 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/3.891, allocations: 83.06 kB / 1.455 GB, free: 325.7 MB / 0.9834 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3584/4.25, allocations: 198 MB / 1.648 GB, free: 205.6 MB / 0.9834 GB Notification: Performance of collectPreVariables (initialization): time 0.004351/4.254, allocations: 0.5134 MB / 1.649 GB, free: 205.1 MB / 0.9834 GB Notification: Performance of collectInitialEqns (initialization): time 0.1015/4.356, allocations: 97.77 MB / 1.744 GB, free: 107.3 MB / 0.9834 GB Notification: Performance of collectInitialBindings (initialization): time 0.004104/4.36, allocations: 0.5066 MB / 1.745 GB, free: 106.8 MB / 0.9834 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004455/4.364, allocations: 3.439 MB / 1.748 GB, free: 103.4 MB / 0.9834 GB Notification: Performance of setup shared object (initialization): time 5.294e-05/4.364, allocations: 306 kB / 1.748 GB, free: 103.1 MB / 0.9834 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002375/4.367, allocations: 1.973 MB / 1.75 GB, free: 101.1 MB / 0.9834 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002366/4.369, allocations: 1.975 MB / 1.752 GB, free: 99.14 MB / 0.9834 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005071/4.374, allocations: 4.01 MB / 1.756 GB, free: 95.12 MB / 0.9834 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/4.374, allocations: 0 / 1.756 GB, free: 95.12 MB / 0.9834 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.04941/4.424, allocations: 30.89 MB / 1.786 GB, free: 73.99 MB / 0.9834 GB Notification: Performance of prepare postOptimizeDAE: time 6.429e-05/4.424, allocations: 37.45 kB / 1.786 GB, free: 73.95 MB / 0.9834 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/4.424, allocations: 4 kB / 1.786 GB, free: 73.95 MB / 0.9834 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/4.424, allocations: 0 / 1.786 GB, free: 73.95 MB / 0.9834 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/4.424, allocations: 4 kB / 1.786 GB, free: 73.94 MB / 0.9834 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/4.424, allocations: 2 kB / 1.786 GB, free: 73.94 MB / 0.9834 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03125/4.455, allocations: 0.4961 MB / 1.787 GB, free: 73.45 MB / 0.9834 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01506/4.47, allocations: 6.837 MB / 1.794 GB, free: 66.61 MB / 0.9834 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.06204/4.532, allocations: 38.23 MB / 1.831 GB, free: 28.33 MB / 0.9834 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03106/4.563, allocations: 18.08 MB / 1.849 GB, free: 10.69 MB / 0.9834 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5543/5.118, allocations: 20.44 MB / 1.869 GB, free: 316.7 MB / 0.9834 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/5.118, allocations: 2.391 kB / 1.869 GB, free: 316.7 MB / 0.9834 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/5.118, allocations: 1.453 kB / 1.869 GB, free: 316.7 MB / 0.9834 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/5.118, allocations: 3.375 kB / 1.869 GB, free: 316.7 MB / 0.9834 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1447/5.262, allocations: 59.83 MB / 1.927 GB, free: 294.8 MB / 0.9834 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/5.263, allocations: 3.25 kB / 1.927 GB, free: 294.8 MB / 0.9834 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/5.263, allocations: 5.625 kB / 1.927 GB, free: 294.8 MB / 0.9834 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/5.263, allocations: 0 / 1.927 GB, free: 294.8 MB / 0.9834 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005899/5.269, allocations: 1.469 MB / 1.928 GB, free: 294.8 MB / 0.9834 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/5.269, allocations: 1.719 kB / 1.928 GB, free: 294.8 MB / 0.9834 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/5.269, allocations: 1.781 kB / 1.928 GB, free: 294.8 MB / 0.9834 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06255/5.331, allocations: 32.1 MB / 1.96 GB, free: 293.5 MB / 0.9834 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05112/5.382, allocations: 15.23 MB / 1.975 GB, free: 293.4 MB / 0.9834 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03456/5.417, allocations: 0.4963 MB / 1.975 GB, free: 293.4 MB / 0.9834 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03536/5.452, allocations: 0.4967 MB / 1.976 GB, free: 293.3 MB / 0.9834 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.166e-05/5.452, allocations: 7 kB / 1.976 GB, free: 293.3 MB / 0.9834 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01433/5.467, allocations: 6.839 MB / 1.982 GB, free: 292.4 MB / 0.9834 GB Notification: Performance of sorting global known variables: time 0.3144/5.781, allocations: 137.9 MB / 2.117 GB, free: 162.6 MB / 0.9834 GB Notification: Performance of sort global known variables: time 6.21e-07/5.781, allocations: 0 / 2.117 GB, free: 162.6 MB / 0.9834 GB Notification: Performance of remove unused functions: time 0.03228/5.814, allocations: 4.913 MB / 2.122 GB, free: 157.7 MB / 0.9834 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.003924/5.818, allocations: 0.6126 MB / 2.122 GB, free: 157.1 MB / 0.9834 GB Notification: Performance of simCode: created initialization part: time 0.01457/5.832, allocations: 4.53 MB / 2.127 GB, free: 152.5 MB / 0.9834 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/5.832, allocations: 4.453 kB / 2.127 GB, free: 152.5 MB / 0.9834 GB Notification: Performance of simCode: created simulation system equations: time 0.003435/5.836, allocations: 2.546 MB / 2.129 GB, free: 150 MB / 0.9834 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1099/5.946, allocations: 13.49 MB / 2.142 GB, free: 136.5 MB / 0.9834 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.068/7.014, allocations: 293.6 MB / 2.429 GB, free: 213.2 MB / 0.9834 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1325/7.147, allocations: 68.47 MB / 2.496 GB, free: 168.3 MB / 0.9834 GB Notification: Performance of simCode: alias equations: time 0.09817/7.245, allocations: 37.28 MB / 2.532 GB, free: 131 MB / 0.9834 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01756/7.262, allocations: 7.82 MB / 2.54 GB, free: 123.2 MB / 0.9834 GB Notification: Performance of SimCode: time 1.773e-06/7.262, allocations: 4 kB / 2.54 GB, free: 123.1 MB / 0.9834 GB Notification: Performance of Templates: time 2.864/10.13, allocations: 0.6734 GB / 3.214 GB, free: 181.8 MB / 1.03 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches