Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.100..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|x.100.|x.1.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100") translateModel(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.100..|der.x.1..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|x.100.|x.1.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 180.3 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009115/0.0009114, allocations: 94.02 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7484/0.7484, allocations: 120.5 MB / 463.1 MB, free: 8.727 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004017, allocations: 8 kB / 0.5446 GB, free: 41.17 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1506, allocations: 82.85 MB / 0.6255 GB, free: 7.91 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8147/0.9653, allocations: 125.2 MB / 0.7478 GB, free: 8.875 MB / 0.5106 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000136/0.9655, allocations: 50.72 kB / 0.7479 GB, free: 8.852 MB / 0.5106 GB Notification: Performance of FrontEnd - DAE generated: time 0.02151/0.987, allocations: 6.116 MB / 0.7539 GB, free: 3.473 MB / 0.5106 GB Notification: Performance of FrontEnd: time 1.954e-06/0.9871, allocations: 0 / 0.7539 GB, free: 3.473 MB / 0.5106 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.9871, allocations: 4 kB / 0.7539 GB, free: 3.469 MB / 0.5106 GB 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.001736/0.9889, allocations: 0.8507 MB / 0.7547 GB, free: 2.59 MB / 0.5106 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.9889, allocations: 12.03 kB / 0.7547 GB, free: 2.578 MB / 0.5106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.9891, allocations: 45.77 kB / 0.7547 GB, free: 2.539 MB / 0.5106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.9895, allocations: 278.5 kB / 0.755 GB, free: 2.227 MB / 0.5106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.9896, allocations: 28.38 kB / 0.755 GB, free: 2.211 MB / 0.5106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.9897, allocations: 87.61 kB / 0.7551 GB, free: 2.148 MB / 0.5106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008407/0.9906, allocations: 0.5168 MB / 0.7556 GB, free: 1.727 MB / 0.5106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.9906, allocations: 0 / 0.7556 GB, free: 1.727 MB / 0.5106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/0.9907, allocations: 15.12 kB / 0.7556 GB, free: 1.723 MB / 0.5106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.9907, allocations: 11.95 kB / 0.7556 GB, free: 1.711 MB / 0.5106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.9911, allocations: 307.5 kB / 0.7559 GB, free: 1.48 MB / 0.5106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.9929, allocations: 1.047 MB / 0.757 GB, free: 0.5039 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.9943, allocations: 1.095 MB / 0.758 GB, free: 15.69 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.9943, allocations: 17 kB / 0.758 GB, free: 15.68 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.9944, allocations: 43.38 kB / 0.7581 GB, free: 15.63 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=100): time 2.164e-06/0.9944, allocations: 0 / 0.7581 GB, free: 15.63 MB / 0.5263 GB Notification: Performance of matching and sorting (n=100): time 0.001558/0.9959, allocations: 1.16 MB / 0.7592 GB, free: 14.74 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.996, allocations: 68.28 kB / 0.7593 GB, free: 14.66 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.396e-05/0.9961, allocations: 92.94 kB / 0.7594 GB, free: 14.57 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 5.013e-05/0.9961, allocations: 41.39 kB / 0.7594 GB, free: 14.53 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.9962, allocations: 93.94 kB / 0.7595 GB, free: 14.44 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/0.9965, allocations: 486.4 kB / 0.76 GB, free: 14.03 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.9965, allocations: 34.19 kB / 0.76 GB, free: 14.02 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.9966, allocations: 377.6 kB / 0.7604 GB, free: 13.67 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007252/0.9974, allocations: 0.5846 MB / 0.7609 GB, free: 13.23 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007895/0.9982, allocations: 0.7033 MB / 0.7616 GB, free: 12.69 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008416/0.999, allocations: 0.7274 MB / 0.7623 GB, free: 12.17 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.999, allocations: 0 / 0.7623 GB, free: 12.17 MB / 0.5263 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.001862/1.001, allocations: 1.598 MB / 0.7639 GB, free: 10.96 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.001, allocations: 8 kB / 0.7639 GB, free: 10.95 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.001, allocations: 0 / 0.7639 GB, free: 10.95 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/1.001, allocations: 8 kB / 0.7639 GB, free: 10.94 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/1.003, allocations: 0.5108 MB / 0.7644 GB, free: 10.44 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/1.003, allocations: 8 kB / 0.7644 GB, free: 10.43 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/1.003, allocations: 157.2 kB / 0.7646 GB, free: 10.3 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.529e-05/1.003, allocations: 47.69 kB / 0.7646 GB, free: 10.27 MB / 0.5263 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002149/1.003, allocations: 216.2 kB / 0.7648 GB, free: 10.09 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.187e-05/1.003, allocations: 35.62 kB / 0.7648 GB, free: 10.05 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/1.004, allocations: 84.23 kB / 0.7649 GB, free: 10.04 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/1.004, allocations: 12 kB / 0.7649 GB, free: 10.03 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/1.004, allocations: 7.953 kB / 0.7649 GB, free: 10.02 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/1.004, allocations: 3.984 kB / 0.765 GB, free: 10.02 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000705/1.004, allocations: 0.5543 MB / 0.7655 GB, free: 9.484 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.004, allocations: 0 / 0.7655 GB, free: 9.484 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0025/1.007, allocations: 0.5142 MB / 0.766 GB, free: 8.984 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/1.007, allocations: 4 kB / 0.766 GB, free: 8.98 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.734e-05/1.007, allocations: 60.42 kB / 0.7661 GB, free: 8.934 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/1.007, allocations: 4 kB / 0.7661 GB, free: 8.93 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.007, allocations: 0 / 0.7661 GB, free: 8.93 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/1.008, allocations: 1.356 MB / 0.7674 GB, free: 7.836 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/1.009, allocations: 124.5 kB / 0.7675 GB, free: 7.695 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/1.009, allocations: 55.27 kB / 0.7676 GB, free: 7.652 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/1.009, allocations: 67.42 kB / 0.7676 GB, free: 7.598 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/1.009, allocations: 60.72 kB / 0.7677 GB, free: 7.547 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.834e-05/1.009, allocations: 27.92 kB / 0.7677 GB, free: 7.523 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 4.152e-05/1.009, allocations: 87.08 kB / 0.7678 GB, free: 7.441 MB / 0.5263 GB Notification: Performance of sort global known variables: time 4.789e-06/1.009, allocations: 0 / 0.7678 GB, free: 7.441 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0004497/1.01, allocations: 222.6 kB / 0.768 GB, free: 7.262 MB / 0.5263 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002237/1.01, allocations: 173.3 kB / 0.7682 GB, free: 7.102 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.001451/1.011, allocations: 1.187 MB / 0.7693 GB, free: 6.176 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.011, allocations: 0 / 0.7693 GB, free: 6.176 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0005034/1.012, allocations: 445.5 kB / 0.7697 GB, free: 5.828 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/1.012, allocations: 23.56 kB / 0.7698 GB, free: 5.816 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/1.015, allocations: 2.903 MB / 0.7726 GB, free: 2.957 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/1.015, allocations: 0.9219 MB / 0.7735 GB, free: 2.008 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0007316/1.016, allocations: 393.1 kB / 0.7739 GB, free: 1.621 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/1.016, allocations: 51.44 kB / 0.7739 GB, free: 1.57 MB / 0.5263 GB Notification: Performance of SimCode: time 1.202e-06/1.016, allocations: 4 kB / 0.7739 GB, free: 1.566 MB / 0.5263 GB Notification: Performance of Templates: time 0.009404/1.025, allocations: 5.661 MB / 0.7795 GB, free: 11.94 MB / 0.5419 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches