Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="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|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|der.firstOrder.y.|firstOrder.u|firstOrder.y|ground.p.i|ground.p.v|source.i|source.n.i|source.n.v|source.p.i|source.p.v|source.v|step.y|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array") translateModel(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="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|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|der.firstOrder.y.|firstOrder.u|firstOrder.y|ground.p.i|ground.p.v|source.i|source.n.i|source.n.v|source.p.i|source.p.v|source.v|step.y|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001253, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 221.3 MB / 235.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009742/0.0009744, allocations: 94.23 kB / 286.5 MB, free: 220 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9444/0.9444, allocations: 120.5 MB / 457.9 MB, free: 7.027 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 4.135e-05/4.146e-05, allocations: 4 kB / 0.5357 GB, free: 12.19 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6114/0.6114, allocations: 82.84 MB / 0.6166 GB, free: 9.328 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.7737, allocations: 128.3 MB / 0.7419 GB, free: 8.902 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001384/0.7739, allocations: 59.92 kB / 0.742 GB, free: 8.844 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01512/0.789, allocations: 5.523 MB / 0.7473 GB, free: 3.289 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7891, allocations: 3.938 kB / 0.7473 GB, free: 3.285 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 3.192e-05/0.7891, allocations: 8 kB / 0.7474 GB, free: 3.277 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.00126/0.7904, allocations: 0.6437 MB / 0.748 GB, free: 2.59 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 6.411e-05/0.7904, allocations: 12.03 kB / 0.748 GB, free: 2.578 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.7906, allocations: 39.58 kB / 0.748 GB, free: 2.539 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005745/0.7912, allocations: 311.2 kB / 0.7483 GB, free: 2.195 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.7912, allocations: 24.77 kB / 0.7484 GB, free: 2.172 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/0.7913, allocations: 28 kB / 0.7484 GB, free: 2.145 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.7919, allocations: 367.6 kB / 0.7487 GB, free: 1.777 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.792, allocations: 4 kB / 0.7487 GB, free: 1.773 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.474e-05/0.792, allocations: 16 kB / 0.7488 GB, free: 1.758 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.792, allocations: 11.94 kB / 0.7488 GB, free: 1.746 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004989/0.7925, allocations: 307 kB / 0.7491 GB, free: 1.441 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.7948, allocations: 1.288 MB / 0.7503 GB, free: 80 kB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6579/1.453, allocations: 280.8 kB / 0.7506 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003449/1.453, allocations: 174.1 kB / 0.7507 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/1.453, allocations: 2.25 kB / 0.7507 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005714/1.454, allocations: 282.9 kB / 0.751 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=30): time 2.775e-06/1.454, allocations: 0 / 0.751 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of matching and sorting (n=30): time 0.0009382/1.455, allocations: 426.4 kB / 0.7514 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.582e-05/1.455, allocations: 163.8 kB / 0.7516 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/1.455, allocations: 273 kB / 0.7518 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/1.455, allocations: 40.19 kB / 0.7519 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/1.455, allocations: 190.4 kB / 0.7521 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 8.267e-05/1.455, allocations: 85.86 kB / 0.7521 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/1.455, allocations: 9.031 kB / 0.7522 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 9.097e-05/1.456, allocations: 345.8 kB / 0.7525 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/1.456, allocations: 160.2 kB / 0.7526 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/1.456, allocations: 246 kB / 0.7529 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/1.456, allocations: 190.8 kB / 0.7531 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.456, allocations: 0 / 0.7531 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009755/1.457, allocations: 0.5484 MB / 0.7536 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/1.458, allocations: 10.81 kB / 0.7536 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.458, allocations: 0.9375 kB / 0.7536 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003979/1.458, allocations: 116.7 kB / 0.7537 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/1.458, allocations: 49.73 kB / 0.7538 GB, free: 129.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/1.46, allocations: 2.117 MB / 0.7558 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/1.461, allocations: 67.42 kB / 0.7559 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/1.461, allocations: 21.14 kB / 0.7559 GB, free: 128.3 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition5,$PRE.B[1].open,B[1].open,$whenCondition3,$PRE.B[2].open,B[2].open,$whenCondition1,$PRE.B[3].open,B[3].open,$whenCondition6,$whenCondition4,$whenCondition2,$PRE.B[1].G,B[1].G,$PRE.B[2].G,B[2].G,$PRE.B[3].G,B[3].G) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001276/1.461, allocations: 135 kB / 0.756 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/1.461, allocations: 31.69 kB / 0.7561 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.107e-05/1.461, allocations: 39.42 kB / 0.7561 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.461, allocations: 3.484 kB / 0.7561 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/1.461, allocations: 2.094 kB / 0.7561 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/1.461, allocations: 5.156 kB / 0.7561 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004608/1.462, allocations: 404.5 kB / 0.7565 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.462, allocations: 1.656 kB / 0.7565 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/1.462, allocations: 20.61 kB / 0.7565 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003038/1.462, allocations: 121.8 kB / 0.7566 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/1.462, allocations: 10.48 kB / 0.7566 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/1.464, allocations: 2.1 MB / 0.7587 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.464, allocations: 0 / 0.7587 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/1.466, allocations: 0.6206 MB / 0.7593 GB, free: 126 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/1.466, allocations: 107.2 kB / 0.7594 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/1.466, allocations: 18.31 kB / 0.7594 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/1.466, allocations: 49.48 kB / 0.7595 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/1.466, allocations: 27.2 kB / 0.7595 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/1.466, allocations: 14.84 kB / 0.7595 GB, free: 125.9 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0002458/1.466, allocations: 216.1 kB / 0.7597 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.4e-07/1.466, allocations: 3.469 kB / 0.7597 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004781/1.467, allocations: 124.3 kB / 0.7598 GB, free: 125.8 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (firstOrder.y) * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,B[1].open,B[1].G,B[2].open,B[2].G,B[3].open,B[3].G) * Number of discrete states: 3 (B[3].open,B[2].open,B[1].open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003425/1.467, allocations: 130.2 kB / 0.76 GB, free: 125.7 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0009391/1.468, allocations: 0.5251 MB / 0.7605 GB, free: 125.4 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.468, allocations: 2.281 kB / 0.7605 GB, free: 125.4 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0005151/1.469, allocations: 337.7 kB / 0.7608 GB, free: 125.3 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/1.469, allocations: 49.8 kB / 0.7608 GB, free: 125.2 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009055/1.47, allocations: 0.5284 MB / 0.7614 GB, free: 125 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/1.47, allocations: 0.8488 MB / 0.7622 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0001859/1.47, allocations: 56.77 kB / 0.7622 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/1.471, allocations: 21.44 kB / 0.7623 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of SimCode: time 7.61e-07/1.471, allocations: 0 / 0.7623 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of Templates: time 0.008226/1.479, allocations: 4.585 MB / 0.7667 GB, free: 123.4 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches