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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 114.4 kB / 17.74 MB, free: 5.312 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.002077/0.002077, allocations: 189.6 kB / 18.67 MB, free: 4.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.793/2.793, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.997/1.997, allocations: 119.3 MB / 411.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 65.92 kB / 0.5729 GB, free: 38.93 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3779, allocations: 80.69 MB / 0.6517 GB, free: 11.69 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.004737/0.3828, allocations: 1.192 MB / 0.6529 GB, free: 10.49 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002672/0.3831, allocations: 23.89 kB / 0.6529 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.3832, allocations: 3.938 kB / 0.6529 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.3833, allocations: 0 / 0.6529 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 5.503e-05/0.3834, allocations: 7.922 kB / 0.6529 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.3836, allocations: 8 kB / 0.6529 GB, free: 10.45 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0007019/0.3843, allocations: 0.4916 MB / 0.6534 GB, free: 9.953 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.3844, allocations: 4 kB / 0.6534 GB, free: 9.949 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003738/0.3848, allocations: 179.8 kB / 0.6536 GB, free: 9.773 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006304/0.3854, allocations: 195.7 kB / 0.6538 GB, free: 9.582 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0002012/0.3857, allocations: 28 kB / 0.6538 GB, free: 9.555 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.3858, allocations: 24 kB / 0.6538 GB, free: 9.531 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.3861, allocations: 163.6 kB / 0.654 GB, free: 9.371 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0005692/0.3867, allocations: 191.2 kB / 0.6542 GB, free: 9.184 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0006304/0.3873, allocations: 342.7 kB / 0.6545 GB, free: 8.848 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3873, allocations: 0 / 0.6545 GB, free: 8.848 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3874, allocations: 4 kB / 0.6545 GB, free: 8.844 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 3.186e-05/0.3874, allocations: 0 / 0.6545 GB, free: 8.844 MB / 0.4983 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.003374/0.3908, allocations: 0.8899 MB / 0.6554 GB, free: 7.898 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 6.806e-05/0.3909, allocations: 11.89 kB / 0.6554 GB, free: 7.887 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002159/0.3911, allocations: 40.56 kB / 0.6554 GB, free: 7.848 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007874/0.3919, allocations: 275.8 kB / 0.6557 GB, free: 7.539 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.935e-05/0.392, allocations: 29.38 kB / 0.6557 GB, free: 7.512 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003049/0.3923, allocations: 91.98 kB / 0.6558 GB, free: 7.422 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.3939, allocations: 0.5143 MB / 0.6563 GB, free: 6.902 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.3939, allocations: 192 / 0.6563 GB, free: 6.902 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.704e-05/0.394, allocations: 23.94 kB / 0.6563 GB, free: 6.879 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.559e-05/0.3941, allocations: 8 kB / 0.6563 GB, free: 6.871 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009022/0.395, allocations: 307.8 kB / 0.6566 GB, free: 6.57 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00331/0.3983, allocations: 1.056 MB / 0.6576 GB, free: 5.465 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002821/0.4012, allocations: 1.095 MB / 0.6587 GB, free: 4.359 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000928/0.4021, allocations: 355.6 kB / 0.6591 GB, free: 4.012 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 6.437e-05/0.4022, allocations: 9 kB / 0.6591 GB, free: 4.004 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.103e-05/0.4023, allocations: 47.56 kB / 0.6591 GB, free: 3.949 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=100): time 7.424e-06/0.4023, allocations: 3.938 kB / 0.6591 GB, free: 3.945 MB / 0.4983 GB Notification: Performance of matching and sorting (n=100): time 0.003399/0.4057, allocations: 1.159 MB / 0.6602 GB, free: 2.777 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.4058, allocations: 60.41 kB / 0.6603 GB, free: 2.707 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.406, allocations: 97.86 kB / 0.6604 GB, free: 2.602 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 7.59e-05/0.4061, allocations: 41.7 kB / 0.6604 GB, free: 2.555 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.4062, allocations: 82.14 kB / 0.6605 GB, free: 2.469 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007164/0.4069, allocations: 489.3 kB / 0.661 GB, free: 1.984 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006581/0.4076, allocations: 247.6 kB / 0.6612 GB, free: 1.738 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.4078, allocations: 306.6 kB / 0.6615 GB, free: 1.434 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/0.4094, allocations: 0.6011 MB / 0.6621 GB, free: 0.832 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.4113, allocations: 0.7101 MB / 0.6628 GB, free: 116 kB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003263/0.4145, allocations: 1.243 MB / 0.664 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.4146, allocations: 0 / 0.664 GB, free: 14.87 MB / 0.5139 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.004249/0.4188, allocations: 1.609 MB / 0.6656 GB, free: 13.25 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.4189, allocations: 8 kB / 0.6656 GB, free: 13.24 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.4189, allocations: 0 / 0.6656 GB, free: 13.24 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.963e-05/0.419, allocations: 11.94 kB / 0.6656 GB, free: 13.23 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003032/0.422, allocations: 0.5073 MB / 0.6661 GB, free: 12.72 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-05/0.4221, allocations: 11.98 kB / 0.6661 GB, free: 12.71 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009082/0.4231, allocations: 154.8 kB / 0.6662 GB, free: 12.56 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/0.4232, allocations: 44 kB / 0.6663 GB, free: 12.52 MB / 0.5139 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005003/0.4237, allocations: 218.3 kB / 0.6665 GB, free: 12.29 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.424, allocations: 39.53 kB / 0.6665 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.4243, allocations: 83.61 kB / 0.6666 GB, free: 12.17 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/0.4243, allocations: 16 kB / 0.6666 GB, free: 12.16 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.952e-05/0.4244, allocations: 4 kB / 0.6666 GB, free: 12.15 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/0.4244, allocations: 7.969 kB / 0.6666 GB, free: 12.14 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.4258, allocations: 0.5562 MB / 0.6672 GB, free: 11.54 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.4258, allocations: 0 / 0.6672 GB, free: 11.54 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004627/0.4304, allocations: 0.5152 MB / 0.6677 GB, free: 11.02 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.097e-05/0.4305, allocations: 4 kB / 0.6677 GB, free: 11.02 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002805/0.4308, allocations: 59.92 kB / 0.6677 GB, free: 10.96 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.195e-05/0.4308, allocations: 4 kB / 0.6677 GB, free: 10.96 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4308, allocations: 0 / 0.6677 GB, free: 10.96 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00342/0.4343, allocations: 1.351 MB / 0.6691 GB, free: 9.59 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.4345, allocations: 120.5 kB / 0.6692 GB, free: 9.453 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/0.4347, allocations: 59.88 kB / 0.6692 GB, free: 9.395 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007592/0.4355, allocations: 67.88 kB / 0.6693 GB, free: 9.328 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/0.4357, allocations: 60.91 kB / 0.6694 GB, free: 9.27 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.4358, allocations: 27.98 kB / 0.6694 GB, free: 9.242 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 8.201e-05/0.4359, allocations: 83.27 kB / 0.6695 GB, free: 9.16 MB / 0.5139 GB Notification: Performance of sort global known variables: time 3.8e-07/0.4359, allocations: 0 / 0.6695 GB, free: 9.16 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.001034/0.437, allocations: 216 kB / 0.6697 GB, free: 8.949 MB / 0.5139 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 (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.0003997/0.4374, allocations: 174.2 kB / 0.6698 GB, free: 8.77 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.003344/0.4407, allocations: 1.193 MB / 0.671 GB, free: 7.574 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/0.4408, allocations: 0 / 0.671 GB, free: 7.574 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.442, allocations: 445.4 kB / 0.6714 GB, free: 7.137 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006465/0.4427, allocations: 43.59 kB / 0.6715 GB, free: 7.098 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005203/0.4479, allocations: 2.591 MB / 0.674 GB, free: 4.473 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.449, allocations: 0.9221 MB / 0.6749 GB, free: 3.52 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006447/0.4496, allocations: 55.44 kB / 0.675 GB, free: 3.465 MB / 0.5139 GB Notification: Performance of SimCode: time 1.513e-06/0.4497, allocations: 4 kB / 0.675 GB, free: 3.461 MB / 0.5139 GB Notification: Performance of Templates: time 0.02782/0.4775, allocations: 9.419 MB / 0.6842 GB, free: 10.05 MB / 0.5295 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches