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.00133/0.00133, allocations: 113.4 kB / 17.05 MB, free: 6.086 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.001335/0.001335, allocations: 192 kB / 17.99 MB, free: 5.184 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.319/1.319, 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.8866/0.8866, allocations: 119.3 MB / 411.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 62.52 kB / 0.5719 GB, free: 39.18 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1352, allocations: 80.7 MB / 0.6507 GB, free: 12.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_10): time 0.00381/0.1391, allocations: 2.586 MB / 0.6532 GB, free: 9.461 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1403, allocations: 0.5882 MB / 0.6538 GB, free: 8.867 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/0.1406, allocations: 4 kB / 0.6538 GB, free: 8.863 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.1408, allocations: 51.5 kB / 0.6538 GB, free: 8.812 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.1411, allocations: 83.27 kB / 0.6539 GB, free: 8.73 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.1414, allocations: 83.91 kB / 0.654 GB, free: 8.648 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001367/0.1428, allocations: 1.688 MB / 0.6556 GB, free: 6.953 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000832/0.1436, allocations: 0.7119 MB / 0.6563 GB, free: 6.219 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007188/0.1444, allocations: 0.5883 MB / 0.6569 GB, free: 5.629 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008907/0.1453, allocations: 0.6188 MB / 0.6575 GB, free: 5.008 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0003195/0.1456, allocations: 156 kB / 0.6577 GB, free: 4.855 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003351/0.1459, allocations: 152 kB / 0.6578 GB, free: 4.707 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0003061/0.1463, allocations: 319 kB / 0.6581 GB, free: 4.395 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0008869/0.1472, allocations: 0.6341 MB / 0.6587 GB, free: 3.758 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.1487, allocations: 1.772 MB / 0.6605 GB, free: 1.98 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.704e-05/0.1488, allocations: 4 kB / 0.6605 GB, free: 1.977 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.993e-06/0.1488, allocations: 0 / 0.6605 GB, free: 1.977 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.482e-05/0.1488, allocations: 0 / 0.6605 GB, free: 1.977 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003494/0.1523, allocations: 1.535 MB / 0.662 GB, free: 400 kB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.1524, allocations: 12.03 kB / 0.662 GB, free: 388 kB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003034/0.1527, allocations: 152.3 kB / 0.6621 GB, free: 228 kB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.153, allocations: 128.2 kB / 0.6622 GB, free: 100 kB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.1542, allocations: 0.6656 MB / 0.6629 GB, free: 15.39 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/0.1543, allocations: 86.38 kB / 0.663 GB, free: 15.3 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/0.1545, allocations: 108.3 kB / 0.6631 GB, free: 15.2 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.1566, allocations: 1.276 MB / 0.6643 GB, free: 13.92 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.1566, allocations: 0 / 0.6643 GB, free: 13.92 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.1568, allocations: 40 kB / 0.6644 GB, free: 13.88 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.1568, allocations: 24 kB / 0.6644 GB, free: 13.86 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.1585, allocations: 1.191 MB / 0.6655 GB, free: 12.66 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006274/0.1648, allocations: 4.134 MB / 0.6696 GB, free: 8.406 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.1661, allocations: 0.9568 MB / 0.6705 GB, free: 7.434 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008025/0.1669, allocations: 0.701 MB / 0.6712 GB, free: 6.73 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.1669, allocations: 8.656 kB / 0.6712 GB, free: 6.723 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.167, allocations: 47.2 kB / 0.6713 GB, free: 6.668 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=76): time 4.258e-06/0.167, allocations: 3.938 kB / 0.6713 GB, free: 6.664 MB / 0.5139 GB Notification: Performance of matching and sorting (n=76): time 0.001691/0.1687, allocations: 1.221 MB / 0.6725 GB, free: 5.434 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.1687, allocations: 60.06 kB / 0.6725 GB, free: 5.363 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007261/0.1695, allocations: 0.6579 MB / 0.6732 GB, free: 4.699 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 7.116e-05/0.1695, allocations: 45.7 kB / 0.6732 GB, free: 4.648 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.1698, allocations: 424.7 kB / 0.6736 GB, free: 4.227 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.17, allocations: 301.4 kB / 0.6739 GB, free: 3.93 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.1702, allocations: 162.6 kB / 0.674 GB, free: 3.766 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1704, allocations: 382.7 kB / 0.6744 GB, free: 3.383 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006247/0.171, allocations: 477.6 kB / 0.6749 GB, free: 2.914 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/0.1717, allocations: 0.5536 MB / 0.6754 GB, free: 2.348 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.1729, allocations: 1.018 MB / 0.6764 GB, free: 1.316 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1729, allocations: 4 kB / 0.6764 GB, free: 1.312 MB / 0.5139 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001571/0.1745, allocations: 1.219 MB / 0.6776 GB, free: 88 kB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1745, allocations: 4 kB / 0.6776 GB, free: 84 kB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1745, allocations: 0 / 0.6776 GB, free: 84 kB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.1746, allocations: 8 kB / 0.6776 GB, free: 76 kB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009464/0.1755, allocations: 255.8 kB / 0.6779 GB, free: 15.82 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.1755, allocations: 8 kB / 0.6779 GB, free: 15.82 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005123/0.1761, allocations: 99.36 kB / 0.678 GB, free: 15.72 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.1761, allocations: 20 kB / 0.678 GB, free: 15.7 MB / 0.5295 GB 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.0004702/0.1766, allocations: 406.2 kB / 0.6784 GB, free: 15.29 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.1767, allocations: 71.58 kB / 0.6784 GB, free: 15.22 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.1769, allocations: 98.38 kB / 0.6785 GB, free: 15.12 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.1769, allocations: 8 kB / 0.6785 GB, free: 15.12 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.1769, allocations: 0 / 0.6785 GB, free: 15.12 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.1769, allocations: 3.984 kB / 0.6785 GB, free: 15.11 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.1781, allocations: 1.056 MB / 0.6796 GB, free: 14.01 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1781, allocations: 0 / 0.6796 GB, free: 14.01 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.1791, allocations: 223.7 kB / 0.6798 GB, free: 13.79 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.1791, allocations: 8 kB / 0.6798 GB, free: 13.78 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.695e-05/0.1792, allocations: 35.97 kB / 0.6798 GB, free: 13.75 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.1792, allocations: 7.938 kB / 0.6798 GB, free: 13.74 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1792, allocations: 3.984 kB / 0.6798 GB, free: 13.73 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.181, allocations: 1.481 MB / 0.6813 GB, free: 12.23 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.1812, allocations: 164.5 kB / 0.6814 GB, free: 12.05 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.1813, allocations: 31.98 kB / 0.6815 GB, free: 12.02 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005718/0.1819, allocations: 83.91 kB / 0.6815 GB, free: 11.94 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.13e-05/0.182, allocations: 48.72 kB / 0.6816 GB, free: 11.89 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/0.182, allocations: 20 kB / 0.6816 GB, free: 11.88 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.000524/0.1826, allocations: 483 kB / 0.6821 GB, free: 11.4 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1826, allocations: 0 / 0.6821 GB, free: 11.4 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0006439/0.1832, allocations: 283.4 kB / 0.6823 GB, free: 11.12 MB / 0.5295 GB 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.002048/0.1853, allocations: 2.063 MB / 0.6844 GB, free: 9.035 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.001324/0.1866, allocations: 0.9873 MB / 0.6853 GB, free: 8.047 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.1866, allocations: 4 kB / 0.6853 GB, free: 8.043 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0005174/0.1872, allocations: 451.7 kB / 0.6858 GB, free: 7.605 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007186/0.1879, allocations: 147.6 kB / 0.6859 GB, free: 7.465 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.1995, allocations: 9.668 MB / 0.6953 GB, free: 13.67 MB / 0.5452 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006527/0.2001, allocations: 1.204 MB / 0.6965 GB, free: 12.43 MB / 0.5452 GB Notification: Performance of simCode: alias equations: time 0.0006966/0.2009, allocations: 309.4 kB / 0.6968 GB, free: 12.13 MB / 0.5452 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/0.2013, allocations: 299.3 kB / 0.6971 GB, free: 11.84 MB / 0.5452 GB Notification: Performance of SimCode: time 9.02e-07/0.2013, allocations: 0 / 0.6971 GB, free: 11.84 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04447/0.2458, allocations: 18.25 MB / 0.7149 GB, free: 9.922 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.81/9.056, allocations: 448 / 0.7149 GB, free: 9.922 MB / 0.5608 GB (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