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.001357/0.001357, allocations: 111.3 kB / 17.06 MB, free: 6.098 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.001609/0.001609, allocations: 200.1 kB / 18 MB, free: 5.168 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.645/1.645, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.168/1.168, allocations: 119.3 MB / 411.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 62.86 kB / 0.5709 GB, free: 39.75 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1858, allocations: 80.69 MB / 0.6497 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.003609/0.1895, allocations: 1.406 MB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1907, allocations: 0.5691 MB / 0.6517 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.387e-05/0.1908, allocations: 0 / 0.6517 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.009181/0.2, allocations: 13.68 MB / 0.665 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.2106, allocations: 13.72 MB / 0.6784 GB, free: 15.6 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006077/0.2113, allocations: 85.97 kB / 0.6785 GB, free: 15.52 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.0259/0.2372, allocations: 34 MB / 0.7117 GB, free: 13.47 MB / 0.5608 GB Notification: Performance of NFFlatten.resolveConnections: time 7.463e-05/0.2373, allocations: 4 kB / 0.7117 GB, free: 13.46 MB / 0.5608 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03176/0.2691, allocations: 16.89 MB / 0.7282 GB, free: 12.55 MB / 0.5764 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05018/0.3193, allocations: 32.24 MB / 0.7597 GB, free: 12.26 MB / 0.6077 GB Notification: Performance of NFPackage.collectConstants: time 0.0117/0.3311, allocations: 1.961 MB / 0.7616 GB, free: 10.3 MB / 0.6077 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01144/0.3426, allocations: 2.031 MB / 0.7636 GB, free: 8.266 MB / 0.6077 GB Notification: Performance of NFScalarize.scalarize: time 0.9135/1.256, allocations: 79.6 MB / 0.8413 GB, free: 40.41 MB / 0.6079 GB Notification: Performance of NFVerifyModel.verify: time 0.0763/1.333, allocations: 44.94 MB / 0.8852 GB, free: 15.16 MB / 0.6235 GB Notification: Performance of NFConvertDAE.convert: time 0.1509/1.484, allocations: 99.69 MB / 0.9826 GB, free: 10.79 MB / 0.7173 GB Notification: Performance of FrontEnd - DAE generated: time 1.318e-05/1.484, allocations: 4 kB / 0.9826 GB, free: 10.79 MB / 0.7173 GB Notification: Performance of FrontEnd: time 3.126e-06/1.484, allocations: 0 / 0.9826 GB, free: 10.79 MB / 0.7173 GB Notification: Performance of Transformations before backend: time 0.006336/1.49, allocations: 0 / 0.9826 GB, free: 10.79 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.324/2.814, allocations: 160.7 MB / 1.14 GB, free: 118.5 MB / 0.7959 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/2.814, allocations: 12.02 kB / 1.14 GB, free: 118.4 MB / 0.7959 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04397/2.858, allocations: 18.56 MB / 1.158 GB, free: 99.75 MB / 0.7959 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9375/3.796, allocations: 208.9 MB / 1.362 GB, free: 10.97 MB / 0.9053 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/3.796, allocations: 4.375 kB / 1.362 GB, free: 10.96 MB / 0.9053 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00497/3.801, allocations: 0.4938 MB / 1.362 GB, free: 10.47 MB / 0.9053 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02105/3.822, allocations: 5.906 MB / 1.368 GB, free: 4.559 MB / 0.9053 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/3.822, allocations: 8.875 kB / 1.368 GB, free: 4.555 MB / 0.9053 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003299/3.825, allocations: 0.4905 MB / 1.368 GB, free: 4.066 MB / 0.9053 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/3.825, allocations: 0 / 1.368 GB, free: 4.066 MB / 0.9053 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/3.836, allocations: 3.441 MB / 1.372 GB, free: 0.625 MB / 0.9053 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1529/3.989, allocations: 54.94 MB / 1.425 GB, free: 9.582 MB / 0.9678 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/4, allocations: 1.991 MB / 1.427 GB, free: 7.586 MB / 0.9678 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01064/4.01, allocations: 1.985 MB / 1.429 GB, free: 5.598 MB / 0.9678 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/4.01, allocations: 2 kB / 1.429 GB, free: 5.598 MB / 0.9678 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01806/4.028, allocations: 4.977 MB / 1.434 GB, free: 0.5977 MB / 0.9678 GB Notification: Performance of pre-optimization done (n=8): time 5.971e-06/4.029, allocations: 0 / 1.434 GB, free: 0.5977 MB / 0.9678 GB Notification: Performance of matching and sorting (n=8): time 0.7643/4.793, allocations: 33.84 MB / 1.467 GB, free: 316.1 MB / 0.9834 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/4.793, allocations: 79.67 kB / 1.467 GB, free: 316 MB / 0.9834 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.428/5.221, allocations: 198 MB / 1.661 GB, free: 194.4 MB / 0.9834 GB Notification: Performance of collectPreVariables (initialization): time 0.003854/5.225, allocations: 0.5134 MB / 1.661 GB, free: 193.8 MB / 0.9834 GB Notification: Performance of collectInitialEqns (initialization): time 0.1023/5.327, allocations: 97.77 MB / 1.757 GB, free: 96.04 MB / 0.9834 GB Notification: Performance of collectInitialBindings (initialization): time 0.004597/5.332, allocations: 0.4999 MB / 1.757 GB, free: 95.55 MB / 0.9834 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01197/5.344, allocations: 3.439 MB / 1.761 GB, free: 92.1 MB / 0.9834 GB Notification: Performance of setup shared object (initialization): time 6.45e-05/5.344, allocations: 318 kB / 1.761 GB, free: 91.79 MB / 0.9834 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008539/5.352, allocations: 1.969 MB / 1.763 GB, free: 89.82 MB / 0.9834 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008677/5.361, allocations: 1.974 MB / 1.765 GB, free: 87.85 MB / 0.9834 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01978/5.381, allocations: 4.004 MB / 1.769 GB, free: 83.83 MB / 0.9834 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/5.381, allocations: 3.469 kB / 1.769 GB, free: 83.83 MB / 0.9834 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.1057/5.487, allocations: 31.87 MB / 1.8 GB, free: 62.7 MB / 0.9834 GB Notification: Performance of prepare postOptimizeDAE: time 6.774e-05/5.487, allocations: 35.12 kB / 1.8 GB, free: 62.66 MB / 0.9834 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/5.487, allocations: 3.625 kB / 1.8 GB, free: 62.66 MB / 0.9834 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/5.487, allocations: 5.062 kB / 1.8 GB, free: 62.66 MB / 0.9834 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/5.487, allocations: 4 kB / 1.8 GB, free: 62.65 MB / 0.9834 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/5.487, allocations: 0.75 kB / 1.8 GB, free: 62.65 MB / 0.9834 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04206/5.529, allocations: 0.4938 MB / 1.8 GB, free: 62.16 MB / 0.9834 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01771/5.547, allocations: 6.836 MB / 1.807 GB, free: 55.32 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.05446/5.601, allocations: 38.25 MB / 1.844 GB, free: 17.04 MB / 0.9834 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.7178/6.319, allocations: 19.05 MB / 1.863 GB, free: 315.8 MB / 0.9834 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0641/6.383, allocations: 20.43 MB / 1.883 GB, free: 310.6 MB / 0.9834 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/6.383, allocations: 3.5 kB / 1.883 GB, free: 310.6 MB / 0.9834 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/6.383, allocations: 0 / 1.883 GB, free: 310.6 MB / 0.9834 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/6.383, allocations: 5.453 kB / 1.883 GB, free: 310.6 MB / 0.9834 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1687/6.552, allocations: 59.83 MB / 1.941 GB, free: 285 MB / 0.9834 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/6.552, allocations: 0.5156 kB / 1.941 GB, free: 285 MB / 0.9834 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-05/6.552, allocations: 3.438 kB / 1.941 GB, free: 285 MB / 0.9834 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/6.552, allocations: 0 / 1.941 GB, free: 285 MB / 0.9834 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005821/6.558, allocations: 1.47 MB / 1.943 GB, free: 285 MB / 0.9834 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/6.558, allocations: 0 / 1.943 GB, free: 285 MB / 0.9834 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/6.558, allocations: 0 / 1.943 GB, free: 285 MB / 0.9834 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09337/6.652, allocations: 33.08 MB / 1.975 GB, free: 283.7 MB / 0.9834 GB Notification: Performance of postOpt removeConstants (simulation): time 0.06699/6.719, allocations: 16.21 MB / 1.991 GB, free: 283.5 MB / 0.9834 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03779/6.756, allocations: 0.4903 MB / 1.991 GB, free: 283.5 MB / 0.9834 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04491/6.801, allocations: 0.4954 MB / 1.992 GB, free: 283.5 MB / 0.9834 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/6.802, allocations: 8.5 kB / 1.992 GB, free: 283.5 MB / 0.9834 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01396/6.815, allocations: 6.843 MB / 1.999 GB, free: 281.1 MB / 0.9834 GB Notification: Performance of sorting global known variables: time 0.3565/7.172, allocations: 137.9 MB / 2.133 GB, free: 144.5 MB / 0.9834 GB Notification: Performance of sort global known variables: time 8.82e-07/7.172, allocations: 0 / 2.133 GB, free: 144.5 MB / 0.9834 GB Notification: Performance of remove unused functions: time 0.03314/7.205, allocations: 4.919 MB / 2.138 GB, free: 139.6 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.004124/7.209, allocations: 0.6163 MB / 2.139 GB, free: 139 MB / 0.9834 GB Notification: Performance of simCode: created initialization part: time 0.01151/7.221, allocations: 4.531 MB / 2.143 GB, free: 134.4 MB / 0.9834 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/7.221, allocations: 2.781 kB / 2.143 GB, free: 134.4 MB / 0.9834 GB Notification: Performance of simCode: created simulation system equations: time 0.003465/7.224, allocations: 2.547 MB / 2.146 GB, free: 131.9 MB / 0.9834 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1806/7.405, allocations: 13.49 MB / 2.159 GB, free: 118.4 MB / 0.9834 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.107/8.512, allocations: 298.5 MB / 2.45 GB, free: 196.3 MB / 0.9834 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1555/8.668, allocations: 68.46 MB / 2.517 GB, free: 133.2 MB / 0.9834 GB Notification: Performance of simCode: alias equations: time 0.1081/8.776, allocations: 37.27 MB / 2.553 GB, free: 95.86 MB / 0.9834 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02056/8.796, allocations: 7.82 MB / 2.561 GB, free: 88.04 MB / 0.9834 GB Notification: Performance of SimCode: time 1.412e-06/8.797, allocations: 4 kB / 2.561 GB, free: 88.04 MB / 0.9834 GB Notification: Performance of Templates: time 2.975/11.77, allocations: 0.6734 GB / 3.235 GB, free: 150.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000_res.mat","/var/lib/jenkins1/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