Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.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.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_40",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.001476/0.001476, allocations: 112.5 kB / 17.06 MB, free: 5.945 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.001679/0.001679, allocations: 200.1 kB / 18.01 MB, free: 5.023 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.312/1.312, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9293/0.9293, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 65.58 kB / 0.5719 GB, free: 39.11 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1509, allocations: 80.69 MB / 0.6507 GB, free: 12.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.002542/0.1535, allocations: 1.343 MB / 0.652 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002917/0.1538, allocations: 55.78 kB / 0.6521 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.1539, allocations: 0 / 0.6521 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.154, allocations: 3.938 kB / 0.6521 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.1541, allocations: 23.83 kB / 0.6521 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.1543, allocations: 19.91 kB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000573/0.1549, allocations: 0.6631 MB / 0.6528 GB, free: 9.941 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.166e-05/0.155, allocations: 8 kB / 0.6528 GB, free: 9.934 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003154/0.1553, allocations: 239.7 kB / 0.653 GB, free: 9.699 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004954/0.1558, allocations: 326 kB / 0.6533 GB, free: 9.379 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.675e-05/0.1559, allocations: 36 kB / 0.6533 GB, free: 9.344 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.118e-05/0.156, allocations: 36 kB / 0.6534 GB, free: 9.309 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002384/0.1562, allocations: 276 kB / 0.6536 GB, free: 9.039 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.1565, allocations: 286.8 kB / 0.6539 GB, free: 8.758 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004263/0.1569, allocations: 486.1 kB / 0.6544 GB, free: 8.281 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1569, allocations: 0 / 0.6544 GB, free: 8.281 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.492e-06/0.157, allocations: 4 kB / 0.6544 GB, free: 8.277 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.157, allocations: 0 / 0.6544 GB, free: 8.277 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002962/0.1599, allocations: 1.19 MB / 0.6555 GB, free: 7.031 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.16, allocations: 12.03 kB / 0.6556 GB, free: 7.02 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.1601, allocations: 86.7 kB / 0.6556 GB, free: 6.926 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.1602, allocations: 60.66 kB / 0.6557 GB, free: 6.867 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005537/0.1608, allocations: 331.7 kB / 0.656 GB, free: 6.504 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.578e-05/0.1609, allocations: 57.38 kB / 0.6561 GB, free: 6.449 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.161, allocations: 112.2 kB / 0.6562 GB, free: 6.34 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009947/0.162, allocations: 0.6509 MB / 0.6568 GB, free: 5.684 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.162, allocations: 7.938 kB / 0.6568 GB, free: 5.676 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.055e-05/0.1621, allocations: 20 kB / 0.6568 GB, free: 5.656 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.1621, allocations: 12 kB / 0.6568 GB, free: 5.645 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006561/0.1628, allocations: 399.6 kB / 0.6572 GB, free: 5.254 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00386/0.1667, allocations: 1.797 MB / 0.659 GB, free: 3.406 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007744/0.1744, allocations: 2.511 MB / 0.6614 GB, free: 0.8828 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005933/0.175, allocations: 370.6 kB / 0.6618 GB, free: 0.5195 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 6.106e-05/0.1751, allocations: 8.656 kB / 0.6618 GB, free: 0.5078 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.1752, allocations: 47.16 kB / 0.6618 GB, free: 464 kB / 0.4983 GB Notification: Performance of pre-optimization done (n=82): time 3.386e-06/0.1752, allocations: 4 kB / 0.6618 GB, free: 460 kB / 0.4983 GB Notification: Performance of matching and sorting (n=82): time 0.002148/0.1773, allocations: 1.105 MB / 0.6629 GB, free: 15.34 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.1774, allocations: 60.06 kB / 0.663 GB, free: 15.27 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.1776, allocations: 141.8 kB / 0.6631 GB, free: 15.12 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 7.938e-05/0.1777, allocations: 53.7 kB / 0.6632 GB, free: 15.06 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.1778, allocations: 153.9 kB / 0.6633 GB, free: 14.9 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003872/0.1782, allocations: 404.6 kB / 0.6637 GB, free: 14.5 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003518/0.1786, allocations: 235 kB / 0.6639 GB, free: 14.27 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0002195/0.1788, allocations: 370.8 kB / 0.6643 GB, free: 13.9 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007332/0.1796, allocations: 446.3 kB / 0.6647 GB, free: 13.46 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007686/0.1803, allocations: 463.5 kB / 0.6651 GB, free: 13.01 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.1818, allocations: 0.9766 MB / 0.6661 GB, free: 12.04 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1818, allocations: 0 / 0.6661 GB, free: 12.04 MB / 0.5139 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001882/0.1837, allocations: 1.215 MB / 0.6673 GB, free: 10.81 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.1838, allocations: 11.92 kB / 0.6673 GB, free: 10.8 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.1838, allocations: 0 / 0.6673 GB, free: 10.8 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.769e-05/0.1838, allocations: 7.984 kB / 0.6673 GB, free: 10.79 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.1857, allocations: 443.5 kB / 0.6677 GB, free: 10.36 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.353e-05/0.1857, allocations: 8 kB / 0.6677 GB, free: 10.35 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000568/0.1863, allocations: 127.2 kB / 0.6679 GB, free: 10.23 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-05/0.1864, allocations: 44 kB / 0.6679 GB, free: 10.18 MB / 0.5139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (162): * Single equations (assignments): 162 * 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.0003084/0.1867, allocations: 206.4 kB / 0.6681 GB, free: 9.973 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.1868, allocations: 39.75 kB / 0.6681 GB, free: 9.934 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.187, allocations: 95.39 kB / 0.6682 GB, free: 9.836 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.187, allocations: 8 kB / 0.6682 GB, free: 9.828 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.1871, allocations: 0 / 0.6682 GB, free: 9.828 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.1871, allocations: 3.984 kB / 0.6682 GB, free: 9.824 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007978/0.1879, allocations: 0.5991 MB / 0.6688 GB, free: 9.172 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.1879, allocations: 3.938 kB / 0.6688 GB, free: 9.168 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002305/0.1902, allocations: 451.6 kB / 0.6693 GB, free: 8.727 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/0.1902, allocations: 4 kB / 0.6693 GB, free: 8.723 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.577e-05/0.1903, allocations: 51.94 kB / 0.6693 GB, free: 8.672 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.1903, allocations: 4 kB / 0.6693 GB, free: 8.668 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1903, allocations: 0 / 0.6693 GB, free: 8.668 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.1921, allocations: 1.273 MB / 0.6706 GB, free: 7.379 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.384e-05/0.1922, allocations: 112.7 kB / 0.6707 GB, free: 7.25 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.1923, allocations: 47.95 kB / 0.6707 GB, free: 7.203 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004967/0.1928, allocations: 55.94 kB / 0.6708 GB, free: 7.148 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.193, allocations: 56.52 kB / 0.6708 GB, free: 7.094 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/0.193, allocations: 23.98 kB / 0.6708 GB, free: 7.07 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 7.733e-05/0.1931, allocations: 99.58 kB / 0.6709 GB, free: 6.973 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1931, allocations: 0 / 0.6709 GB, free: 6.973 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0005009/0.1936, allocations: 235.8 kB / 0.6712 GB, free: 6.742 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (cur_x[1],cur_x[2],cur_x[3],cur_x[4],cur_x[5],cur_x[6],cur_x[7],cur_x[8],cur_x[9],cur_x[10],cur_x[11],cur_x[12],cur_x[13],cur_x[14],cur_x[15],cur_x[16],cur_x[17],cur_x[18],cur_x[19],cur_x[20],cur_x[21],cur_x[22],cur_x[23],cur_x[24],cur_x[25],cur_x[26],cur_x[27],cur_x[28],cur_x[29],cur_x[30],cur_x[31],cur_x[32],cur_x[33],cur_x[34],cur_x[35],cur_x[36],cur_x[37],cur_x[38],cur_x[39],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],vol[11],vol[12],vol[13],vol[14],vol[15],vol[16],vol[17],vol[18],vol[19],vol[20],vol[21],vol[22],vol[23],vol[24],vol[25],vol[26],vol[27],vol[28],vol[29],vol[30],vol[31],vol[32],vol[33],vol[34],vol[35],vol[36],vol[37],vol[38],vol[39],vol[40],vvol) * 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 (82): * Single equations (assignments): 82 * 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.002102/0.1957, allocations: 1.881 MB / 0.673 GB, free: 4.836 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001451/0.1972, allocations: 0.9696 MB / 0.6739 GB, free: 3.867 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1972, allocations: 0 / 0.6739 GB, free: 3.867 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006178/0.1978, allocations: 447.5 kB / 0.6744 GB, free: 3.43 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.1982, allocations: 32 kB / 0.6744 GB, free: 3.398 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.2106, allocations: 11 MB / 0.6851 GB, free: 8.316 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.2111, allocations: 0.9151 MB / 0.686 GB, free: 7.375 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0007222/0.2118, allocations: 320.5 kB / 0.6863 GB, free: 7.059 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003449/0.2122, allocations: 191.4 kB / 0.6865 GB, free: 6.871 MB / 0.5295 GB Notification: Performance of SimCode: time 6.82e-07/0.2122, allocations: 0 / 0.6865 GB, free: 6.871 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03503/0.2472, allocations: 12.5 MB / 0.6987 GB, free: 10.57 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.564/8.811, allocations: 11.11 kB / 0.6987 GB, free: 10.56 MB / 0.5452 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40_res.csv --start-time 0 --stop-time 4e-06 --timeout 300 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 2.001e-09 ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches