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.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_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_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.001135/0.001139, allocations: 106.6 kB / 16.92 MB, free: 6.145 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.001158/0.001158, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.275/1.275, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.005/1.005, allocations: 119.3 MB / 411 MB, free: 9.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.91 kB / 0.4923 GB, free: 12.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5208/0.5222, allocations: 80.67 MB / 0.5711 GB, free: 44.02 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.001994/0.5242, allocations: 1.181 MB / 0.5722 GB, free: 43.07 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001399/0.5244, allocations: 34.67 kB / 0.5723 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.763e-05/0.5244, allocations: 0 / 0.5723 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 8.597e-05/0.5245, allocations: 0 / 0.5723 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.826e-05/0.5245, allocations: 0 / 0.5723 GB, free: 43.05 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.5247, allocations: 14.83 kB / 0.5723 GB, free: 43.04 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003758/0.525, allocations: 497 kB / 0.5728 GB, free: 42.79 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.128e-05/0.5251, allocations: 10.36 kB / 0.5728 GB, free: 42.78 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.5252, allocations: 170 kB / 0.5729 GB, free: 42.71 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002347/0.5255, allocations: 205.6 kB / 0.5731 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.498e-05/0.5256, allocations: 25.69 kB / 0.5732 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.686e-05/0.5256, allocations: 29.56 kB / 0.5732 GB, free: 42.59 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.5257, allocations: 169.3 kB / 0.5733 GB, free: 42.48 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.5259, allocations: 183.1 kB / 0.5735 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.5262, allocations: 330.9 kB / 0.5738 GB, free: 42.19 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.5262, allocations: 0 / 0.5738 GB, free: 42.19 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.195e-06/0.5262, allocations: 1.125 kB / 0.5738 GB, free: 42.19 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.5262, allocations: 0 / 0.5738 GB, free: 42.19 MB / 462.3 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.001677/0.5279, allocations: 0.8937 MB / 0.5747 GB, free: 41.53 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.5279, allocations: 12.73 kB / 0.5747 GB, free: 41.52 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.528, allocations: 43.75 kB / 0.5748 GB, free: 41.5 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.5284, allocations: 269 kB / 0.575 GB, free: 41.26 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.5284, allocations: 38.34 kB / 0.5751 GB, free: 41.23 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.5285, allocations: 85.08 kB / 0.5751 GB, free: 41.19 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007519/0.5293, allocations: 0.523 MB / 0.5757 GB, free: 40.89 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.5293, allocations: 4.125 kB / 0.5757 GB, free: 40.88 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/0.5294, allocations: 19.97 kB / 0.5757 GB, free: 40.87 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.5294, allocations: 9.5 kB / 0.5757 GB, free: 40.87 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004669/0.5299, allocations: 303 kB / 0.576 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.5316, allocations: 1.049 MB / 0.577 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.5333, allocations: 1.102 MB / 0.5781 GB, free: 39.57 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004837/0.5338, allocations: 354.3 kB / 0.5784 GB, free: 39.41 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.5338, allocations: 11.09 kB / 0.5784 GB, free: 39.41 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.5338, allocations: 47.38 kB / 0.5785 GB, free: 39.36 MB / 462.3 MB Notification: Performance of pre-optimization done (n=100): time 2.494e-06/0.5338, allocations: 0 / 0.5785 GB, free: 39.36 MB / 462.3 MB Notification: Performance of matching and sorting (n=100): time 0.001728/0.5356, allocations: 1.148 MB / 0.5796 GB, free: 38.83 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.5356, allocations: 70.48 kB / 0.5797 GB, free: 38.76 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.018e-05/0.5357, allocations: 102.8 kB / 0.5798 GB, free: 38.66 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.5358, allocations: 41.48 kB / 0.5798 GB, free: 38.61 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.5358, allocations: 87.33 kB / 0.5799 GB, free: 38.53 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.5361, allocations: 482 kB / 0.5803 GB, free: 38.11 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000323/0.5364, allocations: 248.3 kB / 0.5806 GB, free: 37.97 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.696e-05/0.5365, allocations: 307.2 kB / 0.5809 GB, free: 37.66 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008835/0.5374, allocations: 0.5993 MB / 0.5815 GB, free: 37.39 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008966/0.5383, allocations: 0.7197 MB / 0.5822 GB, free: 37.04 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/0.5404, allocations: 1.233 MB / 0.5834 GB, free: 36.46 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.5404, allocations: 0 / 0.5834 GB, free: 36.46 MB / 462.3 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002445/0.5429, allocations: 1.616 MB / 0.5849 GB, free: 35.24 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.5429, allocations: 7.938 kB / 0.5849 GB, free: 35.23 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.5429, allocations: 0 / 0.5849 GB, free: 35.23 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.659e-05/0.543, allocations: 8 kB / 0.585 GB, free: 35.22 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.5446, allocations: 0.5112 MB / 0.5855 GB, free: 34.71 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.239e-05/0.5446, allocations: 8 kB / 0.5855 GB, free: 34.7 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004239/0.5451, allocations: 154.7 kB / 0.5856 GB, free: 34.55 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.918e-05/0.5451, allocations: 44 kB / 0.5856 GB, free: 34.51 MB / 462.3 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.0002755/0.5454, allocations: 229.3 kB / 0.5859 GB, free: 34.27 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.5455, allocations: 35.62 kB / 0.5859 GB, free: 34.24 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.5457, allocations: 87.61 kB / 0.586 GB, free: 34.15 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.5457, allocations: 8 kB / 0.586 GB, free: 34.14 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.79e-05/0.5458, allocations: 0 / 0.586 GB, free: 34.14 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.5458, allocations: 3.984 kB / 0.586 GB, free: 34.14 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006016/0.5464, allocations: 0.5562 MB / 0.5865 GB, free: 33.53 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.5464, allocations: 0 / 0.5865 GB, free: 33.53 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002243/0.5487, allocations: 0.5152 MB / 0.587 GB, free: 33.02 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.5487, allocations: 4 kB / 0.587 GB, free: 33.01 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.5488, allocations: 63.92 kB / 0.5871 GB, free: 32.95 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.5488, allocations: 4 kB / 0.5871 GB, free: 32.95 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.5488, allocations: 4 kB / 0.5871 GB, free: 32.94 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.5504, allocations: 1.343 MB / 0.5884 GB, free: 31.58 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.5504, allocations: 128.5 kB / 0.5885 GB, free: 31.44 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.5505, allocations: 51.95 kB / 0.5886 GB, free: 31.39 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/0.5509, allocations: 63.92 kB / 0.5887 GB, free: 31.32 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.5511, allocations: 60.91 kB / 0.5887 GB, free: 31.27 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.396e-05/0.5511, allocations: 27.98 kB / 0.5887 GB, free: 31.24 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.712e-05/0.5511, allocations: 83.45 kB / 0.5888 GB, free: 31.16 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5511, allocations: 4 kB / 0.5888 GB, free: 31.15 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004201/0.5516, allocations: 216 kB / 0.589 GB, free: 30.94 MB / 462.3 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.0001887/0.5518, allocations: 174.1 kB / 0.5892 GB, free: 30.76 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.5539, allocations: 1.842 MB / 0.591 GB, free: 28.92 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.5539, allocations: 0 / 0.591 GB, free: 28.92 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004492/0.5544, allocations: 441.4 kB / 0.5914 GB, free: 28.49 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.5547, allocations: 44.56 kB / 0.5915 GB, free: 28.45 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.5567, allocations: 2.561 MB / 0.594 GB, free: 25.85 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.557, allocations: 0.9106 MB / 0.5949 GB, free: 24.91 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005917/0.5576, allocations: 397.1 kB / 0.5952 GB, free: 24.52 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.5578, allocations: 51.44 kB / 0.5953 GB, free: 24.47 MB / 462.3 MB Notification: Performance of SimCode: time 4.41e-07/0.5578, allocations: 0 / 0.5953 GB, free: 24.47 MB / 462.3 MB Notification: Performance of Templates: time 0.007948/0.5657, allocations: 6.246 MB / 0.6014 GB, free: 18.25 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.makefile (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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches