Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_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: translateModel(ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="B.10..G|B.10..i|B.10..n.i|B.10..n.v|B.10..open|B.10..p.i|B.10..p.v|B.10..v|B.1..G|B.1..i|B.1..n.i|B.1..n.v|B.1..open|B.1..p.i|B.1..p.v|B.1..v|B.2..G|B.2..i|B.2..n.i|B.2..n.v|B.2..open|B.2..p.i|B.2..p.v|B.2..v|B.3..G|B.3..i|B.3..n.i|B.3..n.v|B.3..open|B.3..p.i|B.3..p.v|B.3..v|B.4..G|B.4..i|B.4..n.i|B.4..n.v|B.4..open|B.4..p.i|B.4..p.v|B.4..v|B.5..G|B.5..i|B.5..n.i|B.5..n.v|B.5..open|B.5..p.i|B.5..p.v|B.5..v|G.10..G_actual|G.10..LossPower|G.10..i|G.10..n.i|G.10..n.v|G.10..p.i|G.10..p.v|G.10..v|G.11..i|G.11..v|G.1..G_actual|G.1..LossPower|G.1..i|G.1..n.i|G.1..n.v|G.1..p.i|G.1..p.v|G.1..v|G.2..G_actual|G.2..LossPower|G.2..i|G.2..n.i|G.2..n.v|G.2..p.i|G.2..p.v|G.2..v|G.3..G_actual|G.3..LossPower|G.3..i|G.3..n.i|G.3..n.v|G.3..p.i|G.3..p.v|G.3..v|G.4..G_actual|G.4..LossPower|G.4..i|G.4..n.i|G.4..n.v|G.4..p.i|G.4..p.v|G.4..v|G.5..G_actual|G.5..LossPower|G.5..i|G.5..n.i|G.5..n.v|G.5..p.i|G.5..p.v|G.5..v|G.6..i|G.6..v|ground.p.v|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10") translateModel(ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="B.10..G|B.10..i|B.10..n.i|B.10..n.v|B.10..open|B.10..p.i|B.10..p.v|B.10..v|B.1..G|B.1..i|B.1..n.i|B.1..n.v|B.1..open|B.1..p.i|B.1..p.v|B.1..v|B.2..G|B.2..i|B.2..n.i|B.2..n.v|B.2..open|B.2..p.i|B.2..p.v|B.2..v|B.3..G|B.3..i|B.3..n.i|B.3..n.v|B.3..open|B.3..p.i|B.3..p.v|B.3..v|B.4..G|B.4..i|B.4..n.i|B.4..n.v|B.4..open|B.4..p.i|B.4..p.v|B.4..v|B.5..G|B.5..i|B.5..n.i|B.5..n.v|B.5..open|B.5..p.i|B.5..p.v|B.5..v|G.10..G_actual|G.10..LossPower|G.10..i|G.10..n.i|G.10..n.v|G.10..p.i|G.10..p.v|G.10..v|G.11..i|G.11..v|G.1..G_actual|G.1..LossPower|G.1..i|G.1..n.i|G.1..n.v|G.1..p.i|G.1..p.v|G.1..v|G.2..G_actual|G.2..LossPower|G.2..i|G.2..n.i|G.2..n.v|G.2..p.i|G.2..p.v|G.2..v|G.3..G_actual|G.3..LossPower|G.3..i|G.3..n.i|G.3..n.v|G.3..p.i|G.3..p.v|G.3..v|G.4..G_actual|G.4..LossPower|G.4..i|G.4..n.i|G.4..n.v|G.4..p.i|G.4..p.v|G.4..v|G.5..G_actual|G.5..LossPower|G.5..i|G.5..n.i|G.5..n.v|G.5..p.i|G.5..p.v|G.5..v|G.6..i|G.6..v|ground.p.v|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001312/0.001312, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.257/1.257, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9005/0.9005, allocations: 119.3 MB / 411.9 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 66.11 kB / 0.5717 GB, free: 39.74 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1529, allocations: 80.69 MB / 0.6505 GB, free: 12.98 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10): time 0.002986/0.156, allocations: 2.049 MB / 0.6525 GB, free: 10.92 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008774/0.1569, allocations: 0.5533 MB / 0.653 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.253e-05/0.1569, allocations: 4 kB / 0.653 GB, free: 10.36 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.1571, allocations: 15.8 kB / 0.653 GB, free: 10.34 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.1573, allocations: 55.61 kB / 0.6531 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.1575, allocations: 59.84 kB / 0.6531 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.1586, allocations: 1.207 MB / 0.6543 GB, free: 9.012 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005001/0.1591, allocations: 486.9 kB / 0.6548 GB, free: 8.527 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003899/0.1595, allocations: 470.6 kB / 0.6552 GB, free: 8.066 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004843/0.16, allocations: 0.4942 MB / 0.6557 GB, free: 7.57 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.1601, allocations: 88 kB / 0.6558 GB, free: 7.484 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.1603, allocations: 92 kB / 0.6559 GB, free: 7.395 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.1605, allocations: 239.2 kB / 0.6561 GB, free: 7.16 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0004655/0.161, allocations: 0.4938 MB / 0.6566 GB, free: 6.664 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0009743/0.162, allocations: 1.219 MB / 0.6578 GB, free: 5.441 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.162, allocations: 3.938 kB / 0.6578 GB, free: 5.438 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.433e-06/0.162, allocations: 0 / 0.6578 GB, free: 5.438 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.162, allocations: 0 / 0.6578 GB, free: 5.438 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002252/0.1643, allocations: 1.444 MB / 0.6592 GB, free: 3.938 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1643, allocations: 11.89 kB / 0.6592 GB, free: 3.926 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.1645, allocations: 99.81 kB / 0.6593 GB, free: 3.828 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008736/0.1654, allocations: 0.5599 MB / 0.6599 GB, free: 3.227 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/0.1654, allocations: 62.36 kB / 0.6599 GB, free: 3.168 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.1655, allocations: 76.38 kB / 0.66 GB, free: 3.094 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.167, allocations: 1.038 MB / 0.661 GB, free: 2.051 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.167, allocations: 0 / 0.661 GB, free: 2.051 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.81e-05/0.1671, allocations: 35.98 kB / 0.661 GB, free: 2.016 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.1671, allocations: 16 kB / 0.6611 GB, free: 2 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.1684, allocations: 0.925 MB / 0.662 GB, free: 1.07 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004445/0.1728, allocations: 3.042 MB / 0.6649 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009834/0.1738, allocations: 0.8171 MB / 0.6657 GB, free: 13.08 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005922/0.1744, allocations: 0.5035 MB / 0.6662 GB, free: 12.57 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.1745, allocations: 4.562 kB / 0.6662 GB, free: 12.57 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009048/0.1754, allocations: 0.7641 MB / 0.667 GB, free: 11.76 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=86): time 2.414e-06/0.1754, allocations: 0 / 0.667 GB, free: 11.76 MB / 0.5139 GB Notification: Performance of matching and sorting (n=86): time 0.005516/0.1809, allocations: 2.549 MB / 0.6695 GB, free: 9.18 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001845/0.1811, allocations: 371.1 kB / 0.6698 GB, free: 8.738 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007467/0.1819, allocations: 0.6501 MB / 0.6704 GB, free: 8.078 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 8.465e-05/0.182, allocations: 65.67 kB / 0.6705 GB, free: 8.008 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.1822, allocations: 368.3 kB / 0.6709 GB, free: 7.641 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.1825, allocations: 252.7 kB / 0.6711 GB, free: 7.391 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.1827, allocations: 206.9 kB / 0.6713 GB, free: 7.18 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1829, allocations: 382.8 kB / 0.6717 GB, free: 6.797 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006274/0.1835, allocations: 486.2 kB / 0.6721 GB, free: 6.324 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008186/0.1844, allocations: 0.716 MB / 0.6728 GB, free: 5.539 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.1856, allocations: 1.012 MB / 0.6738 GB, free: 4.484 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.1856, allocations: 3.938 kB / 0.6738 GB, free: 4.48 MB / 0.5139 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002257/0.1879, allocations: 1.578 MB / 0.6754 GB, free: 2.895 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1879, allocations: 4 kB / 0.6754 GB, free: 2.891 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1879, allocations: 4 kB / 0.6754 GB, free: 2.887 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008402/0.1888, allocations: 416.5 kB / 0.6758 GB, free: 2.477 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.1892, allocations: 119.8 kB / 0.6759 GB, free: 2.359 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005381/0.1946, allocations: 4.465 MB / 0.6802 GB, free: 13.75 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000784/0.1954, allocations: 199.1 kB / 0.6804 GB, free: 13.55 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.132e-05/0.1954, allocations: 32 kB / 0.6805 GB, free: 13.52 MB / 0.5295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 60 (B[1].open,$PRE.B[1].open,$whenCondition19,B[2].open,$PRE.B[2].open,$whenCondition17,B[3].open,$PRE.B[3].open,$whenCondition15,B[4].open,$PRE.B[4].open,$whenCondition13,B[5].open,$PRE.B[5].open,$whenCondition11,B[6].open,$PRE.B[6].open,$whenCondition9,B[7].open,$PRE.B[7].open,$whenCondition7,B[8].open,$PRE.B[8].open,$whenCondition5,B[9].open,$PRE.B[9].open,$whenCondition3,B[10].open,$PRE.B[10].open,$whenCondition1,B[10].G,$PRE.B[10].G,B[9].G,$PRE.B[9].G,B[8].G,$PRE.B[8].G,B[7].G,$PRE.B[7].G,B[6].G,$PRE.B[6].G,B[5].G,$PRE.B[5].G,B[4].G,$PRE.B[4].G,B[3].G,$PRE.B[3].G,B[2].G,$PRE.B[2].G,B[1].G,$PRE.B[1].G,$whenCondition2,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition16,$whenCondition18,$whenCondition20) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,23,30.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005552/0.196, allocations: 394.3 kB / 0.6808 GB, free: 13.13 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.1961, allocations: 79.09 kB / 0.6809 GB, free: 13.05 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.1963, allocations: 95.31 kB / 0.681 GB, free: 12.96 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.1963, allocations: 3.984 kB / 0.681 GB, free: 12.95 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1963, allocations: 3.938 kB / 0.681 GB, free: 12.95 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.1965, allocations: 164.1 kB / 0.6812 GB, free: 12.77 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.543e-05/0.1966, allocations: 27.98 kB / 0.6812 GB, free: 12.74 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005687/0.1972, allocations: 135.8 kB / 0.6813 GB, free: 12.61 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002576/0.1974, allocations: 128.8 kB / 0.6814 GB, free: 12.48 MB / 0.5295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002414/0.1998, allocations: 1.477 MB / 0.6829 GB, free: 11 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001756/0.2016, allocations: 1.486 MB / 0.6843 GB, free: 9.496 MB / 0.5295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004963/0.2021, allocations: 411.6 kB / 0.6847 GB, free: 9.09 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0004915/0.2026, allocations: 462.7 kB / 0.6852 GB, free: 8.641 MB / 0.5295 GB Notification: Performance of Backend: time 1.863e-06/0.2026, allocations: 4 kB / 0.6852 GB, free: 8.637 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.002276/0.2049, allocations: 1.207 MB / 0.6864 GB, free: 7.414 MB / 0.5295 GB Notification: Performance of SimCode: time 0.002924/0.2078, allocations: 2.223 MB / 0.6885 GB, free: 5.133 MB / 0.5295 GB Notification: Performance of Templates: time 0.02397/0.2318, allocations: 15.25 MB / 0.7034 GB, free: 5.988 MB / 0.5452 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.ScaledExperiments.BreakerNetwork_N_10_M_10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches