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.00167/0.00167, allocations: 112.3 kB / 17.06 MB, free: 5.992 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.001833/0.001833, allocations: 197.3 kB / 18.01 MB, free: 5.066 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.381/1.381, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.011/1.011, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 62.73 kB / 0.5719 GB, free: 39.16 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1655, allocations: 80.69 MB / 0.6507 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.002966/0.1686, allocations: 1.346 MB / 0.652 GB, free: 10.72 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002945/0.1689, allocations: 59.77 kB / 0.6521 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.455e-05/0.169, allocations: 0 / 0.6521 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.1691, allocations: 3.938 kB / 0.6521 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.1692, allocations: 19.91 kB / 0.6521 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.1694, allocations: 19.91 kB / 0.6521 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0007326/0.1702, allocations: 0.6553 MB / 0.6528 GB, free: 9.961 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.443e-05/0.1702, allocations: 11.94 kB / 0.6528 GB, free: 9.949 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004159/0.1707, allocations: 243.7 kB / 0.653 GB, free: 9.711 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006633/0.1713, allocations: 326 kB / 0.6533 GB, free: 9.391 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.1715, allocations: 36 kB / 0.6533 GB, free: 9.355 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1716, allocations: 36 kB / 0.6534 GB, free: 9.32 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000288/0.1719, allocations: 272 kB / 0.6536 GB, free: 9.055 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0003938/0.1723, allocations: 286.8 kB / 0.6539 GB, free: 8.773 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0005066/0.1728, allocations: 482.2 kB / 0.6544 GB, free: 8.301 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1728, allocations: 3.938 kB / 0.6544 GB, free: 8.297 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.564e-06/0.1728, allocations: 3.938 kB / 0.6544 GB, free: 8.293 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.1729, allocations: 0 / 0.6544 GB, free: 8.293 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.003173/0.176, allocations: 1.19 MB / 0.6555 GB, free: 7.047 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.1761, allocations: 8.031 kB / 0.6556 GB, free: 7.039 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.1762, allocations: 94.7 kB / 0.6556 GB, free: 6.938 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.1764, allocations: 60.66 kB / 0.6557 GB, free: 6.879 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004861/0.1769, allocations: 327.7 kB / 0.656 GB, free: 6.52 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.417e-05/0.1769, allocations: 65.38 kB / 0.6561 GB, free: 6.457 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.1771, allocations: 108.2 kB / 0.6562 GB, free: 6.352 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.1782, allocations: 0.6509 MB / 0.6568 GB, free: 5.695 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.1782, allocations: 3.938 kB / 0.6568 GB, free: 5.691 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.9e-05/0.1783, allocations: 20 kB / 0.6568 GB, free: 5.672 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.1783, allocations: 12 kB / 0.6568 GB, free: 5.66 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007375/0.1791, allocations: 403.7 kB / 0.6572 GB, free: 5.266 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/0.1831, allocations: 1.793 MB / 0.659 GB, free: 3.422 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00793/0.191, allocations: 2.511 MB / 0.6614 GB, free: 0.8984 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006201/0.1917, allocations: 374.6 kB / 0.6618 GB, free: 0.5312 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 6.669e-05/0.1918, allocations: 8.656 kB / 0.6618 GB, free: 0.5195 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.1918, allocations: 43.16 kB / 0.6618 GB, free: 480 kB / 0.4983 GB Notification: Performance of pre-optimization done (n=82): time 3.106e-06/0.1918, allocations: 0 / 0.6618 GB, free: 480 kB / 0.4983 GB Notification: Performance of matching and sorting (n=82): time 0.002097/0.1939, allocations: 1.101 MB / 0.6629 GB, free: 15.36 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/0.194, allocations: 71.94 kB / 0.663 GB, free: 15.28 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.1942, allocations: 141.8 kB / 0.6631 GB, free: 15.13 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 7.651e-05/0.1943, allocations: 49.7 kB / 0.6632 GB, free: 15.07 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.1944, allocations: 153.9 kB / 0.6633 GB, free: 14.92 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003875/0.1948, allocations: 404.6 kB / 0.6637 GB, free: 14.52 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003601/0.1952, allocations: 235 kB / 0.6639 GB, free: 14.29 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.1954, allocations: 370.8 kB / 0.6643 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000771/0.1961, allocations: 442.3 kB / 0.6647 GB, free: 13.48 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008026/0.197, allocations: 471.5 kB / 0.6652 GB, free: 13.02 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.1985, allocations: 0.9765 MB / 0.6661 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1985, allocations: 0 / 0.6661 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.002011/0.2006, allocations: 1.211 MB / 0.6673 GB, free: 10.83 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.2006, allocations: 11.12 kB / 0.6673 GB, free: 10.82 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.2006, allocations: 3.984 kB / 0.6673 GB, free: 10.82 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.2007, allocations: 4 kB / 0.6673 GB, free: 10.81 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/0.2024, allocations: 447.5 kB / 0.6677 GB, free: 10.38 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.078e-05/0.2025, allocations: 4 kB / 0.6677 GB, free: 10.37 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005553/0.203, allocations: 131.2 kB / 0.6679 GB, free: 10.24 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.651e-05/0.2031, allocations: 32 kB / 0.6679 GB, free: 10.21 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.0002996/0.2034, allocations: 214.4 kB / 0.6681 GB, free: 9.992 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.2035, allocations: 39.75 kB / 0.6681 GB, free: 9.953 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/0.2038, allocations: 91.39 kB / 0.6682 GB, free: 9.859 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.2038, allocations: 8 kB / 0.6682 GB, free: 9.852 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.2039, allocations: 4 kB / 0.6682 GB, free: 9.848 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.2039, allocations: 3.984 kB / 0.6682 GB, free: 9.844 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009458/0.2048, allocations: 0.6108 MB / 0.6688 GB, free: 9.18 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.2048, allocations: 3.938 kB / 0.6688 GB, free: 9.176 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00241/0.2072, allocations: 447.6 kB / 0.6693 GB, free: 8.738 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.509e-05/0.2073, allocations: 4 kB / 0.6693 GB, free: 8.734 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/0.2074, allocations: 51.94 kB / 0.6693 GB, free: 8.684 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.2074, allocations: 4 kB / 0.6693 GB, free: 8.68 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2074, allocations: 4 kB / 0.6693 GB, free: 8.676 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.2095, allocations: 1.27 MB / 0.6706 GB, free: 7.391 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.2096, allocations: 116.7 kB / 0.6707 GB, free: 7.258 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.2097, allocations: 43.95 kB / 0.6707 GB, free: 7.215 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005276/0.2103, allocations: 55.94 kB / 0.6708 GB, free: 7.16 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.2104, allocations: 48.52 kB / 0.6708 GB, free: 7.113 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.895e-05/0.2105, allocations: 27.98 kB / 0.6708 GB, free: 7.086 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 7.772e-05/0.2106, allocations: 103.2 kB / 0.6709 GB, free: 6.984 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2106, allocations: 4 kB / 0.6709 GB, free: 6.98 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.000543/0.2111, allocations: 231.8 kB / 0.6712 GB, free: 6.754 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.002414/0.2135, allocations: 1.881 MB / 0.673 GB, free: 4.848 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001725/0.2153, allocations: 0.9735 MB / 0.674 GB, free: 3.875 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2153, allocations: 0 / 0.674 GB, free: 3.875 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006724/0.216, allocations: 447.5 kB / 0.6744 GB, free: 3.438 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.2163, allocations: 31.94 kB / 0.6744 GB, free: 3.406 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/0.2302, allocations: 11 MB / 0.6852 GB, free: 8.324 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005763/0.2309, allocations: 0.9113 MB / 0.686 GB, free: 7.387 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0007656/0.2316, allocations: 316.5 kB / 0.6863 GB, free: 7.074 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003877/0.232, allocations: 187.4 kB / 0.6865 GB, free: 6.891 MB / 0.5295 GB Notification: Performance of SimCode: time 7.32e-07/0.2321, allocations: 0 / 0.6865 GB, free: 6.891 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04161/0.2737, allocations: 12.5 MB / 0.6987 GB, free: 10.59 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.876/9.149, allocations: 10.5 kB / 0.6987 GB, free: 10.58 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