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.001207/0.001207, allocations: 113.2 kB / 17.07 MB, free: 5.988 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.001196/0.001196, allocations: 195 kB / 18 MB, free: 5.074 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.297/1.297, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9001/0.9001, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 62.34 kB / 0.5719 GB, free: 39.13 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1389, allocations: 80.69 MB / 0.6507 GB, free: 12.09 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002184/0.1412, allocations: 1.358 MB / 0.652 GB, free: 10.73 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002259/0.1414, allocations: 43.86 kB / 0.6521 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.93e-05/0.1415, allocations: 4 kB / 0.6521 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.1416, allocations: 7.922 kB / 0.6521 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 9.177e-05/0.1417, allocations: 19.84 kB / 0.6521 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.1418, allocations: 15.97 kB / 0.6521 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.1422, allocations: 359.3 kB / 0.6525 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.411e-05/0.1422, allocations: 12 kB / 0.6525 GB, free: 10.27 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1423, allocations: 123.8 kB / 0.6526 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.1426, allocations: 187.5 kB / 0.6528 GB, free: 9.969 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.42e-05/0.1427, allocations: 20 kB / 0.6528 GB, free: 9.949 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 4.964e-05/0.1427, allocations: 16 kB / 0.6528 GB, free: 9.934 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.1429, allocations: 135.7 kB / 0.6529 GB, free: 9.801 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.143, allocations: 143.4 kB / 0.6531 GB, free: 9.66 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.1433, allocations: 255 kB / 0.6533 GB, free: 9.41 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1433, allocations: 0 / 0.6533 GB, free: 9.41 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1433, allocations: 0 / 0.6533 GB, free: 9.41 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.1433, allocations: 4 kB / 0.6533 GB, free: 9.406 MB / 0.4983 GB 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.001616/0.1449, allocations: 0.7491 MB / 0.654 GB, free: 8.602 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.145, allocations: 12.03 kB / 0.6541 GB, free: 8.59 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.13e-05/0.145, allocations: 62.72 kB / 0.6541 GB, free: 8.52 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.794e-05/0.1451, allocations: 32.8 kB / 0.6541 GB, free: 8.488 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.1454, allocations: 248 kB / 0.6544 GB, free: 8.207 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.1455, allocations: 32.88 kB / 0.6544 GB, free: 8.176 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.441e-05/0.1456, allocations: 60.27 kB / 0.6545 GB, free: 8.117 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/0.1461, allocations: 349.2 kB / 0.6548 GB, free: 7.77 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.1461, allocations: 7.875 kB / 0.6548 GB, free: 7.762 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.1462, allocations: 16 kB / 0.6548 GB, free: 7.746 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1462, allocations: 4 kB / 0.6548 GB, free: 7.742 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003506/0.1465, allocations: 210 kB / 0.655 GB, free: 7.535 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.1484, allocations: 0.9906 MB / 0.656 GB, free: 6.496 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003717/0.1522, allocations: 1.217 MB / 0.6572 GB, free: 5.27 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/0.1525, allocations: 192.8 kB / 0.6574 GB, free: 5.078 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.1525, allocations: 7.938 kB / 0.6574 GB, free: 5.07 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.1525, allocations: 38.5 kB / 0.6574 GB, free: 5.023 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=42): time 1.462e-06/0.1525, allocations: 0 / 0.6574 GB, free: 5.023 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42): time 0.0009441/0.1535, allocations: 0.5708 MB / 0.658 GB, free: 4.445 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.1535, allocations: 55.41 kB / 0.658 GB, free: 4.379 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.285e-05/0.1536, allocations: 125.8 kB / 0.6581 GB, free: 4.246 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.1537, allocations: 45.7 kB / 0.6582 GB, free: 4.195 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.1538, allocations: 129.2 kB / 0.6583 GB, free: 4.062 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.1539, allocations: 202.3 kB / 0.6585 GB, free: 3.863 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.154, allocations: 122.3 kB / 0.6586 GB, free: 3.738 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1542, allocations: 342.8 kB / 0.659 GB, free: 3.395 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.1545, allocations: 221.2 kB / 0.6592 GB, free: 3.18 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.1548, allocations: 237.7 kB / 0.6594 GB, free: 2.945 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006592/0.1555, allocations: 0.4931 MB / 0.6599 GB, free: 2.449 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1555, allocations: 4 kB / 0.6599 GB, free: 2.445 MB / 0.4983 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008379/0.1564, allocations: 0.6259 MB / 0.6605 GB, free: 1.812 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1564, allocations: 4 kB / 0.6605 GB, free: 1.809 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1564, allocations: 0 / 0.6605 GB, free: 1.809 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1564, allocations: 4 kB / 0.6605 GB, free: 1.805 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00083/0.1572, allocations: 223.8 kB / 0.6607 GB, free: 1.586 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1573, allocations: 0 / 0.6607 GB, free: 1.586 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.1575, allocations: 63.64 kB / 0.6608 GB, free: 1.523 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.1575, allocations: 20.38 kB / 0.6608 GB, free: 1.504 MB / 0.4983 GB 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.0001519/0.1577, allocations: 158.6 kB / 0.6609 GB, free: 1.34 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.1578, allocations: 23.8 kB / 0.661 GB, free: 1.316 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.1579, allocations: 57.95 kB / 0.661 GB, free: 1.258 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.1579, allocations: 7.938 kB / 0.661 GB, free: 1.25 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1579, allocations: 4 kB / 0.661 GB, free: 1.246 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1579, allocations: 3.938 kB / 0.661 GB, free: 1.242 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.1584, allocations: 397.1 kB / 0.6614 GB, free: 0.8047 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1584, allocations: 0 / 0.6614 GB, free: 0.8047 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.1595, allocations: 219.8 kB / 0.6616 GB, free: 0.5898 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.1596, allocations: 4 kB / 0.6616 GB, free: 0.5859 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.878e-05/0.1596, allocations: 23.97 kB / 0.6616 GB, free: 0.5625 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1596, allocations: 3.984 kB / 0.6617 GB, free: 0.5586 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1596, allocations: 4 kB / 0.6617 GB, free: 0.5547 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009154/0.1606, allocations: 0.7104 MB / 0.6623 GB, free: 15.83 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.1606, allocations: 96.89 kB / 0.6624 GB, free: 15.71 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/0.1607, allocations: 23.97 kB / 0.6625 GB, free: 15.69 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.1609, allocations: 27.97 kB / 0.6625 GB, free: 15.66 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/0.161, allocations: 27.95 kB / 0.6625 GB, free: 15.64 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.1611, allocations: 12 kB / 0.6625 GB, free: 15.62 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.536e-05/0.1611, allocations: 91.27 kB / 0.6626 GB, free: 15.54 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.322e-06/0.1611, allocations: 0 / 0.6626 GB, free: 15.54 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003288/0.1615, allocations: 119.9 kB / 0.6627 GB, free: 15.42 MB / 0.5139 GB 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.001185/0.1626, allocations: 1.269 MB / 0.664 GB, free: 14.12 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0006949/0.1633, allocations: 500 kB / 0.6644 GB, free: 13.64 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1634, allocations: 0 / 0.6644 GB, free: 13.64 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.1637, allocations: 227.5 kB / 0.6647 GB, free: 13.41 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.164, allocations: 27.98 kB / 0.6647 GB, free: 13.39 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006248/0.1702, allocations: 6.03 MB / 0.6706 GB, free: 7.27 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.1706, allocations: 0.7998 MB / 0.6714 GB, free: 6.441 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0003321/0.1709, allocations: 154.8 kB / 0.6715 GB, free: 6.293 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.1711, allocations: 95.41 kB / 0.6716 GB, free: 6.199 MB / 0.5139 GB Notification: Performance of SimCode: time 6.91e-07/0.1711, allocations: 288 / 0.6716 GB, free: 6.199 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.1969, allocations: 6.963 MB / 0.6784 GB, free: 15.43 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/8.021, allocations: 15.34 kB / 0.6784 GB, free: 15.42 MB / 0.5295 GB (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