Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9579/0.9579, allocations: 177.1 MB / 205 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.6918/0.6918, allocations: 88.07 MB / 349.6 MB, free: 14.29 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.x.[0-9,]+..|time|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100") translateModel(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="der.x.[0-9,]+..|time|x.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.306e-06/3.306e-06, allocations: 3.281 kB / 453.2 MB, free: 32.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.82e-05/4.151e-05, allocations: 2.312 kB / 453.2 MB, free: 32.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.002137/0.002178, allocations: 1.233 MB / 454.4 MB, free: 31.54 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0002195/0.002398, allocations: 17.02 kB / 454.4 MB, free: 31.54 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.002449, allocations: 4 kB / 454.4 MB, free: 31.53 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.002584, allocations: 3.938 kB / 454.4 MB, free: 31.53 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 5.654e-05/0.00264, allocations: 3.984 kB / 454.4 MB, free: 31.52 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.002885, allocations: 10 kB / 454.5 MB, free: 31.52 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004894/0.003375, allocations: 0.4977 MB / 455 MB, free: 31.39 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.163e-05/0.003436, allocations: 6.906 kB / 455 MB, free: 31.39 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.003648, allocations: 219.7 kB / 455.2 MB, free: 31.32 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.003896, allocations: 193.1 kB / 455.4 MB, free: 31.28 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 6.57e-05/0.003962, allocations: 26.06 kB / 455.4 MB, free: 31.28 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.512e-05/0.004007, allocations: 23.34 kB / 455.4 MB, free: 31.28 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.004173, allocations: 173 kB / 455.6 MB, free: 31.21 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.004319, allocations: 151.2 kB / 455.7 MB, free: 31.15 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.004622, allocations: 357 kB / 456.1 MB, free: 31.06 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.004625, allocations: 0 / 456.1 MB, free: 31.06 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.886e-06/0.004628, allocations: 3.062 kB / 456.1 MB, free: 31.06 MB / 410.8 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.004636, allocations: 0 / 456.1 MB, free: 31.06 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001041/0.005677, allocations: 0.9343 MB / 457 MB, free: 30.52 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.005716, allocations: 8.156 kB / 457 MB, free: 30.52 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.689e-05/0.005813, allocations: 72.34 kB / 457.1 MB, free: 30.49 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.00604, allocations: 206 kB / 457.3 MB, free: 30.34 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.006063, allocations: 38.62 kB / 457.3 MB, free: 30.32 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.012e-05/0.006153, allocations: 86.19 kB / 457.4 MB, free: 30.28 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003738/0.006526, allocations: 348.1 kB / 457.8 MB, free: 30.18 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.006537, allocations: 4.188 kB / 457.8 MB, free: 30.18 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.006565, allocations: 18.09 kB / 457.8 MB, free: 30.16 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.006577, allocations: 8.844 kB / 457.8 MB, free: 30.16 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.006772, allocations: 154.3 kB / 457.9 MB, free: 30.14 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008765/0.007649, allocations: 0.7122 MB / 458.6 MB, free: 29.71 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006813/0.00833, allocations: 0.6471 MB / 459.3 MB, free: 29.55 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.008541, allocations: 183.7 kB / 459.5 MB, free: 29.51 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.008576, allocations: 18.16 kB / 459.5 MB, free: 29.51 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.008598, allocations: 45.05 kB / 459.5 MB, free: 29.46 MB / 410.8 MB Notification: Performance of pre-optimization done (n=100): time 2.535e-06/0.008601, allocations: 0 / 459.5 MB, free: 29.46 MB / 410.8 MB Notification: Performance of matching and sorting (n=100): time 0.0008616/0.009462, allocations: 0.7536 MB / 460.3 MB, free: 29.25 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.00949, allocations: 65 kB / 460.4 MB, free: 29.18 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.11e-05/0.009551, allocations: 163 kB / 460.5 MB, free: 29.02 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.009573, allocations: 40.7 kB / 460.6 MB, free: 28.97 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.009608, allocations: 131.7 kB / 460.7 MB, free: 28.84 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.009786, allocations: 0.5133 MB / 461.2 MB, free: 28.44 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.009962, allocations: 258.1 kB / 461.4 MB, free: 28.3 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.01001, allocations: 491.4 kB / 461.9 MB, free: 27.82 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.01027, allocations: 209.7 kB / 462.1 MB, free: 27.79 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.01061, allocations: 369 kB / 462.5 MB, free: 27.68 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006033/0.01122, allocations: 0.578 MB / 463.1 MB, free: 27.46 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.01122, allocations: 4 kB / 463.1 MB, free: 27.46 MB / 410.8 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.0008582/0.01208, allocations: 0.9132 MB / 464 MB, free: 27.17 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.0121, allocations: 5.688 kB / 464 MB, free: 27.17 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.01211, allocations: 3.938 kB / 464 MB, free: 27.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.01213, allocations: 8.812 kB / 464 MB, free: 27.16 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008585/0.01299, allocations: 0.5106 MB / 464.5 MB, free: 27.12 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.013, allocations: 7.594 kB / 464.5 MB, free: 27.12 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.01319, allocations: 157.5 kB / 464.7 MB, free: 27.02 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.01323, allocations: 43.34 kB / 464.7 MB, free: 27.01 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (201): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * 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.0001037/0.01333, allocations: 224.9 kB / 464.9 MB, free: 26.79 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.65e-05/0.01341, allocations: 71.2 kB / 465 MB, free: 26.76 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.261e-05/0.01348, allocations: 94.33 kB / 465.1 MB, free: 26.67 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.01349, allocations: 9 kB / 465.1 MB, free: 26.67 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.01349, allocations: 0 / 465.1 MB, free: 26.67 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.0135, allocations: 6.703 kB / 465.1 MB, free: 26.67 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.01381, allocations: 319.4 kB / 465.4 MB, free: 26.43 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01381, allocations: 0 / 465.4 MB, free: 26.43 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/0.01511, allocations: 0.5126 MB / 465.9 MB, free: 26.39 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.01512, allocations: 2.906 kB / 465.9 MB, free: 26.39 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-05/0.01519, allocations: 57.27 kB / 466 MB, free: 26.38 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.01519, allocations: 9 kB / 466 MB, free: 26.38 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01519, allocations: 0 / 466 MB, free: 26.38 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008862/0.01608, allocations: 1.095 MB / 467.1 MB, free: 25.93 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.01611, allocations: 48.64 kB / 467.2 MB, free: 25.89 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.965e-05/0.01618, allocations: 49.08 kB / 467.2 MB, free: 25.88 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.01637, allocations: 68.86 kB / 467.3 MB, free: 25.85 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.01644, allocations: 66 kB / 467.3 MB, free: 25.84 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.01647, allocations: 25.56 kB / 467.4 MB, free: 25.84 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.162e-05/0.01649, allocations: 139.8 kB / 467.5 MB, free: 25.71 MB / 410.8 MB Notification: Performance of sort global known variables: time 4e-08/0.01649, allocations: 0 / 467.5 MB, free: 25.71 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002732/0.01676, allocations: 209.2 kB / 467.7 MB, free: 25.68 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 100 (x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40],x[41],x[42],x[43],x[44],x[45],x[46],x[47],x[48],x[49],x[50],x[51],x[52],x[53],x[54],x[55],x[56],x[57],x[58],x[59],x[60],x[61],x[62],x[63],x[64],x[65],x[66],x[67],x[68],x[69],x[70],x[71],x[72],x[73],x[74],x[75],x[76],x[77],x[78],x[79],x[80],x[81],x[82],x[83],x[84],x[85],x[86],x[87],x[88],x[89],x[90],x[91],x[92],x[93],x[94],x[95],x[96],x[97],x[98],x[99],x[100]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * 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.0001303/0.01689, allocations: 172.4 kB / 467.9 MB, free: 25.55 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0006511/0.01754, allocations: 0.6776 MB / 468.5 MB, free: 25.42 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.01755, allocations: 2.531 kB / 468.5 MB, free: 25.42 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.01781, allocations: 321 kB / 468.9 MB, free: 25.34 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.01804, allocations: 46.34 kB / 468.9 MB, free: 25.31 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.01925, allocations: 1.82 MB / 470.7 MB, free: 24.32 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.18e-05/0.01933, allocations: 179.6 kB / 470.9 MB, free: 24.25 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0003053/0.01963, allocations: 310 kB / 471.2 MB, free: 24.18 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.01977, allocations: 53.88 kB / 471.3 MB, free: 24.18 MB / 410.8 MB Notification: Performance of SimCode: time 1.102e-06/0.01977, allocations: 0 / 471.3 MB, free: 24.18 MB / 410.8 MB Notification: Performance of Templates: time 0.007747/0.02751, allocations: 6.063 MB / 477.3 MB, free: 23.57 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100 -s=ida -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.214822330977768]