Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.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_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_20",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.00185/0.001851, allocations: 104.8 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.002125/0.002125, 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.532/1.532, 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.216/1.216, allocations: 119.3 MB / 411 MB, free: 9.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.91 kB / 0.4924 GB, free: 12.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7909/0.7922, allocations: 80.68 MB / 0.5712 GB, free: 43.77 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.004488/0.7968, allocations: 1.345 MB / 0.5725 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002987/0.7971, allocations: 58.02 kB / 0.5726 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.056e-05/0.7972, allocations: 4.969 kB / 0.5726 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.7973, allocations: 3.938 kB / 0.5726 GB, free: 42.65 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.7974, allocations: 20.59 kB / 0.5726 GB, free: 42.64 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.7977, allocations: 15.81 kB / 0.5726 GB, free: 42.62 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.7981, allocations: 353.7 kB / 0.573 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.851e-05/0.7981, allocations: 8.297 kB / 0.573 GB, free: 42.44 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.7983, allocations: 124.8 kB / 0.5731 GB, free: 42.39 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.7986, allocations: 171.7 kB / 0.5732 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.666e-05/0.7987, allocations: 18.94 kB / 0.5733 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.066e-05/0.7987, allocations: 25.44 kB / 0.5733 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.7989, allocations: 142.6 kB / 0.5734 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.7991, allocations: 144.6 kB / 0.5736 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.7994, allocations: 247.9 kB / 0.5738 GB, free: 41.96 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.7994, allocations: 0 / 0.5738 GB, free: 41.96 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.843e-06/0.7994, allocations: 0 / 0.5738 GB, free: 41.96 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.7994, allocations: 1.25 kB / 0.5738 GB, free: 41.96 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001708/0.8011, allocations: 0.7307 MB / 0.5745 GB, free: 41.39 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/0.8012, allocations: 9.219 kB / 0.5745 GB, free: 41.39 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.983e-05/0.8013, allocations: 60.92 kB / 0.5746 GB, free: 41.33 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.735e-05/0.8014, allocations: 31.28 kB / 0.5746 GB, free: 41.32 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.8017, allocations: 249.6 kB / 0.5748 GB, free: 41.08 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.197e-05/0.8017, allocations: 28.06 kB / 0.5749 GB, free: 41.06 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.8018, allocations: 60.08 kB / 0.5749 GB, free: 41.04 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006196/0.8025, allocations: 345.1 kB / 0.5753 GB, free: 40.84 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.8025, allocations: 3.938 kB / 0.5753 GB, free: 40.83 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.8025, allocations: 10.09 kB / 0.5753 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.8026, allocations: 10.25 kB / 0.5753 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.803, allocations: 209.4 kB / 0.5755 GB, free: 40.73 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.8051, allocations: 1.001 MB / 0.5765 GB, free: 40.07 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004028/0.8091, allocations: 1.213 MB / 0.5776 GB, free: 39.58 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000353/0.8095, allocations: 189.1 kB / 0.5778 GB, free: 39.49 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/0.8095, allocations: 11.61 kB / 0.5778 GB, free: 39.48 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.8096, allocations: 45.92 kB / 0.5779 GB, free: 39.43 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 2.926e-06/0.8096, allocations: 0 / 0.5779 GB, free: 39.43 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.001144/0.8107, allocations: 0.5666 MB / 0.5784 GB, free: 39.17 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.8108, allocations: 63.94 kB / 0.5785 GB, free: 39.1 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.8109, allocations: 128.5 kB / 0.5786 GB, free: 38.98 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.8109, allocations: 40.23 kB / 0.5787 GB, free: 38.94 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/0.811, allocations: 112.8 kB / 0.5788 GB, free: 38.83 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.8112, allocations: 191.9 kB / 0.5789 GB, free: 38.66 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.8114, allocations: 125.9 kB / 0.5791 GB, free: 38.58 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.834e-05/0.8115, allocations: 340.9 kB / 0.5794 GB, free: 38.25 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.8118, allocations: 222.2 kB / 0.5796 GB, free: 38.16 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.8122, allocations: 240.9 kB / 0.5798 GB, free: 38.05 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008016/0.813, allocations: 0.4929 MB / 0.5803 GB, free: 37.81 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8131, allocations: 1.25 kB / 0.5803 GB, free: 37.81 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001057/0.8141, allocations: 0.6244 MB / 0.5809 GB, free: 37.52 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.8142, allocations: 9.5 kB / 0.5809 GB, free: 37.52 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.8142, allocations: 0 / 0.5809 GB, free: 37.52 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/0.8142, allocations: 2.75 kB / 0.5809 GB, free: 37.52 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009357/0.8151, allocations: 226 kB / 0.5812 GB, free: 37.47 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.8152, allocations: 2.156 kB / 0.5812 GB, free: 37.47 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/0.8155, allocations: 59.92 kB / 0.5812 GB, free: 37.43 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.8155, allocations: 20.81 kB / 0.5812 GB, free: 37.42 MB / 462.3 MB 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 (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 prepare postOptimizeDAE: time 0.0001859/0.8157, allocations: 161.5 kB / 0.5814 GB, free: 37.27 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.8158, allocations: 22.84 kB / 0.5814 GB, free: 37.26 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.8159, allocations: 54.88 kB / 0.5815 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.8159, allocations: 4.625 kB / 0.5815 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.816, allocations: 0.9375 kB / 0.5815 GB, free: 37.21 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.816, allocations: 3.984 kB / 0.5815 GB, free: 37.2 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005485/0.8165, allocations: 387.6 kB / 0.5818 GB, free: 36.88 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.8165, allocations: 9.078 kB / 0.5818 GB, free: 36.88 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/0.8178, allocations: 226 kB / 0.5821 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.8178, allocations: 2.031 kB / 0.5821 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.75e-05/0.8179, allocations: 24.25 kB / 0.5821 GB, free: 36.81 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.8179, allocations: 2.25 kB / 0.5821 GB, free: 36.81 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8179, allocations: 0 / 0.5821 GB, free: 36.81 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.8192, allocations: 0.7109 MB / 0.5828 GB, free: 36.43 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.8192, allocations: 94.86 kB / 0.5829 GB, free: 36.32 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-05/0.8193, allocations: 24.12 kB / 0.5829 GB, free: 36.31 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.8196, allocations: 25.12 kB / 0.5829 GB, free: 36.3 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.8197, allocations: 28.62 kB / 0.583 GB, free: 36.28 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.8198, allocations: 16.08 kB / 0.583 GB, free: 36.27 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.268e-05/0.8198, allocations: 93.08 kB / 0.5831 GB, free: 36.19 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8199, allocations: 0 / 0.5831 GB, free: 36.19 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000487/0.8203, allocations: 118.7 kB / 0.5832 GB, free: 36.17 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (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],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],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 (42): * Single equations (assignments): 42 * 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.001557/0.8219, allocations: 1.266 MB / 0.5844 GB, free: 35.24 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.8231, allocations: 0.6173 MB / 0.585 GB, free: 34.97 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.8231, allocations: 0 / 0.585 GB, free: 34.97 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.8234, allocations: 227.3 kB / 0.5852 GB, free: 34.75 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.8237, allocations: 22.75 kB / 0.5852 GB, free: 34.73 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00636/0.8301, allocations: 6.043 MB / 0.5911 GB, free: 28.59 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.8304, allocations: 0.7896 MB / 0.5919 GB, free: 27.78 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003822/0.8308, allocations: 162.8 kB / 0.5921 GB, free: 27.62 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.831, allocations: 95.41 kB / 0.5922 GB, free: 27.52 MB / 462.3 MB Notification: Performance of SimCode: time 8.42e-07/0.831, allocations: 0 / 0.5922 GB, free: 27.52 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.8587, allocations: 6.827 MB / 0.5988 GB, free: 20.88 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.135/9.993, allocations: 20.41 kB / 0.5989 GB, free: 20.86 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_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_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches