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.001604/0.001605, allocations: 105.8 kB / 17.06 MB, free: 6.023 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.001953/0.001953, allocations: 195 kB / 18 MB, free: 5.105 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.376/1.376, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.012/1.012, allocations: 119.3 MB / 411.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 60.94 kB / 0.5718 GB, free: 39.32 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2026, allocations: 80.69 MB / 0.6506 GB, free: 12.21 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_100): time 0.002395/0.205, allocations: 1.188 MB / 0.6517 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001684/0.2052, allocations: 27.83 kB / 0.6518 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.2053, allocations: 0 / 0.6518 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 8.086e-05/0.2054, allocations: 3.938 kB / 0.6518 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 3.454e-05/0.2054, allocations: 0 / 0.6518 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.2056, allocations: 7.984 kB / 0.6518 GB, free: 10.97 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.2061, allocations: 0.4916 MB / 0.6523 GB, free: 10.48 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.399e-05/0.2061, allocations: 11.98 kB / 0.6523 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.2064, allocations: 167.9 kB / 0.6524 GB, free: 10.3 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.2067, allocations: 203.6 kB / 0.6526 GB, free: 10.1 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.412e-05/0.2068, allocations: 28 kB / 0.6526 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.547e-05/0.2069, allocations: 24 kB / 0.6527 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.2071, allocations: 159.6 kB / 0.6528 GB, free: 9.895 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003126/0.2074, allocations: 187.2 kB / 0.653 GB, free: 9.711 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.2077, allocations: 342.5 kB / 0.6533 GB, free: 9.379 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2077, allocations: 0 / 0.6533 GB, free: 9.379 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2077, allocations: 0 / 0.6533 GB, free: 9.379 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.2077, allocations: 4 kB / 0.6533 GB, free: 9.375 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.001841/0.2096, allocations: 0.8899 MB / 0.6542 GB, free: 8.43 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.2096, allocations: 8.031 kB / 0.6542 GB, free: 8.422 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/0.2098, allocations: 82.66 kB / 0.6543 GB, free: 8.332 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.957e-05/0.2099, allocations: 44.56 kB / 0.6543 GB, free: 8.289 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.2103, allocations: 279.8 kB / 0.6546 GB, free: 7.977 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.2103, allocations: 29.38 kB / 0.6546 GB, free: 7.949 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.2105, allocations: 87.98 kB / 0.6547 GB, free: 7.863 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008283/0.2113, allocations: 0.5143 MB / 0.6552 GB, free: 7.344 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.2113, allocations: 3.938 kB / 0.6552 GB, free: 7.34 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.837e-05/0.2114, allocations: 19.94 kB / 0.6552 GB, free: 7.32 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.2114, allocations: 12 kB / 0.6552 GB, free: 7.309 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004857/0.2119, allocations: 307.8 kB / 0.6555 GB, free: 7.008 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.2137, allocations: 1.044 MB / 0.6566 GB, free: 5.914 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.2153, allocations: 1.102 MB / 0.6576 GB, free: 4.801 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005273/0.2159, allocations: 351.6 kB / 0.658 GB, free: 4.457 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.2159, allocations: 9 kB / 0.658 GB, free: 4.449 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.216, allocations: 55.5 kB / 0.658 GB, free: 4.387 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=100): time 2.856e-06/0.216, allocations: 0 / 0.658 GB, free: 4.387 MB / 0.4983 GB Notification: Performance of matching and sorting (n=100): time 0.001921/0.2179, allocations: 1.155 MB / 0.6592 GB, free: 3.223 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.2179, allocations: 60.41 kB / 0.6592 GB, free: 3.152 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.666e-05/0.2181, allocations: 101.8 kB / 0.6593 GB, free: 3.043 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.2181, allocations: 41.7 kB / 0.6594 GB, free: 2.996 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.2182, allocations: 86.12 kB / 0.6594 GB, free: 2.906 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004014/0.2186, allocations: 485.3 kB / 0.6599 GB, free: 2.426 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003305/0.2189, allocations: 248.2 kB / 0.6601 GB, free: 2.18 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2191, allocations: 314 kB / 0.6604 GB, free: 1.867 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009054/0.22, allocations: 0.5933 MB / 0.661 GB, free: 1.273 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009198/0.2209, allocations: 0.7179 MB / 0.6617 GB, free: 0.5469 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.2226, allocations: 1.239 MB / 0.6629 GB, free: 15.3 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.2226, allocations: 3.938 kB / 0.6629 GB, free: 15.3 MB / 0.5139 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002148/0.2248, allocations: 1.609 MB / 0.6645 GB, free: 13.68 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.2248, allocations: 8 kB / 0.6645 GB, free: 13.67 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.2248, allocations: 0 / 0.6645 GB, free: 13.67 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.2248, allocations: 8 kB / 0.6645 GB, free: 13.66 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.2266, allocations: 0.5112 MB / 0.665 GB, free: 13.15 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.2266, allocations: 8 kB / 0.665 GB, free: 13.14 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.227, allocations: 154.7 kB / 0.6652 GB, free: 12.99 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-05/0.2271, allocations: 44 kB / 0.6652 GB, free: 12.95 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.0002915/0.2274, allocations: 222.8 kB / 0.6654 GB, free: 12.72 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.2275, allocations: 35.62 kB / 0.6655 GB, free: 12.69 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.2276, allocations: 83.61 kB / 0.6655 GB, free: 12.61 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.2277, allocations: 12 kB / 0.6656 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.2277, allocations: 4 kB / 0.6656 GB, free: 12.59 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.2277, allocations: 7.969 kB / 0.6656 GB, free: 12.58 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008045/0.2285, allocations: 0.5522 MB / 0.6661 GB, free: 11.98 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.2285, allocations: 0 / 0.6661 GB, free: 11.98 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002463/0.231, allocations: 0.5113 MB / 0.6666 GB, free: 11.47 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-05/0.231, allocations: 4 kB / 0.6666 GB, free: 11.47 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/0.2312, allocations: 67.92 kB / 0.6667 GB, free: 11.4 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.2312, allocations: 7.922 kB / 0.6667 GB, free: 11.39 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2312, allocations: 0 / 0.6667 GB, free: 11.39 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.233, allocations: 1.355 MB / 0.668 GB, free: 10.02 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.714e-05/0.2331, allocations: 120.5 kB / 0.6681 GB, free: 9.887 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.2332, allocations: 55.94 kB / 0.6682 GB, free: 9.832 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.2336, allocations: 59.94 kB / 0.6682 GB, free: 9.773 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.2337, allocations: 65.09 kB / 0.6683 GB, free: 9.711 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/0.2338, allocations: 27.97 kB / 0.6683 GB, free: 9.684 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.9e-05/0.2338, allocations: 87.27 kB / 0.6684 GB, free: 9.598 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2338, allocations: 0 / 0.6684 GB, free: 9.598 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0005667/0.2344, allocations: 212 kB / 0.6686 GB, free: 9.391 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.00208/0.2365, allocations: 1.98 MB / 0.6705 GB, free: 7.379 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.2383, allocations: 1.189 MB / 0.6717 GB, free: 6.188 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2383, allocations: 0 / 0.6717 GB, free: 6.188 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005872/0.2389, allocations: 445.4 kB / 0.6721 GB, free: 5.75 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.2393, allocations: 32 kB / 0.6722 GB, free: 5.719 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009743/0.249, allocations: 8.056 MB / 0.68 GB, free: 13.57 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005801/0.2497, allocations: 0.9183 MB / 0.6809 GB, free: 12.62 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0008759/0.2505, allocations: 393.1 kB / 0.6813 GB, free: 12.23 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.2509, allocations: 183.4 kB / 0.6815 GB, free: 12.05 MB / 0.5295 GB Notification: Performance of SimCode: time 1.072e-06/0.2509, allocations: 0 / 0.6815 GB, free: 12.05 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0393/0.2902, allocations: 13.8 MB / 0.6949 GB, free: 14.42 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.402/9.692, allocations: 3.281 kB / 0.6949 GB, free: 14.42 MB / 0.5452 GB (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","/var/lib/jenkins1/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