Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001085/0.001086, allocations: 181 kB / 13.64 MB, free: 1.676 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.301/1.301, 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.0009839/0.0009842, allocations: 95.75 kB / 286.5 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9491/0.9491, allocations: 120.5 MB / 457.9 MB, free: 7.055 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.776e-05/2.778e-05, allocations: 4 kB / 0.5357 GB, free: 12.22 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5618/0.5618, allocations: 82.83 MB / 0.6166 GB, free: 9.355 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1562/0.7181, allocations: 128.3 MB / 0.7419 GB, free: 8.914 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001278/0.7183, allocations: 59.92 kB / 0.742 GB, free: 8.855 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01464/0.733, allocations: 5.519 MB / 0.7473 GB, free: 3.305 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.262e-06/0.733, allocations: 0 / 0.7473 GB, free: 3.305 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.596e-05/0.7331, allocations: 12 kB / 0.7474 GB, free: 3.293 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.001086/0.7342, allocations: 0.636 MB / 0.748 GB, free: 2.613 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.7342, allocations: 12.03 kB / 0.748 GB, free: 2.602 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.7343, allocations: 39.58 kB / 0.748 GB, free: 2.562 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005146/0.7349, allocations: 311.2 kB / 0.7483 GB, free: 2.219 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.7349, allocations: 20.78 kB / 0.7483 GB, free: 2.199 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.518e-05/0.735, allocations: 28 kB / 0.7484 GB, free: 2.172 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005761/0.7356, allocations: 375.6 kB / 0.7487 GB, free: 1.797 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.7356, allocations: 7.922 kB / 0.7487 GB, free: 1.789 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.7356, allocations: 12 kB / 0.7487 GB, free: 1.777 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.7356, allocations: 7.953 kB / 0.7488 GB, free: 1.77 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004413/0.7361, allocations: 311 kB / 0.7491 GB, free: 1.461 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.7382, allocations: 1.288 MB / 0.7503 GB, free: 100 kB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6206/1.359, allocations: 278.4 kB / 0.7506 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/1.359, allocations: 176 kB / 0.7507 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/1.359, allocations: 2.5 kB / 0.7507 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005312/1.36, allocations: 282.1 kB / 0.751 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=30): time 2.585e-06/1.36, allocations: 0 / 0.751 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of matching and sorting (n=30): time 0.0009167/1.361, allocations: 427.7 kB / 0.7514 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/1.361, allocations: 166.8 kB / 0.7516 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/1.361, allocations: 270.3 kB / 0.7518 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/1.361, allocations: 39.94 kB / 0.7519 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/1.361, allocations: 187.8 kB / 0.7521 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 6.933e-05/1.361, allocations: 89.33 kB / 0.7521 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.506e-05/1.361, allocations: 8.844 kB / 0.7522 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 8.129e-05/1.361, allocations: 346.2 kB / 0.7525 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/1.362, allocations: 160 kB / 0.7526 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/1.362, allocations: 248.9 kB / 0.7529 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/1.362, allocations: 184.4 kB / 0.753 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.362, allocations: 0 / 0.753 GB, free: 129.9 MB / 0.5421 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009117/1.363, allocations: 0.5502 MB / 0.7536 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.363, allocations: 5.344 kB / 0.7536 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.363, allocations: 1.375 kB / 0.7536 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003726/1.364, allocations: 129.5 kB / 0.7537 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/1.364, allocations: 45.62 kB / 0.7538 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/1.366, allocations: 2.109 MB / 0.7558 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/1.366, allocations: 72.34 kB / 0.7559 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/1.366, allocations: 14.48 kB / 0.7559 GB, free: 128.4 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.0001198/1.367, allocations: 141 kB / 0.756 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/1.367, allocations: 31.05 kB / 0.7561 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.454e-05/1.367, allocations: 37.83 kB / 0.7561 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.367, allocations: 2.812 kB / 0.7561 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/1.367, allocations: 1.812 kB / 0.7561 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/1.367, allocations: 2.438 kB / 0.7561 GB, free: 128.2 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/1.367, allocations: 406.8 kB / 0.7565 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/1.367, allocations: 3.609 kB / 0.7565 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/1.367, allocations: 20.41 kB / 0.7565 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000276/1.368, allocations: 118.7 kB / 0.7566 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/1.368, allocations: 6.375 kB / 0.7566 GB, free: 127.9 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/1.37, allocations: 2.107 MB / 0.7587 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.37, allocations: 0 / 0.7587 GB, free: 126.3 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/1.371, allocations: 0.621 MB / 0.7593 GB, free: 126.1 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 7.257e-05/1.371, allocations: 111.4 kB / 0.7594 GB, free: 126 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/1.371, allocations: 10.19 kB / 0.7594 GB, free: 126 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/1.371, allocations: 49.06 kB / 0.7595 GB, free: 126 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/1.371, allocations: 28.28 kB / 0.7595 GB, free: 126 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/1.371, allocations: 14.48 kB / 0.7595 GB, free: 126 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0002145/1.371, allocations: 214.7 kB / 0.7597 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.6e-07/1.371, allocations: 0 / 0.7597 GB, free: 125.8 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004228/1.372, allocations: 129.2 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.0002851/1.372, allocations: 154.5 kB / 0.76 GB, free: 125.7 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.000832/1.373, allocations: 0.5136 MB / 0.7605 GB, free: 125.5 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.373, allocations: 7.562 kB / 0.7605 GB, free: 125.5 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0004198/1.373, allocations: 334.9 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.0002578/1.374, allocations: 52.34 kB / 0.7609 GB, free: 125.3 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008247/1.374, allocations: 0.5286 MB / 0.7614 GB, free: 125.1 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/1.375, allocations: 0.8479 MB / 0.7622 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0001663/1.375, allocations: 59.22 kB / 0.7623 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/1.375, allocations: 21.28 kB / 0.7623 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of SimCode: time 3.7e-07/1.375, allocations: 0 / 0.7623 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of Templates: time 0.007598/1.383, allocations: 4.574 MB / 0.7667 GB, free: 123.5 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches