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.001599/0.001599, allocations: 103.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.001532/0.001532, 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.578/1.578, allocations: 222.9 MB / 241.5 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.188/1.188, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 55.91 kB / 0.4924 GB, free: 12.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6942/0.6956, allocations: 80.69 MB / 0.5712 GB, free: 43.72 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.003965/0.6996, allocations: 1.343 MB / 0.5725 GB, free: 42.65 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003145/0.7, allocations: 57.69 kB / 0.5726 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-05/0.7001, allocations: 1.094 kB / 0.5726 GB, free: 42.61 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.7002, allocations: 7.922 kB / 0.5726 GB, free: 42.6 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.7003, allocations: 24.12 kB / 0.5726 GB, free: 42.58 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.7005, allocations: 16.72 kB / 0.5726 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008157/0.7014, allocations: 0.6562 MB / 0.5733 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.793e-05/0.7015, allocations: 5.656 kB / 0.5733 GB, free: 42.22 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.7018, allocations: 236.8 kB / 0.5735 GB, free: 42.12 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005124/0.7023, allocations: 312.9 kB / 0.5738 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.7024, allocations: 39.81 kB / 0.5738 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.7025, allocations: 40.09 kB / 0.5739 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0003151/0.7029, allocations: 275.9 kB / 0.5741 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003842/0.7032, allocations: 284.7 kB / 0.5744 GB, free: 41.58 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0005365/0.7038, allocations: 486.9 kB / 0.5749 GB, free: 41.3 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.7038, allocations: 0.9688 kB / 0.5749 GB, free: 41.3 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.256e-06/0.7038, allocations: 0 / 0.5749 GB, free: 41.3 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.7038, allocations: 0 / 0.5749 GB, free: 41.3 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00288/0.7067, allocations: 1.125 MB / 0.576 GB, free: 40.54 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/0.7068, allocations: 10.41 kB / 0.576 GB, free: 40.54 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.7069, allocations: 94.27 kB / 0.5761 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.7071, allocations: 59.47 kB / 0.5761 GB, free: 40.43 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/0.7076, allocations: 319.2 kB / 0.5764 GB, free: 40.16 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.435e-05/0.7076, allocations: 59.41 kB / 0.5765 GB, free: 40.13 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.7078, allocations: 115.2 kB / 0.5766 GB, free: 40.08 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.7089, allocations: 0.6536 MB / 0.5772 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.709, allocations: 3.938 kB / 0.5772 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-05/0.709, allocations: 19.94 kB / 0.5773 GB, free: 39.69 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.7091, allocations: 11.66 kB / 0.5773 GB, free: 39.69 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007989/0.7099, allocations: 402.8 kB / 0.5777 GB, free: 39.52 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003939/0.7138, allocations: 1.793 MB / 0.5794 GB, free: 38.48 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007881/0.7217, allocations: 2.51 MB / 0.5819 GB, free: 37.46 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006543/0.7224, allocations: 376 kB / 0.5822 GB, free: 37.29 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 6.036e-05/0.7224, allocations: 12.53 kB / 0.5822 GB, free: 37.28 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.7225, allocations: 47 kB / 0.5823 GB, free: 37.23 MB / 462.3 MB Notification: Performance of pre-optimization done (n=82): time 2.896e-06/0.7225, allocations: 0 / 0.5823 GB, free: 37.23 MB / 462.3 MB Notification: Performance of matching and sorting (n=82): time 0.002097/0.7246, allocations: 1.108 MB / 0.5834 GB, free: 36.73 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.7247, allocations: 60.91 kB / 0.5834 GB, free: 36.66 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.7248, allocations: 147.7 kB / 0.5835 GB, free: 36.53 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 6.038e-05/0.7249, allocations: 50.36 kB / 0.5836 GB, free: 36.48 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.7249, allocations: 148.5 kB / 0.5837 GB, free: 36.34 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.000227/0.7252, allocations: 377.4 kB / 0.5841 GB, free: 36.01 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/0.7255, allocations: 240.2 kB / 0.5843 GB, free: 35.81 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.7256, allocations: 366.8 kB / 0.5847 GB, free: 35.44 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005587/0.7261, allocations: 446.3 kB / 0.5851 GB, free: 35 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000551/0.7267, allocations: 467.5 kB / 0.5855 GB, free: 34.55 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.7279, allocations: 0.9727 MB / 0.5865 GB, free: 33.57 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7279, allocations: 0 / 0.5865 GB, free: 33.57 MB / 462.3 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001441/0.7293, allocations: 1.215 MB / 0.5877 GB, free: 32.35 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.7294, allocations: 4 kB / 0.5877 GB, free: 32.35 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.7294, allocations: 4 kB / 0.5877 GB, free: 32.34 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.7294, allocations: 4 kB / 0.5877 GB, free: 32.34 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.7309, allocations: 451.5 kB / 0.5881 GB, free: 31.9 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.7309, allocations: 8 kB / 0.5881 GB, free: 31.89 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.7314, allocations: 122.9 kB / 0.5883 GB, free: 31.77 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.123e-05/0.7315, allocations: 40 kB / 0.5883 GB, free: 31.73 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 (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.0002321/0.7317, allocations: 205.5 kB / 0.5885 GB, free: 31.52 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.821e-05/0.7319, allocations: 35.66 kB / 0.5885 GB, free: 31.48 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/0.732, allocations: 95.39 kB / 0.5886 GB, free: 31.39 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.7321, allocations: 8 kB / 0.5886 GB, free: 31.38 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-05/0.7321, allocations: 0 / 0.5886 GB, free: 31.38 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.7321, allocations: 7.984 kB / 0.5886 GB, free: 31.38 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000649/0.7327, allocations: 0.6106 MB / 0.5892 GB, free: 30.71 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.7328, allocations: 7.938 kB / 0.5892 GB, free: 30.71 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002096/0.7349, allocations: 443.6 kB / 0.5897 GB, free: 30.27 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.7349, allocations: 4 kB / 0.5897 GB, free: 30.27 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-05/0.735, allocations: 52.31 kB / 0.5897 GB, free: 30.22 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.735, allocations: 4 kB / 0.5897 GB, free: 30.21 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.735, allocations: 0 / 0.5897 GB, free: 30.21 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.7365, allocations: 1.277 MB / 0.591 GB, free: 28.92 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.7366, allocations: 120.5 kB / 0.5911 GB, free: 28.79 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.7367, allocations: 43.95 kB / 0.5911 GB, free: 28.74 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004693/0.7372, allocations: 55.94 kB / 0.5912 GB, free: 28.69 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.7373, allocations: 52.52 kB / 0.5912 GB, free: 28.64 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/0.7374, allocations: 23.98 kB / 0.5912 GB, free: 28.61 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.77e-05/0.7374, allocations: 95.27 kB / 0.5913 GB, free: 28.52 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7374, allocations: 0 / 0.5913 GB, free: 28.52 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004802/0.7379, allocations: 227.8 kB / 0.5915 GB, free: 28.3 MB / 462.3 MB 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.001809/0.7397, allocations: 1.877 MB / 0.5934 GB, free: 26.39 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.7414, allocations: 1.399 MB / 0.5947 GB, free: 24.99 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7414, allocations: 0 / 0.5947 GB, free: 24.99 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004993/0.742, allocations: 451.4 kB / 0.5952 GB, free: 24.55 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.7423, allocations: 34.66 kB / 0.5952 GB, free: 24.52 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.7528, allocations: 11.05 MB / 0.606 GB, free: 13.38 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.7532, allocations: 0.9075 MB / 0.6069 GB, free: 12.45 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006676/0.7539, allocations: 320.5 kB / 0.6072 GB, free: 12.14 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003177/0.7542, allocations: 183.4 kB / 0.6074 GB, free: 11.96 MB / 462.3 MB Notification: Performance of SimCode: time 7.21e-07/0.7542, allocations: 0 / 0.6074 GB, free: 11.96 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.7857, allocations: 12.28 MB / 0.6194 GB, free: 15.86 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.88/9.666, allocations: 11.72 kB / 0.6194 GB, free: 15.85 MB / 478.3 MB (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