Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_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_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_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.001122/0.001122, allocations: 110.1 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.001099/0.001099, allocations: 191.9 kB / 17.43 MB, free: 6.066 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.332/1.332, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.034/1.034, allocations: 119.3 MB / 410.6 MB, free: 9.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001901, allocations: 59.91 kB / 0.4903 GB, free: 14.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6228/0.6247, allocations: 80.68 MB / 0.569 GB, free: 43.47 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.002822/0.6276, allocations: 1.477 MB / 0.5705 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.6287, allocations: 0.5848 MB / 0.5711 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.223e-05/0.6288, allocations: 1.375 kB / 0.5711 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.01092/0.6397, allocations: 13.68 MB / 0.5844 GB, free: 34.14 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.005437/0.6453, allocations: 13.72 MB / 0.5978 GB, free: 20.39 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.6457, allocations: 59.88 kB / 0.5979 GB, free: 20.33 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0192/0.6649, allocations: 34 MB / 0.6311 GB, free: 2.285 MB / 478.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.426e-05/0.665, allocations: 4 kB / 0.6311 GB, free: 2.281 MB / 478.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02271/0.6877, allocations: 16.87 MB / 0.6476 GB, free: 1.375 MB / 494.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03936/0.7271, allocations: 30.3 MB / 0.6771 GB, free: 3.023 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.008133/0.7353, allocations: 1.961 MB / 0.6791 GB, free: 1.066 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007618/0.743, allocations: 2.016 MB / 0.681 GB, free: 15.05 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.6647/1.408, allocations: 79.6 MB / 0.7588 GB, free: 77.16 MB / 0.5923 GB Notification: Performance of NFVerifyModel.verify: time 0.0711/1.479, allocations: 44.94 MB / 0.8027 GB, free: 42.02 MB / 0.5923 GB Notification: Performance of NFConvertDAE.convert: time 0.08813/1.567, allocations: 94.81 MB / 0.8952 GB, free: 6.152 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/1.567, allocations: 0 / 0.8952 GB, free: 6.152 MB / 0.6079 GB Notification: Performance of FrontEnd: time 2.274e-06/1.567, allocations: 0 / 0.8952 GB, free: 6.152 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.006648/1.574, allocations: 0 / 0.8952 GB, free: 6.152 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 1.127/2.7, allocations: 153.9 MB / 1.046 GB, free: 156.8 MB / 0.7334 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/2.701, allocations: 10.66 kB / 1.046 GB, free: 156.8 MB / 0.7334 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0305/2.731, allocations: 17.58 MB / 1.063 GB, free: 151.3 MB / 0.7334 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8511/3.582, allocations: 206 MB / 1.264 GB, free: 14.4 MB / 0.7803 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/3.582, allocations: 5.25 kB / 1.264 GB, free: 14.39 MB / 0.7803 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003734/3.586, allocations: 0.4886 MB / 1.264 GB, free: 13.91 MB / 0.7803 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0143/3.6, allocations: 5.911 MB / 1.27 GB, free: 7.988 MB / 0.7803 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/3.6, allocations: 0 / 1.27 GB, free: 7.988 MB / 0.7803 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001857/3.602, allocations: 0.4921 MB / 1.271 GB, free: 7.496 MB / 0.7803 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/3.602, allocations: 4 kB / 1.271 GB, free: 7.492 MB / 0.7803 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006731/3.609, allocations: 3.437 MB / 1.274 GB, free: 4.059 MB / 0.7803 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1322/3.741, allocations: 54.94 MB / 1.328 GB, free: 13.02 MB / 0.8428 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0128/3.754, allocations: 1.996 MB / 1.33 GB, free: 11.01 MB / 0.8428 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009833/3.764, allocations: 1.977 MB / 1.332 GB, free: 9.031 MB / 0.8428 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/3.764, allocations: 0 / 1.332 GB, free: 9.031 MB / 0.8428 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01308/3.777, allocations: 4.99 MB / 1.336 GB, free: 4.02 MB / 0.8428 GB Notification: Performance of pre-optimization done (n=8): time 5.491e-06/3.777, allocations: 2.062 kB / 1.336 GB, free: 4.02 MB / 0.8428 GB Notification: Performance of matching and sorting (n=8): time 0.05807/3.835, allocations: 32.86 MB / 1.368 GB, free: 2.914 MB / 0.874 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/3.835, allocations: 80.7 kB / 1.369 GB, free: 2.82 MB / 0.874 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8243/4.66, allocations: 198 MB / 1.562 GB, free: 176.6 MB / 0.874 GB Notification: Performance of collectPreVariables (initialization): time 0.003808/4.663, allocations: 0.5173 MB / 1.562 GB, free: 176.1 MB / 0.874 GB Notification: Performance of collectInitialEqns (initialization): time 0.1133/4.777, allocations: 97.77 MB / 1.658 GB, free: 78.32 MB / 0.874 GB Notification: Performance of collectInitialBindings (initialization): time 0.005479/4.782, allocations: 0.5036 MB / 1.658 GB, free: 77.82 MB / 0.874 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006078/4.788, allocations: 3.443 MB / 1.662 GB, free: 74.38 MB / 0.874 GB Notification: Performance of setup shared object (initialization): time 5.014e-05/4.788, allocations: 306 kB / 1.662 GB, free: 74.07 MB / 0.874 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002419/4.791, allocations: 1.973 MB / 1.664 GB, free: 72.1 MB / 0.874 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00235/4.793, allocations: 1.976 MB / 1.666 GB, free: 70.13 MB / 0.874 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005025/4.798, allocations: 4.01 MB / 1.67 GB, free: 66.11 MB / 0.874 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/4.798, allocations: 0 / 1.67 GB, free: 66.11 MB / 0.874 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.04926/4.848, allocations: 30.88 MB / 1.7 GB, free: 44.98 MB / 0.874 GB Notification: Performance of prepare postOptimizeDAE: time 6.117e-05/4.848, allocations: 41.44 kB / 1.7 GB, free: 44.94 MB / 0.874 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/4.848, allocations: 0 / 1.7 GB, free: 44.94 MB / 0.874 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/4.848, allocations: 0 / 1.7 GB, free: 44.94 MB / 0.874 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.777e-05/4.848, allocations: 4 kB / 1.7 GB, free: 44.94 MB / 0.874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/4.848, allocations: 0 / 1.7 GB, free: 44.94 MB / 0.874 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03109/4.879, allocations: 0.4974 MB / 1.701 GB, free: 44.45 MB / 0.874 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01632/4.895, allocations: 6.84 MB / 1.707 GB, free: 37.61 MB / 0.874 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.5086/5.404, allocations: 38.23 MB / 1.745 GB, free: 183.6 MB / 0.874 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03457/5.439, allocations: 18.08 MB / 1.762 GB, free: 183.6 MB / 0.874 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07066/5.509, allocations: 20.44 MB / 1.782 GB, free: 181.8 MB / 0.874 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/5.509, allocations: 0 / 1.782 GB, free: 181.8 MB / 0.874 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/5.509, allocations: 1.344 kB / 1.782 GB, free: 181.8 MB / 0.874 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/5.509, allocations: 5.562 kB / 1.782 GB, free: 181.8 MB / 0.874 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.169/5.678, allocations: 59.83 MB / 1.841 GB, free: 178 MB / 0.874 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/5.678, allocations: 0 / 1.841 GB, free: 178 MB / 0.874 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.816e-05/5.679, allocations: 3.438 kB / 1.841 GB, free: 178 MB / 0.874 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/5.679, allocations: 0 / 1.841 GB, free: 178 MB / 0.874 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006875/5.685, allocations: 1.476 MB / 1.842 GB, free: 178 MB / 0.874 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/5.685, allocations: 0 / 1.842 GB, free: 178 MB / 0.874 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/5.685, allocations: 3.938 kB / 1.842 GB, free: 178 MB / 0.874 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07804/5.764, allocations: 32.1 MB / 1.873 GB, free: 176.8 MB / 0.874 GB Notification: Performance of postOpt removeConstants (simulation): time 0.05412/5.818, allocations: 15.23 MB / 1.888 GB, free: 166.7 MB / 0.874 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03101/5.849, allocations: 0.4936 MB / 1.889 GB, free: 166.7 MB / 0.874 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03321/5.882, allocations: 0.4931 MB / 1.889 GB, free: 166.7 MB / 0.874 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/5.882, allocations: 13.02 kB / 1.889 GB, free: 166.7 MB / 0.874 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01414/5.896, allocations: 6.84 MB / 1.896 GB, free: 166.7 MB / 0.874 GB Notification: Performance of sorting global known variables: time 0.3407/6.237, allocations: 137.9 MB / 2.031 GB, free: 63.55 MB / 0.874 GB Notification: Performance of sort global known variables: time 2.034e-06/6.237, allocations: 0 / 2.031 GB, free: 63.55 MB / 0.874 GB Notification: Performance of remove unused functions: time 0.02961/6.267, allocations: 4.919 MB / 2.035 GB, free: 58.64 MB / 0.874 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.003653/6.27, allocations: 0.6142 MB / 2.036 GB, free: 58.03 MB / 0.874 GB Notification: Performance of simCode: created initialization part: time 0.01457/6.285, allocations: 4.535 MB / 2.04 GB, free: 53.53 MB / 0.874 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/6.285, allocations: 2.438 kB / 2.04 GB, free: 53.53 MB / 0.874 GB Notification: Performance of simCode: created simulation system equations: time 0.003561/6.288, allocations: 2.549 MB / 2.043 GB, free: 50.99 MB / 0.874 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1089/6.397, allocations: 13.48 MB / 2.056 GB, free: 45.32 MB / 0.874 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9732/7.371, allocations: 328.8 MB / 2.377 GB, free: 68.84 MB / 0.874 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6232/7.994, allocations: 68.46 MB / 2.444 GB, free: 165.4 MB / 0.874 GB Notification: Performance of simCode: alias equations: time 0.1351/8.129, allocations: 37.44 MB / 2.481 GB, free: 157.8 MB / 0.874 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02525/8.154, allocations: 7.823 MB / 2.488 GB, free: 157.8 MB / 0.874 GB Notification: Performance of SimCode: time 1.192e-06/8.154, allocations: 2 kB / 2.488 GB, free: 157.8 MB / 0.874 GB Notification: Performance of Templates: time 2.597/10.75, allocations: 0.6626 GB / 3.151 GB, free: 245 MB / 0.9522 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches