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: translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.20.|cur.2.|cur.3.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.20..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.20.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20") translateModel(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20,tolerance=1e-08,outputFormat="mat",numberOfIntervals=3998,variableFilter="cur.1.|cur.20.|cur.2.|cur.3.|cur.4.|cur.5.|der.cur.1..|der.cur.2..|der.cur.3..|der.cur.4..|der.cur.5..|der.vol.1..|der.vol.20..|der.vol.2..|der.vol.3..|der.vol.4..|der.vol.5..|time|time|vol.1.|vol.20.|vol.2.|vol.3.|vol.4.|vol.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 111.8 kB / 17.74 MB, free: 5.316 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.00121/0.00121, allocations: 189.6 kB / 18.67 MB, free: 4.395 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.307/1.307, allocations: 222.9 MB / 242.4 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.8566/0.8566, allocations: 119.3 MB / 411.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 61.88 kB / 0.573 GB, free: 38.86 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.148, allocations: 80.7 MB / 0.6518 GB, free: 11.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.002539/0.1506, allocations: 1.358 MB / 0.6532 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003041/0.1509, allocations: 55.8 kB / 0.6532 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.864e-05/0.151, allocations: 0 / 0.6532 GB, free: 10.16 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.1511, allocations: 3.938 kB / 0.6532 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.1512, allocations: 27.89 kB / 0.6532 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.1514, allocations: 15.92 kB / 0.6533 GB, free: 10.11 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0003669/0.1518, allocations: 359.4 kB / 0.6536 GB, free: 9.758 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.995e-05/0.1519, allocations: 4 kB / 0.6536 GB, free: 9.754 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.1521, allocations: 131.8 kB / 0.6537 GB, free: 9.625 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000362/0.1525, allocations: 175.6 kB / 0.6539 GB, free: 9.453 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.702e-05/0.1526, allocations: 20 kB / 0.6539 GB, free: 9.434 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 6.124e-05/0.1527, allocations: 20 kB / 0.6539 GB, free: 9.414 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.1528, allocations: 139.7 kB / 0.6541 GB, free: 9.277 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.153, allocations: 139.4 kB / 0.6542 GB, free: 9.141 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.1534, allocations: 259.2 kB / 0.6545 GB, free: 8.887 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1534, allocations: 0 / 0.6545 GB, free: 8.887 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.235e-06/0.1534, allocations: 0 / 0.6545 GB, free: 8.887 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.1534, allocations: 0 / 0.6545 GB, free: 8.887 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.00176/0.1552, allocations: 0.7571 MB / 0.6552 GB, free: 8.074 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1552, allocations: 11.89 kB / 0.6552 GB, free: 8.062 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.86e-05/0.1553, allocations: 32.66 kB / 0.6552 GB, free: 8.031 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.1557, allocations: 236.1 kB / 0.6555 GB, free: 7.762 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.1557, allocations: 28.94 kB / 0.6555 GB, free: 7.734 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.1559, allocations: 64.17 kB / 0.6555 GB, free: 7.672 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006056/0.1565, allocations: 353.2 kB / 0.6559 GB, free: 7.324 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.1565, allocations: 192 / 0.6559 GB, free: 7.324 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.1565, allocations: 15.88 kB / 0.6559 GB, free: 7.309 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.1566, allocations: 8 kB / 0.6559 GB, free: 7.301 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003723/0.1569, allocations: 206.1 kB / 0.6561 GB, free: 7.098 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.159, allocations: 0.9943 MB / 0.6571 GB, free: 6.055 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003723/0.1628, allocations: 1.217 MB / 0.6583 GB, free: 4.828 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.1631, allocations: 192.8 kB / 0.6584 GB, free: 4.637 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.1631, allocations: 4 kB / 0.6585 GB, free: 4.633 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.1632, allocations: 38.5 kB / 0.6585 GB, free: 4.586 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=42): time 2.324e-06/0.1632, allocations: 0 / 0.6585 GB, free: 4.586 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42): time 0.001058/0.1643, allocations: 0.5668 MB / 0.659 GB, free: 4.012 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.1643, allocations: 71.28 kB / 0.6591 GB, free: 3.93 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.1645, allocations: 125.8 kB / 0.6592 GB, free: 3.797 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.1645, allocations: 37.7 kB / 0.6593 GB, free: 3.754 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.1646, allocations: 121.2 kB / 0.6594 GB, free: 3.629 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.1647, allocations: 193.2 kB / 0.6596 GB, free: 3.438 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.1649, allocations: 122.3 kB / 0.6597 GB, free: 3.312 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1651, allocations: 346.8 kB / 0.66 GB, free: 2.965 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.1654, allocations: 217.2 kB / 0.6602 GB, free: 2.754 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003635/0.1658, allocations: 237.8 kB / 0.6604 GB, free: 2.52 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000773/0.1666, allocations: 0.497 MB / 0.6609 GB, free: 2.02 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1666, allocations: 0 / 0.6609 GB, free: 2.02 MB / 0.4983 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008668/0.1674, allocations: 0.6256 MB / 0.6615 GB, free: 1.387 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1675, allocations: 6.969 kB / 0.6615 GB, free: 1.383 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1675, allocations: 0 / 0.6615 GB, free: 1.383 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.1675, allocations: 4 kB / 0.6616 GB, free: 1.379 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008568/0.1684, allocations: 223.8 kB / 0.6618 GB, free: 1.16 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.1684, allocations: 4 kB / 0.6618 GB, free: 1.156 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.1687, allocations: 59.5 kB / 0.6618 GB, free: 1.098 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.1687, allocations: 24 kB / 0.6618 GB, free: 1.074 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.0001617/0.1689, allocations: 158.6 kB / 0.662 GB, free: 0.9102 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.169, allocations: 23.75 kB / 0.662 GB, free: 0.8867 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.1691, allocations: 53.95 kB / 0.6621 GB, free: 0.832 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1691, allocations: 8 kB / 0.6621 GB, free: 0.8242 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1691, allocations: 0 / 0.6621 GB, free: 0.8242 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.1691, allocations: 0 / 0.6621 GB, free: 0.8242 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/0.1696, allocations: 393 kB / 0.6625 GB, free: 400 kB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.1696, allocations: 7.938 kB / 0.6625 GB, free: 392 kB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.1708, allocations: 219.8 kB / 0.6627 GB, free: 172 kB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.228e-06/0.1708, allocations: 4 kB / 0.6627 GB, free: 168 kB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.127e-05/0.1709, allocations: 27.97 kB / 0.6627 GB, free: 140 kB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1709, allocations: 0 / 0.6627 GB, free: 140 kB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1709, allocations: 0 / 0.6627 GB, free: 140 kB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009986/0.1719, allocations: 0.7105 MB / 0.6634 GB, free: 15.41 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.172, allocations: 100.8 kB / 0.6635 GB, free: 15.29 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.172, allocations: 23.97 kB / 0.6635 GB, free: 15.27 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.1723, allocations: 19.98 kB / 0.6635 GB, free: 15.25 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.402e-05/0.1724, allocations: 31.89 kB / 0.6636 GB, free: 15.22 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.1724, allocations: 12 kB / 0.6636 GB, free: 15.21 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.581e-05/0.1725, allocations: 95.27 kB / 0.6637 GB, free: 15.11 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1e-07/0.1725, allocations: 0 / 0.6637 GB, free: 15.11 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003524/0.1729, allocations: 119.8 kB / 0.6638 GB, free: 15 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.0001531/0.173, allocations: 131.7 kB / 0.6639 GB, free: 14.86 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0007663/0.1738, allocations: 495.3 kB / 0.6644 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1738, allocations: 0 / 0.6644 GB, free: 14.38 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.1741, allocations: 223.8 kB / 0.6646 GB, free: 14.16 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.1744, allocations: 27.59 kB / 0.6646 GB, free: 14.14 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/0.1777, allocations: 2.735 MB / 0.6673 GB, free: 11.36 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.1781, allocations: 0.8027 MB / 0.6681 GB, free: 10.54 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.1783, allocations: 27.44 kB / 0.6681 GB, free: 10.51 MB / 0.5139 GB Notification: Performance of SimCode: time 3.91e-07/0.1783, allocations: 0 / 0.6681 GB, free: 10.51 MB / 0.5139 GB Notification: Performance of Templates: time 0.007293/0.1856, allocations: 4.543 MB / 0.6725 GB, free: 5.973 MB / 0.5139 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.makefile (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 & ./ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat","/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