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.001454/0.001454, allocations: 114.7 kB / 17.07 MB, free: 5.984 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.001431/0.001431, allocations: 193.4 kB / 18 MB, free: 5.066 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.37/1.37, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.048/1.048, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 69.56 kB / 0.5719 GB, free: 39.07 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1613, allocations: 80.68 MB / 0.6507 GB, free: 12.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002463/0.1638, allocations: 1.358 MB / 0.652 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002539/0.1641, allocations: 51.84 kB / 0.6521 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.1641, allocations: 0 / 0.6521 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.1643, allocations: 3.938 kB / 0.6521 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.1644, allocations: 27.83 kB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.1645, allocations: 11.98 kB / 0.6521 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003901/0.1649, allocations: 363.3 kB / 0.6525 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 5.067e-05/0.165, allocations: 8 kB / 0.6525 GB, free: 10.24 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.1651, allocations: 123.8 kB / 0.6526 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/0.1654, allocations: 179.6 kB / 0.6528 GB, free: 9.941 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.232e-05/0.1655, allocations: 20 kB / 0.6528 GB, free: 9.922 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.074e-05/0.1655, allocations: 16 kB / 0.6528 GB, free: 9.906 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.1657, allocations: 147.6 kB / 0.6529 GB, free: 9.762 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.1659, allocations: 143.4 kB / 0.6531 GB, free: 9.621 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.1662, allocations: 251 kB / 0.6533 GB, free: 9.375 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1662, allocations: 0 / 0.6533 GB, free: 9.375 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1662, allocations: 0 / 0.6533 GB, free: 9.375 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.1662, allocations: 4 kB / 0.6533 GB, free: 9.371 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.00179/0.168, allocations: 0.7569 MB / 0.6541 GB, free: 8.559 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.168, allocations: 8.031 kB / 0.6541 GB, free: 8.551 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.611e-05/0.1681, allocations: 54.73 kB / 0.6541 GB, free: 8.488 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.293e-05/0.1682, allocations: 32.8 kB / 0.6541 GB, free: 8.457 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.1685, allocations: 256 kB / 0.6544 GB, free: 8.168 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.1686, allocations: 24.94 kB / 0.6544 GB, free: 8.145 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.908e-05/0.1687, allocations: 56.28 kB / 0.6545 GB, free: 8.09 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005717/0.1692, allocations: 349.2 kB / 0.6548 GB, free: 7.742 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.1693, allocations: 7.875 kB / 0.6548 GB, free: 7.734 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.1693, allocations: 16 kB / 0.6548 GB, free: 7.719 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.1693, allocations: 4 kB / 0.6548 GB, free: 7.715 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003815/0.1697, allocations: 206.1 kB / 0.655 GB, free: 7.512 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.1717, allocations: 1.01 MB / 0.656 GB, free: 6.453 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003806/0.1755, allocations: 1.213 MB / 0.6572 GB, free: 5.23 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.1759, allocations: 184.8 kB / 0.6574 GB, free: 5.047 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.1759, allocations: 11.92 kB / 0.6574 GB, free: 5.035 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.176, allocations: 34.56 kB / 0.6574 GB, free: 4.992 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=42): time 2.074e-06/0.176, allocations: 0 / 0.6574 GB, free: 4.992 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42): time 0.001068/0.177, allocations: 0.5746 MB / 0.658 GB, free: 4.41 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.1771, allocations: 59.41 kB / 0.658 GB, free: 4.34 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1772, allocations: 129.8 kB / 0.6582 GB, free: 4.203 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.1773, allocations: 37.7 kB / 0.6582 GB, free: 4.16 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 9.133e-05/0.1774, allocations: 125.2 kB / 0.6583 GB, free: 4.031 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.1775, allocations: 206.3 kB / 0.6585 GB, free: 3.828 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.1777, allocations: 126.3 kB / 0.6586 GB, free: 3.699 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.1779, allocations: 338.8 kB / 0.659 GB, free: 3.359 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.1783, allocations: 225.1 kB / 0.6592 GB, free: 3.141 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.1787, allocations: 229.8 kB / 0.6594 GB, free: 2.914 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007501/0.1794, allocations: 0.493 MB / 0.6599 GB, free: 2.418 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1794, allocations: 8 kB / 0.6599 GB, free: 2.41 MB / 0.4983 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009266/0.1804, allocations: 0.622 MB / 0.6605 GB, free: 1.781 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.1804, allocations: 10.66 kB / 0.6605 GB, free: 1.773 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1804, allocations: 0 / 0.6605 GB, free: 1.773 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1804, allocations: 0 / 0.6605 GB, free: 1.773 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008694/0.1813, allocations: 231.7 kB / 0.6607 GB, free: 1.547 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.1813, allocations: 4 kB / 0.6607 GB, free: 1.543 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.1816, allocations: 55.66 kB / 0.6608 GB, free: 1.488 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.1816, allocations: 19.98 kB / 0.6608 GB, free: 1.469 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.0001737/0.1818, allocations: 158.6 kB / 0.6609 GB, free: 1.305 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.56e-05/0.1819, allocations: 31.8 kB / 0.661 GB, free: 1.273 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.182, allocations: 45.97 kB / 0.661 GB, free: 1.227 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.1821, allocations: 4 kB / 0.661 GB, free: 1.223 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.1821, allocations: 4 kB / 0.661 GB, free: 1.219 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.1821, allocations: 7.922 kB / 0.661 GB, free: 1.211 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004965/0.1826, allocations: 393.6 kB / 0.6614 GB, free: 0.7773 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1826, allocations: 4 kB / 0.6614 GB, free: 0.7734 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.1838, allocations: 223.8 kB / 0.6616 GB, free: 0.5547 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1838, allocations: 0 / 0.6616 GB, free: 0.5547 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/0.1839, allocations: 31.91 kB / 0.6617 GB, free: 0.5234 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1839, allocations: 4 kB / 0.6617 GB, free: 0.5195 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.1839, allocations: 0 / 0.6617 GB, free: 0.5195 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.1849, allocations: 0.7064 MB / 0.6623 GB, free: 15.8 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.422e-05/0.185, allocations: 100.8 kB / 0.6624 GB, free: 15.68 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/0.1851, allocations: 27.97 kB / 0.6625 GB, free: 15.65 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.1854, allocations: 27.97 kB / 0.6625 GB, free: 15.62 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.1855, allocations: 23.97 kB / 0.6625 GB, free: 15.6 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.1855, allocations: 11.98 kB / 0.6625 GB, free: 15.59 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.566e-05/0.1856, allocations: 95.27 kB / 0.6626 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1856, allocations: 0 / 0.6626 GB, free: 15.5 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003547/0.1859, allocations: 112 kB / 0.6627 GB, free: 15.39 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.001364/0.1873, allocations: 1.265 MB / 0.664 GB, free: 14.1 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0008087/0.1881, allocations: 500 kB / 0.6644 GB, free: 13.61 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1881, allocations: 4 kB / 0.6644 GB, free: 13.61 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.000339/0.1885, allocations: 231.5 kB / 0.6647 GB, free: 13.38 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.1888, allocations: 16 kB / 0.6647 GB, free: 13.36 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007202/0.196, allocations: 6.042 MB / 0.6706 GB, free: 7.234 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.1965, allocations: 0.7998 MB / 0.6714 GB, free: 6.406 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0003688/0.1968, allocations: 154.8 kB / 0.6715 GB, free: 6.258 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.197, allocations: 95.41 kB / 0.6716 GB, free: 6.164 MB / 0.5139 GB Notification: Performance of SimCode: time 1.042e-06/0.1971, allocations: 0 / 0.6716 GB, free: 6.164 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.2274, allocations: 6.955 MB / 0.6784 GB, free: 15.41 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.503/8.731, allocations: 18.41 kB / 0.6784 GB, free: 15.39 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