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: "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_100",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_100",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 115 kB / 16.63 MB, free: 6.812 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.001125/0.001125, allocations: 186 kB / 17.55 MB, free: 5.934 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.187/1.187, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7908/0.7908, allocations: 119.3 MB / 410.7 MB, free: 9.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 55.91 kB / 0.4919 GB, free: 12.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4048, allocations: 80.69 MB / 0.5707 GB, free: 43.88 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.001808/0.4066, allocations: 1.25 MB / 0.5719 GB, free: 42.89 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001271/0.4068, allocations: 21.27 kB / 0.5719 GB, free: 42.88 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.4068, allocations: 3.938 kB / 0.5719 GB, free: 42.87 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.541e-05/0.4069, allocations: 1.094 kB / 0.5719 GB, free: 42.87 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.268e-05/0.4069, allocations: 0 / 0.5719 GB, free: 42.87 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001134/0.407, allocations: 11.02 kB / 0.5719 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003508/0.4074, allocations: 0.4965 MB / 0.5724 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.062e-05/0.4074, allocations: 3.719 kB / 0.5724 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.4076, allocations: 170.4 kB / 0.5726 GB, free: 42.54 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.4078, allocations: 198.7 kB / 0.5728 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.572e-05/0.4078, allocations: 25.09 kB / 0.5728 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.376e-05/0.4079, allocations: 25.22 kB / 0.5728 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.408, allocations: 170 kB / 0.573 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.4081, allocations: 182.3 kB / 0.5732 GB, free: 42.2 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.4084, allocations: 335.4 kB / 0.5735 GB, free: 42.02 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4084, allocations: 0 / 0.5735 GB, free: 42.02 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4084, allocations: 0 / 0.5735 GB, free: 42.02 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.4084, allocations: 5.125 kB / 0.5735 GB, free: 42.01 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.001506/0.4099, allocations: 0.8936 MB / 0.5743 GB, free: 41.35 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.4099, allocations: 13.33 kB / 0.5744 GB, free: 41.35 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.965e-05/0.41, allocations: 86.66 kB / 0.5744 GB, free: 41.27 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.666e-05/0.4101, allocations: 42.78 kB / 0.5745 GB, free: 41.25 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.4104, allocations: 274.1 kB / 0.5747 GB, free: 41 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.4104, allocations: 28.69 kB / 0.5748 GB, free: 40.98 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.4105, allocations: 85.98 kB / 0.5749 GB, free: 40.94 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.4112, allocations: 0.5151 MB / 0.5754 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4112, allocations: 5.031 kB / 0.5754 GB, free: 40.64 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.4112, allocations: 23.44 kB / 0.5754 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.4113, allocations: 8.781 kB / 0.5754 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.4117, allocations: 303.2 kB / 0.5757 GB, free: 40.49 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.413, allocations: 1.051 MB / 0.5767 GB, free: 39.82 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.4144, allocations: 1.098 MB / 0.5778 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003997/0.4148, allocations: 354.7 kB / 0.5781 GB, free: 39.16 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.426e-05/0.4148, allocations: 13.84 kB / 0.5781 GB, free: 39.16 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.4149, allocations: 43.31 kB / 0.5782 GB, free: 39.11 MB / 462.3 MB Notification: Performance of pre-optimization done (n=100): time 1.903e-06/0.4149, allocations: 1.25 kB / 0.5782 GB, free: 39.11 MB / 462.3 MB Notification: Performance of matching and sorting (n=100): time 0.001511/0.4164, allocations: 1.149 MB / 0.5793 GB, free: 38.59 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.4164, allocations: 61.25 kB / 0.5794 GB, free: 38.53 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.865e-05/0.4165, allocations: 103.6 kB / 0.5795 GB, free: 38.42 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.4165, allocations: 41.48 kB / 0.5795 GB, free: 38.38 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.4166, allocations: 87.33 kB / 0.5796 GB, free: 38.29 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.4168, allocations: 484.8 kB / 0.58 GB, free: 37.87 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002601/0.417, allocations: 249.5 kB / 0.5803 GB, free: 37.73 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.823e-05/0.4171, allocations: 311.3 kB / 0.5806 GB, free: 37.42 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007218/0.4178, allocations: 0.595 MB / 0.5812 GB, free: 37.15 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007718/0.4186, allocations: 0.7195 MB / 0.5819 GB, free: 36.8 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.42, allocations: 1.237 MB / 0.5831 GB, free: 36.22 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.42, allocations: 9.156 kB / 0.5831 GB, free: 36.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.001686/0.4217, allocations: 1.609 MB / 0.5846 GB, free: 35.11 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4217, allocations: 11.98 kB / 0.5847 GB, free: 35.1 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.4218, allocations: 0 / 0.5847 GB, free: 35.1 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.4218, allocations: 4 kB / 0.5847 GB, free: 35.1 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.4232, allocations: 0.5112 MB / 0.5852 GB, free: 34.59 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.4232, allocations: 8 kB / 0.5852 GB, free: 34.58 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.4235, allocations: 150.7 kB / 0.5853 GB, free: 34.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/0.4236, allocations: 44 kB / 0.5854 GB, free: 34.39 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.0001707/0.4238, allocations: 225.3 kB / 0.5856 GB, free: 34.16 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.99e-05/0.4239, allocations: 43.75 kB / 0.5856 GB, free: 34.11 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.424, allocations: 83.61 kB / 0.5857 GB, free: 34.03 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.424, allocations: 19.98 kB / 0.5857 GB, free: 34.01 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.424, allocations: 4 kB / 0.5857 GB, free: 34.01 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.424, allocations: 3.984 kB / 0.5857 GB, free: 34 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005551/0.4246, allocations: 0.5484 MB / 0.5863 GB, free: 33.4 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4246, allocations: 0 / 0.5863 GB, free: 33.4 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002204/0.4268, allocations: 0.5152 MB / 0.5868 GB, free: 32.89 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.4268, allocations: 4 kB / 0.5868 GB, free: 32.88 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-05/0.4269, allocations: 59.94 kB / 0.5868 GB, free: 32.82 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4269, allocations: 7.984 kB / 0.5868 GB, free: 32.82 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4269, allocations: 0 / 0.5868 GB, free: 32.82 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.4282, allocations: 1.351 MB / 0.5881 GB, free: 31.45 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.4282, allocations: 124.5 kB / 0.5883 GB, free: 31.31 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.734e-05/0.4283, allocations: 55.95 kB / 0.5883 GB, free: 31.25 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.4287, allocations: 63.92 kB / 0.5884 GB, free: 31.19 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.888e-05/0.4288, allocations: 60.91 kB / 0.5884 GB, free: 31.13 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/0.4288, allocations: 27.98 kB / 0.5885 GB, free: 31.11 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.222e-05/0.4289, allocations: 87.27 kB / 0.5885 GB, free: 31.02 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4289, allocations: 0 / 0.5885 GB, free: 31.02 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003938/0.4293, allocations: 208 kB / 0.5887 GB, free: 30.82 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.00142/0.4307, allocations: 1.973 MB / 0.5907 GB, free: 28.81 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001928/0.4326, allocations: 1.838 MB / 0.5925 GB, free: 26.98 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4326, allocations: 0 / 0.5925 GB, free: 26.98 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004327/0.4331, allocations: 445.5 kB / 0.5929 GB, free: 26.54 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.4334, allocations: 36 kB / 0.5929 GB, free: 26.5 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005962/0.4393, allocations: 8.139 MB / 0.6009 GB, free: 18.26 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.4396, allocations: 0.9106 MB / 0.6018 GB, free: 17.32 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0005982/0.4402, allocations: 393 kB / 0.6021 GB, free: 16.94 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.4404, allocations: 187.4 kB / 0.6023 GB, free: 16.75 MB / 462.3 MB Notification: Performance of SimCode: time 5.31e-07/0.4404, allocations: 4 kB / 0.6023 GB, free: 16.75 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.4605, allocations: 13.29 MB / 0.6153 GB, free: 3.664 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/0.4607, allocations: 257.2 kB / 0.6155 GB, free: 3.402 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.405, allocations: 0 / 0.6155 GB, free: 3.402 MB / 462.3 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_100_fmu --startTime=0 --stopTime=2 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_SimpleODE_ScaledExperiments_CascadedFirstOrder_N_100.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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","../files/ScalableTestSuite_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches