Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_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.TransmissionLineEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_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.00154/0.00154, allocations: 106.3 kB / 16.92 MB, free: 5.777 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.001787/0.001787, 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.494/1.494, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.303/1.303, allocations: 119.3 MB / 411 MB, free: 9.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001648, allocations: 63.91 kB / 0.4924 GB, free: 12.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7859/0.7876, allocations: 80.7 MB / 0.5712 GB, free: 43.79 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10): time 0.003638/0.7913, allocations: 1.325 MB / 0.5725 GB, free: 42.74 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0003444/0.7917, allocations: 57.95 kB / 0.5726 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.7917, allocations: 1.469 kB / 0.5726 GB, free: 42.7 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.7919, allocations: 7.922 kB / 0.5726 GB, free: 42.69 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.792, allocations: 18.81 kB / 0.5726 GB, free: 42.67 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.7923, allocations: 17.56 kB / 0.5726 GB, free: 42.66 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003513/0.7926, allocations: 196.1 kB / 0.5728 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 9.938e-05/0.7927, allocations: 3.375 kB / 0.5728 GB, free: 42.56 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.7929, allocations: 76.34 kB / 0.5729 GB, free: 42.52 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002576/0.7932, allocations: 100.7 kB / 0.573 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.457e-05/0.7932, allocations: 9.906 kB / 0.573 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.654e-05/0.7933, allocations: 9 kB / 0.573 GB, free: 42.46 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.7934, allocations: 70.47 kB / 0.5731 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.7936, allocations: 76.94 kB / 0.5731 GB, free: 42.37 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.7938, allocations: 134.5 kB / 0.5733 GB, free: 42.29 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.7939, allocations: 1.562 kB / 0.5733 GB, free: 42.29 MB / 462.3 MB Notification: Performance of FrontEnd: time 4.568e-06/0.7939, allocations: 3.938 kB / 0.5733 GB, free: 42.29 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.7939, allocations: 0 / 0.5733 GB, free: 42.29 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001348/0.7952, allocations: 0.527 MB / 0.5738 GB, free: 41.82 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 7.102e-05/0.7953, allocations: 10.41 kB / 0.5738 GB, free: 41.82 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.377e-05/0.7954, allocations: 47.14 kB / 0.5738 GB, free: 41.77 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.662e-05/0.7955, allocations: 15.28 kB / 0.5738 GB, free: 41.77 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.7958, allocations: 214 kB / 0.5741 GB, free: 41.54 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.7958, allocations: 15.62 kB / 0.5741 GB, free: 41.54 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-05/0.7959, allocations: 32.95 kB / 0.5741 GB, free: 41.52 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.7964, allocations: 184.4 kB / 0.5743 GB, free: 41.41 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.7964, allocations: 3.938 kB / 0.5743 GB, free: 41.4 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.7965, allocations: 9.125 kB / 0.5743 GB, free: 41.39 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.7965, allocations: 3.312 kB / 0.5743 GB, free: 41.39 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.7968, allocations: 112.8 kB / 0.5744 GB, free: 41.34 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.7982, allocations: 0.6057 MB / 0.575 GB, free: 40.89 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/0.8002, allocations: 0.5751 MB / 0.5755 GB, free: 40.65 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.8004, allocations: 97.62 kB / 0.5756 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.8004, allocations: 7.766 kB / 0.5756 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.8005, allocations: 34.94 kB / 0.5757 GB, free: 40.55 MB / 462.3 MB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.8005, allocations: 3.938 kB / 0.5757 GB, free: 40.54 MB / 462.3 MB Notification: Performance of matching and sorting (n=22): time 0.0007191/0.8012, allocations: 318.6 kB / 0.576 GB, free: 40.38 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.8013, allocations: 57.69 kB / 0.576 GB, free: 40.32 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.8014, allocations: 121.7 kB / 0.5762 GB, free: 40.2 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.8014, allocations: 32.61 kB / 0.5762 GB, free: 40.17 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.018e-05/0.8015, allocations: 102.8 kB / 0.5763 GB, free: 40.07 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 7.682e-05/0.8016, allocations: 102.4 kB / 0.5764 GB, free: 39.98 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.8017, allocations: 66.95 kB / 0.5765 GB, free: 39.93 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.8018, allocations: 336.3 kB / 0.5768 GB, free: 39.6 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.802, allocations: 109.7 kB / 0.5769 GB, free: 39.55 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.8022, allocations: 117.5 kB / 0.577 GB, free: 39.5 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.8027, allocations: 256.5 kB / 0.5772 GB, free: 39.38 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.8027, allocations: 0.9375 kB / 0.5772 GB, free: 39.38 MB / 462.3 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005295/0.8032, allocations: 339.4 kB / 0.5776 GB, free: 39.21 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.8033, allocations: 5.5 kB / 0.5776 GB, free: 39.21 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.8033, allocations: 0 / 0.5776 GB, free: 39.21 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.8033, allocations: 1.375 kB / 0.5776 GB, free: 39.21 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004759/0.8038, allocations: 113.2 kB / 0.5777 GB, free: 39.19 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.8038, allocations: 5.375 kB / 0.5777 GB, free: 39.19 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.8039, allocations: 28.02 kB / 0.5777 GB, free: 39.17 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.804, allocations: 14.81 kB / 0.5777 GB, free: 39.16 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 (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 prepare postOptimizeDAE: time 0.000122/0.8041, allocations: 136.7 kB / 0.5779 GB, free: 39.03 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/0.8042, allocations: 17.3 kB / 0.5779 GB, free: 39.02 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.619e-05/0.8042, allocations: 30.2 kB / 0.5779 GB, free: 38.99 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.8043, allocations: 2.781 kB / 0.5779 GB, free: 38.99 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.8043, allocations: 0.9062 kB / 0.5779 GB, free: 38.99 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.8043, allocations: 4 kB / 0.5779 GB, free: 38.98 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.8046, allocations: 274.6 kB / 0.5782 GB, free: 38.72 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8046, allocations: 0 / 0.5782 GB, free: 38.72 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000655/0.8053, allocations: 113.4 kB / 0.5783 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.8053, allocations: 0.9062 kB / 0.5783 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.8053, allocations: 14.45 kB / 0.5783 GB, free: 38.69 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.8054, allocations: 0.9062 kB / 0.5783 GB, free: 38.69 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8054, allocations: 0.9375 kB / 0.5783 GB, free: 38.69 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006397/0.806, allocations: 426.8 kB / 0.5787 GB, free: 38.43 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.8061, allocations: 96.48 kB / 0.5788 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.493e-05/0.8061, allocations: 14.45 kB / 0.5788 GB, free: 38.32 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.8063, allocations: 12.58 kB / 0.5788 GB, free: 38.31 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.8063, allocations: 15.33 kB / 0.5788 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.8064, allocations: 15.67 kB / 0.5788 GB, free: 38.29 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.599e-05/0.8064, allocations: 93.41 kB / 0.5789 GB, free: 38.21 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8064, allocations: 0 / 0.5789 GB, free: 38.21 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003422/0.8068, allocations: 63.19 kB / 0.579 GB, free: 38.2 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],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 (22): * Single equations (assignments): 22 * 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.0008579/0.8076, allocations: 0.9639 MB / 0.5799 GB, free: 37.4 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0004904/0.8081, allocations: 289.4 kB / 0.5802 GB, free: 37.29 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8081, allocations: 0 / 0.5802 GB, free: 37.29 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.8083, allocations: 109.6 kB / 0.5803 GB, free: 37.25 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.8086, allocations: 23.7 kB / 0.5803 GB, free: 37.23 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004495/0.8132, allocations: 3.592 MB / 0.5838 GB, free: 34.52 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.8135, allocations: 0.7364 MB / 0.5846 GB, free: 33.79 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001823/0.8137, allocations: 72.75 kB / 0.5846 GB, free: 33.77 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.8138, allocations: 49.73 kB / 0.5847 GB, free: 33.73 MB / 462.3 MB Notification: Performance of SimCode: time 6.92e-07/0.8138, allocations: 1.219 kB / 0.5847 GB, free: 33.73 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.8402, allocations: 4.107 MB / 0.5887 GB, free: 31.3 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.718/9.558, allocations: 9.219 kB / 0.5887 GB, free: 31.29 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_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_TransmissionLineEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches