Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_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.TransmissionLineModelica_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineModelica_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineModelica_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.001425/0.001425, allocations: 106.5 kB / 17.06 MB, free: 6.102 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.001546/0.001546, allocations: 194.9 kB / 18 MB, free: 5.172 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.298/1.298, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8775/0.8775, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 66.11 kB / 0.5719 GB, free: 39.13 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1468, allocations: 80.69 MB / 0.6507 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20): time 0.004243/0.1511, allocations: 2.59 MB / 0.6532 GB, free: 9.473 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.1524, allocations: 0.596 MB / 0.6538 GB, free: 8.871 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002759/0.1527, allocations: 4 kB / 0.6538 GB, free: 8.867 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002408/0.153, allocations: 43.52 kB / 0.6539 GB, free: 8.824 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.1534, allocations: 87.33 kB / 0.6539 GB, free: 8.738 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.1537, allocations: 75.84 kB / 0.654 GB, free: 8.664 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.002602/0.1563, allocations: 3.211 MB / 0.6572 GB, free: 5.438 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.158, allocations: 1.386 MB / 0.6585 GB, free: 4.004 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.1594, allocations: 1.114 MB / 0.6596 GB, free: 2.887 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.1612, allocations: 1.168 MB / 0.6607 GB, free: 1.715 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0007509/0.162, allocations: 291.9 kB / 0.661 GB, free: 1.43 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000893/0.1629, allocations: 292 kB / 0.6613 GB, free: 1.145 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000746/0.1636, allocations: 0.5766 MB / 0.6619 GB, free: 0.5664 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.002039/0.1657, allocations: 1.179 MB / 0.663 GB, free: 15.38 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.002826/0.1685, allocations: 3.368 MB / 0.6663 GB, free: 12 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1685, allocations: 0 / 0.6663 GB, free: 12 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.495e-06/0.1686, allocations: 0 / 0.6663 GB, free: 12 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.565e-05/0.1686, allocations: 0 / 0.6663 GB, free: 12 MB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.004785/0.1734, allocations: 2.606 MB / 0.6688 GB, free: 9.34 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.1735, allocations: 16.02 kB / 0.6689 GB, free: 9.324 MB / 0.5139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002999/0.1738, allocations: 269.7 kB / 0.6691 GB, free: 9.051 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.1741, allocations: 219.7 kB / 0.6693 GB, free: 8.836 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.1757, allocations: 1.128 MB / 0.6704 GB, free: 7.664 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.165e-05/0.1758, allocations: 144 kB / 0.6706 GB, free: 7.523 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000275/0.1761, allocations: 204.1 kB / 0.6708 GB, free: 7.324 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003504/0.1796, allocations: 2.408 MB / 0.6731 GB, free: 4.902 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.698e-05/0.1797, allocations: 0 / 0.6731 GB, free: 4.902 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.1798, allocations: 72 kB / 0.6732 GB, free: 4.832 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/0.1799, allocations: 48 kB / 0.6732 GB, free: 4.785 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003362/0.1832, allocations: 2.301 MB / 0.6755 GB, free: 2.48 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/0.1952, allocations: 7.747 MB / 0.683 GB, free: 10.54 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002287/0.1975, allocations: 1.901 MB / 0.6849 GB, free: 8.625 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.1991, allocations: 1.448 MB / 0.6863 GB, free: 7.176 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 5.657e-05/0.1992, allocations: 13.31 kB / 0.6863 GB, free: 7.164 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.1992, allocations: 59.81 kB / 0.6864 GB, free: 7.098 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=146): time 3.637e-06/0.1993, allocations: 0 / 0.6864 GB, free: 7.098 MB / 0.5295 GB Notification: Performance of matching and sorting (n=146): time 0.003238/0.2025, allocations: 2.347 MB / 0.6887 GB, free: 4.746 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.2026, allocations: 68.72 kB / 0.6887 GB, free: 4.668 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.204, allocations: 1.133 MB / 0.6898 GB, free: 3.527 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.2042, allocations: 61.7 kB / 0.6899 GB, free: 3.461 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004105/0.2046, allocations: 0.6887 MB / 0.6906 GB, free: 2.762 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003766/0.205, allocations: 0.5616 MB / 0.6911 GB, free: 2.195 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004095/0.2054, allocations: 295.6 kB / 0.6914 GB, free: 1.898 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 8.849e-05/0.2055, allocations: 305.1 kB / 0.6917 GB, free: 1.598 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.2066, allocations: 0.9095 MB / 0.6926 GB, free: 0.6875 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.208, allocations: 1.052 MB / 0.6936 GB, free: 15.62 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/0.2103, allocations: 1.947 MB / 0.6955 GB, free: 13.67 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.2103, allocations: 3.984 kB / 0.6955 GB, free: 13.66 MB / 0.5452 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003106/0.2134, allocations: 2.316 MB / 0.6978 GB, free: 11.34 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.2135, allocations: 11.98 kB / 0.6978 GB, free: 11.33 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.2135, allocations: 3.938 kB / 0.6978 GB, free: 11.32 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.2135, allocations: 8 kB / 0.6978 GB, free: 11.32 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.2152, allocations: 489.3 kB / 0.6983 GB, free: 10.84 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/0.2152, allocations: 8 kB / 0.6983 GB, free: 10.83 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009282/0.2162, allocations: 194.8 kB / 0.6985 GB, free: 10.64 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.3e-05/0.2163, allocations: 48 kB / 0.6985 GB, free: 10.59 MB / 0.5452 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (213): * Single equations (assignments): 213 * 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.0008829/0.2172, allocations: 0.6542 MB / 0.6991 GB, free: 9.926 MB / 0.5452 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.2174, allocations: 127.2 kB / 0.6993 GB, free: 9.801 MB / 0.5452 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.2177, allocations: 171.5 kB / 0.6994 GB, free: 9.625 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.2177, allocations: 15.98 kB / 0.6994 GB, free: 9.609 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.2177, allocations: 7.984 kB / 0.6995 GB, free: 9.602 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.2177, allocations: 3.984 kB / 0.6995 GB, free: 9.598 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.2198, allocations: 1.907 MB / 0.7013 GB, free: 7.637 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.2199, allocations: 0 / 0.7013 GB, free: 7.637 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/0.2217, allocations: 453.2 kB / 0.7017 GB, free: 7.191 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.2217, allocations: 4 kB / 0.7018 GB, free: 7.188 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.2218, allocations: 59.95 kB / 0.7018 GB, free: 7.129 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.2218, allocations: 4 kB / 0.7018 GB, free: 7.125 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2219, allocations: 4 kB / 0.7018 GB, free: 7.121 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003205/0.2251, allocations: 2.759 MB / 0.7045 GB, free: 4.352 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.2254, allocations: 248 kB / 0.7047 GB, free: 4.09 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.2256, allocations: 55.97 kB / 0.7048 GB, free: 4.035 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009364/0.2265, allocations: 171.8 kB / 0.705 GB, free: 3.867 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.2267, allocations: 77.2 kB / 0.705 GB, free: 3.789 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.549e-05/0.2268, allocations: 43.92 kB / 0.7051 GB, free: 3.746 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 0.000939/0.2277, allocations: 0.8113 MB / 0.7059 GB, free: 2.934 MB / 0.5452 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2277, allocations: 0 / 0.7059 GB, free: 2.934 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0009942/0.2287, allocations: 0.5185 MB / 0.7064 GB, free: 2.414 MB / 0.5452 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 42 (lowpassfilter.y,lowpassfilter.yd,transmissionline.L[1].i,transmissionline.L[2].i,transmissionline.L[3].i,transmissionline.L[4].i,transmissionline.L[5].i,transmissionline.L[6].i,transmissionline.L[7].i,transmissionline.L[8].i,transmissionline.L[9].i,transmissionline.L[10].i,transmissionline.L[11].i,transmissionline.L[12].i,transmissionline.L[13].i,transmissionline.L[14].i,transmissionline.L[15].i,transmissionline.L[16].i,transmissionline.L[17].i,transmissionline.L[18].i,transmissionline.L[19].i,transmissionline.L[20].i,transmissionline.C[1].v,transmissionline.C[2].v,transmissionline.C[3].v,transmissionline.C[4].v,transmissionline.C[5].v,transmissionline.C[6].v,transmissionline.C[7].v,transmissionline.C[8].v,transmissionline.C[9].v,transmissionline.C[10].v,transmissionline.C[11].v,transmissionline.C[12].v,transmissionline.C[13].v,transmissionline.C[14].v,transmissionline.C[15].v,transmissionline.C[16].v,transmissionline.C[17].v,transmissionline.C[18].v,transmissionline.C[19].v,transmissionline.C[20].v) * 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 (146): * Single equations (assignments): 146 * 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.003535/0.2323, allocations: 3.399 MB / 0.7097 GB, free: 14.99 MB / 0.5608 GB Notification: Performance of simCode: created initialization part: time 0.002624/0.2349, allocations: 1.92 MB / 0.7116 GB, free: 13.07 MB / 0.5608 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.2349, allocations: 256 / 0.7116 GB, free: 13.07 MB / 0.5608 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.2359, allocations: 0.8661 MB / 0.7124 GB, free: 12.2 MB / 0.5608 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.237, allocations: 281.3 kB / 0.7127 GB, free: 11.93 MB / 0.5608 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02171/0.2587, allocations: 17.48 MB / 0.7298 GB, free: 10.27 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.2599, allocations: 1.69 MB / 0.7314 GB, free: 8.547 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.001406/0.2614, allocations: 0.6308 MB / 0.732 GB, free: 7.91 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007264/0.2621, allocations: 0.5501 MB / 0.7326 GB, free: 7.359 MB / 0.5764 GB Notification: Performance of SimCode: time 8.82e-07/0.2621, allocations: 0 / 0.7326 GB, free: 7.359 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06026/0.3224, allocations: 33.49 MB / 0.7653 GB, free: 6.285 MB / 0.6077 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.719/10.04, allocations: 10.81 kB / 0.7653 GB, free: 6.277 MB / 0.6077 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_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_TransmissionLineModelica_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches