Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_10.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_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineModelica_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineModelica_N_10",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.001591/0.001591, allocations: 107.4 kB / 16.92 MB, free: 5.781 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.001892/0.001892, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.515/1.515, 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.299/1.299, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 63.91 kB / 0.4924 GB, free: 12.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6699/0.672, allocations: 80.68 MB / 0.5712 GB, free: 44.03 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_10): time 0.003682/0.6757, allocations: 2.583 MB / 0.5737 GB, free: 42.01 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008274/0.6766, allocations: 0.5997 MB / 0.5743 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.6767, allocations: 5.156 kB / 0.5743 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.6769, allocations: 43.83 kB / 0.5744 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.6771, allocations: 85.12 kB / 0.5744 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.6773, allocations: 76.3 kB / 0.5745 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.6785, allocations: 1.688 MB / 0.5762 GB, free: 40.31 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007187/0.6792, allocations: 0.7048 MB / 0.5769 GB, free: 39.96 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004709/0.6797, allocations: 0.5901 MB / 0.5774 GB, free: 39.64 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005844/0.6803, allocations: 0.628 MB / 0.578 GB, free: 39.2 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0002198/0.6805, allocations: 153.1 kB / 0.5782 GB, free: 39.2 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.6808, allocations: 153.2 kB / 0.5783 GB, free: 39.2 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002173/0.681, allocations: 307.1 kB / 0.5786 GB, free: 38.95 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.000562/0.6816, allocations: 0.636 MB / 0.5793 GB, free: 38.5 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.6828, allocations: 1.762 MB / 0.581 GB, free: 37.23 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6828, allocations: 0 / 0.581 GB, free: 37.23 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.276e-06/0.6828, allocations: 0 / 0.581 GB, free: 37.23 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.6828, allocations: 9.125 kB / 0.581 GB, free: 37.23 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002532/0.6854, allocations: 1.506 MB / 0.5825 GB, free: 36.17 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.6854, allocations: 10.09 kB / 0.5825 GB, free: 36.17 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001697/0.6856, allocations: 158.7 kB / 0.5826 GB, free: 36.04 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001987/0.6858, allocations: 113.6 kB / 0.5827 GB, free: 35.99 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008807/0.6867, allocations: 0.6628 MB / 0.5834 GB, free: 35.48 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.839e-05/0.6868, allocations: 76.28 kB / 0.5834 GB, free: 35.45 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.6869, allocations: 106.9 kB / 0.5835 GB, free: 35.42 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.6887, allocations: 1.27 MB / 0.5848 GB, free: 34.69 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.6888, allocations: 5.406 kB / 0.5848 GB, free: 34.68 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.903e-05/0.6889, allocations: 41.12 kB / 0.5848 GB, free: 34.65 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.6889, allocations: 22.75 kB / 0.5848 GB, free: 34.65 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.6906, allocations: 1.195 MB / 0.586 GB, free: 34.04 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005361/0.696, allocations: 4.151 MB / 0.5901 GB, free: 30.04 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.697, allocations: 0.9723 MB / 0.591 GB, free: 29.06 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006817/0.6977, allocations: 0.701 MB / 0.5917 GB, free: 28.35 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.6978, allocations: 8.656 kB / 0.5917 GB, free: 28.34 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.6978, allocations: 39.22 kB / 0.5917 GB, free: 28.29 MB / 462.3 MB Notification: Performance of pre-optimization done (n=76): time 2.585e-06/0.6978, allocations: 0 / 0.5917 GB, free: 28.29 MB / 462.3 MB Notification: Performance of matching and sorting (n=76): time 0.00146/0.6993, allocations: 1.217 MB / 0.5929 GB, free: 27.07 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.6993, allocations: 68 kB / 0.593 GB, free: 26.99 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006262/0.7, allocations: 0.654 MB / 0.5936 GB, free: 26.33 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/0.7, allocations: 41.7 kB / 0.5937 GB, free: 26.29 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.7002, allocations: 419.6 kB / 0.5941 GB, free: 25.87 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.7004, allocations: 287.8 kB / 0.5944 GB, free: 25.58 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.7006, allocations: 166.7 kB / 0.5945 GB, free: 25.41 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.7007, allocations: 382.7 kB / 0.5949 GB, free: 25.03 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005168/0.7012, allocations: 469.7 kB / 0.5953 GB, free: 24.57 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005712/0.7018, allocations: 0.5614 MB / 0.5959 GB, free: 24 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.7029, allocations: 1.015 MB / 0.5969 GB, free: 22.97 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.7029, allocations: 0 / 0.5969 GB, free: 22.97 MB / 462.3 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001365/0.7042, allocations: 1.207 MB / 0.598 GB, free: 21.75 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.7043, allocations: 10.66 kB / 0.5981 GB, free: 21.75 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.7043, allocations: 0 / 0.5981 GB, free: 21.75 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.7043, allocations: 7.938 kB / 0.5981 GB, free: 21.74 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008423/0.7051, allocations: 263.8 kB / 0.5983 GB, free: 21.48 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/0.7052, allocations: 8 kB / 0.5983 GB, free: 21.47 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.7057, allocations: 95.08 kB / 0.5984 GB, free: 21.38 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.7057, allocations: 28 kB / 0.5984 GB, free: 21.35 MB / 462.3 MB 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 (113): * Single equations (assignments): 113 * 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.0003673/0.7061, allocations: 397.4 kB / 0.5988 GB, free: 20.95 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.7062, allocations: 71.25 kB / 0.5989 GB, free: 20.88 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.7064, allocations: 94.36 kB / 0.599 GB, free: 20.79 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.7064, allocations: 8 kB / 0.599 GB, free: 20.78 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.7064, allocations: 0 / 0.599 GB, free: 20.78 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.7064, allocations: 3.984 kB / 0.599 GB, free: 20.78 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000977/0.7074, allocations: 1.059 MB / 0.6 GB, free: 19.67 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.7074, allocations: 0 / 0.6 GB, free: 19.67 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009527/0.7084, allocations: 231.7 kB / 0.6002 GB, free: 19.44 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-05/0.7084, allocations: 4 kB / 0.6002 GB, free: 19.44 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.74e-05/0.7085, allocations: 31.98 kB / 0.6003 GB, free: 19.41 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.854e-06/0.7085, allocations: 0 / 0.6003 GB, free: 19.41 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7085, allocations: 0 / 0.6003 GB, free: 19.41 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.7101, allocations: 1.472 MB / 0.6017 GB, free: 17.92 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.7103, allocations: 168.1 kB / 0.6019 GB, free: 17.74 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.7104, allocations: 31.98 kB / 0.6019 GB, free: 17.71 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005687/0.711, allocations: 83.91 kB / 0.602 GB, free: 17.62 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.791e-05/0.7111, allocations: 44.72 kB / 0.602 GB, free: 17.58 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/0.7112, allocations: 24 kB / 0.6021 GB, free: 17.56 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0004434/0.7116, allocations: 486.9 kB / 0.6025 GB, free: 17.08 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7116, allocations: 0 / 0.6025 GB, free: 17.08 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0006242/0.7122, allocations: 279.2 kB / 0.6028 GB, free: 16.8 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (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.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) * 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 (76): * Single equations (assignments): 76 * 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.001783/0.714, allocations: 2.057 MB / 0.6048 GB, free: 14.72 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.7158, allocations: 1.335 MB / 0.6061 GB, free: 13.39 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.7158, allocations: 4.25 kB / 0.6061 GB, free: 13.38 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000445/0.7162, allocations: 455.4 kB / 0.6065 GB, free: 12.94 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.7169, allocations: 149.7 kB / 0.6067 GB, free: 12.79 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.7279, allocations: 9.95 MB / 0.6164 GB, free: 2.707 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007106/0.7287, allocations: 1.204 MB / 0.6176 GB, free: 1.477 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0006556/0.7293, allocations: 301.4 kB / 0.6179 GB, free: 1.18 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004083/0.7297, allocations: 295.3 kB / 0.6181 GB, free: 0.8945 MB / 462.3 MB Notification: Performance of SimCode: time 5.81e-07/0.7297, allocations: 4 kB / 0.6181 GB, free: 0.8906 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06627/0.796, allocations: 17.9 MB / 0.6356 GB, free: 15.3 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.722/9.518, allocations: 0.875 kB / 0.6356 GB, free: 15.3 MB / 494.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_10.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_10_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_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches