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.001309/0.001309, allocations: 112.6 kB / 17.06 MB, free: 5.992 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.001185/0.001185, allocations: 193.4 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.371/1.371, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9829/0.9829, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 62.94 kB / 0.5719 GB, free: 39.13 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1395, allocations: 80.69 MB / 0.6507 GB, free: 12.04 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10): time 0.0023/0.1419, allocations: 1.331 MB / 0.652 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002292/0.1421, allocations: 59.78 kB / 0.652 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.213e-05/0.1422, allocations: 4 kB / 0.652 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.1423, allocations: 3.938 kB / 0.6521 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 9.835e-05/0.1424, allocations: 23.83 kB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.1425, allocations: 15.98 kB / 0.6521 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.1428, allocations: 199.5 kB / 0.6523 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.1428, allocations: 7.984 kB / 0.6523 GB, free: 10.39 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 8.14e-05/0.1429, allocations: 71.88 kB / 0.6524 GB, free: 10.32 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.1431, allocations: 95.8 kB / 0.6524 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.1432, allocations: 12 kB / 0.6525 GB, free: 10.22 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 3.267e-05/0.1432, allocations: 8 kB / 0.6525 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.1433, allocations: 83.7 kB / 0.6525 GB, free: 10.13 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.1434, allocations: 75.64 kB / 0.6526 GB, free: 10.05 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.1436, allocations: 131.5 kB / 0.6527 GB, free: 9.926 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.1436, allocations: 4 kB / 0.6527 GB, free: 9.922 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1436, allocations: 0 / 0.6527 GB, free: 9.922 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.1436, allocations: 0 / 0.6527 GB, free: 9.922 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001192/0.1448, allocations: 0.5378 MB / 0.6533 GB, free: 9.332 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1449, allocations: 8.031 kB / 0.6533 GB, free: 9.324 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.129e-05/0.1449, allocations: 50.73 kB / 0.6533 GB, free: 9.266 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.145, allocations: 16.84 kB / 0.6533 GB, free: 9.25 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.1453, allocations: 220.1 kB / 0.6536 GB, free: 8.996 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.1453, allocations: 12.38 kB / 0.6536 GB, free: 8.984 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.134e-05/0.1454, allocations: 32.33 kB / 0.6536 GB, free: 8.953 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.1457, allocations: 186.6 kB / 0.6538 GB, free: 8.766 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1458, allocations: 3.938 kB / 0.6538 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.1458, allocations: 8 kB / 0.6538 GB, free: 8.754 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.1458, allocations: 8 kB / 0.6538 GB, free: 8.746 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/0.146, allocations: 115.8 kB / 0.6539 GB, free: 8.633 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.1472, allocations: 0.5979 MB / 0.6545 GB, free: 7.984 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.149, allocations: 0.5762 MB / 0.6551 GB, free: 7.398 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.1492, allocations: 96.8 kB / 0.6551 GB, free: 7.301 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.1492, allocations: 4 kB / 0.6551 GB, free: 7.297 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.1492, allocations: 30.94 kB / 0.6552 GB, free: 7.258 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=22): time 1.222e-06/0.1492, allocations: 0 / 0.6552 GB, free: 7.258 MB / 0.4983 GB Notification: Performance of matching and sorting (n=22): time 0.0005905/0.1498, allocations: 324 kB / 0.6555 GB, free: 6.938 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.1499, allocations: 51.41 kB / 0.6555 GB, free: 6.875 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.15, allocations: 121.8 kB / 0.6557 GB, free: 6.746 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.15, allocations: 33.7 kB / 0.6557 GB, free: 6.707 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.1501, allocations: 105 kB / 0.6558 GB, free: 6.602 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 9.083e-05/0.1502, allocations: 111.1 kB / 0.6559 GB, free: 6.492 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.51e-05/0.1503, allocations: 65.7 kB / 0.656 GB, free: 6.422 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1504, allocations: 330.8 kB / 0.6563 GB, free: 6.09 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.1506, allocations: 111.9 kB / 0.6564 GB, free: 5.98 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.1508, allocations: 119.7 kB / 0.6565 GB, free: 5.863 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.1512, allocations: 257.6 kB / 0.6567 GB, free: 5.609 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1512, allocations: 0 / 0.6567 GB, free: 5.609 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004895/0.1517, allocations: 345.6 kB / 0.6571 GB, free: 5.266 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1517, allocations: 7.125 kB / 0.6571 GB, free: 5.262 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1517, allocations: 0 / 0.6571 GB, free: 5.262 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1518, allocations: 7.938 kB / 0.6571 GB, free: 5.254 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004551/0.1522, allocations: 111.9 kB / 0.6572 GB, free: 5.145 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1522, allocations: 3.984 kB / 0.6572 GB, free: 5.141 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.1524, allocations: 23.88 kB / 0.6572 GB, free: 5.117 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.1524, allocations: 12 kB / 0.6572 GB, free: 5.105 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 (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.000123/0.1525, allocations: 146.5 kB / 0.6574 GB, free: 4.953 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.1526, allocations: 11.91 kB / 0.6574 GB, free: 4.941 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.127e-05/0.1527, allocations: 28.84 kB / 0.6574 GB, free: 4.91 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.1527, allocations: 3.984 kB / 0.6574 GB, free: 4.906 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1527, allocations: 0 / 0.6574 GB, free: 4.906 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1527, allocations: 4 kB / 0.6574 GB, free: 4.902 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.153, allocations: 269.4 kB / 0.6577 GB, free: 4.59 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.153, allocations: 0 / 0.6577 GB, free: 4.59 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006318/0.1537, allocations: 111.9 kB / 0.6578 GB, free: 4.48 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1537, allocations: 7.984 kB / 0.6578 GB, free: 4.473 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.1537, allocations: 8 kB / 0.6578 GB, free: 4.465 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1537, allocations: 3.984 kB / 0.6578 GB, free: 4.461 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1537, allocations: 0 / 0.6578 GB, free: 4.461 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005797/0.1543, allocations: 437.2 kB / 0.6582 GB, free: 4.023 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.1544, allocations: 89.17 kB / 0.6583 GB, free: 3.918 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.1544, allocations: 11.98 kB / 0.6583 GB, free: 3.906 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.1546, allocations: 19.98 kB / 0.6583 GB, free: 3.887 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.1547, allocations: 11.98 kB / 0.6583 GB, free: 3.875 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.1547, allocations: 4 kB / 0.6583 GB, free: 3.871 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 7.041e-05/0.1547, allocations: 103.2 kB / 0.6584 GB, free: 3.77 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1548, allocations: 0 / 0.6584 GB, free: 3.77 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002736/0.155, allocations: 64.17 kB / 0.6585 GB, free: 3.707 MB / 0.4983 GB 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.0009032/0.1559, allocations: 0.9668 MB / 0.6594 GB, free: 2.715 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0004218/0.1564, allocations: 254.7 kB / 0.6597 GB, free: 2.469 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1564, allocations: 0 / 0.6597 GB, free: 2.469 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.1566, allocations: 115.9 kB / 0.6598 GB, free: 2.355 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.1568, allocations: 11.66 kB / 0.6598 GB, free: 2.348 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/0.1609, allocations: 3.62 MB / 0.6633 GB, free: 14.64 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.1613, allocations: 0.7398 MB / 0.6641 GB, free: 13.87 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0001731/0.1615, allocations: 77.39 kB / 0.6641 GB, free: 13.79 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.1616, allocations: 51.42 kB / 0.6642 GB, free: 13.74 MB / 0.5139 GB Notification: Performance of SimCode: time 2.31e-07/0.1616, allocations: 0 / 0.6642 GB, free: 13.74 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.1897, allocations: 4.176 MB / 0.6683 GB, free: 9.754 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.161, allocations: 10.47 kB / 0.6683 GB, free: 9.742 MB / 0.5139 GB (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