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") [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 187.1 kB / 8.136 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.078/1.078, allocations: 221.4 MB / 229.9 MB, free: 3.121 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.0009641/0.0009641, allocations: 100.8 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6071/0.6071, allocations: 120.4 MB / 452 MB, free: 12.98 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 5.57e-06/5.761e-06, allocations: 0 / 0.5282 GB, free: 52.4 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1058, allocations: 82.84 MB / 0.6091 GB, free: 3.559 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4625/0.5684, allocations: 127.6 MB / 0.7337 GB, free: 2.496 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001128/0.5685, allocations: 47.92 kB / 0.7337 GB, free: 2.477 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01314/0.5817, allocations: 5.203 MB / 0.7388 GB, free: 14.07 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.92e-05/0.5817, allocations: 8 kB / 0.7388 GB, free: 14.07 MB / 0.5109 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.0009384/0.5827, allocations: 0.6282 MB / 0.7394 GB, free: 13.42 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.5827, allocations: 12.02 kB / 0.7394 GB, free: 13.41 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.283e-05/0.5828, allocations: 39.53 kB / 0.7395 GB, free: 13.37 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.5833, allocations: 311.9 kB / 0.7398 GB, free: 13.04 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.5833, allocations: 8 kB / 0.7398 GB, free: 13.04 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.598e-05/0.5833, allocations: 27.94 kB / 0.7398 GB, free: 13.01 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004185/0.5838, allocations: 304.6 kB / 0.7401 GB, free: 12.8 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004545/0.5842, allocations: 337.8 kB / 0.7404 GB, free: 12.53 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.5843, allocations: 4 kB / 0.7404 GB, free: 12.52 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/0.5843, allocations: 3.984 kB / 0.7404 GB, free: 12.52 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.5843, allocations: 8 kB / 0.7404 GB, free: 12.51 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.5862, allocations: 1.212 MB / 0.7416 GB, free: 11.42 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.5865, allocations: 275.2 kB / 0.7419 GB, free: 11.21 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.5867, allocations: 173.5 kB / 0.742 GB, free: 11.09 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.5867, allocations: 4 kB / 0.742 GB, free: 11.09 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003049/0.587, allocations: 258.5 kB / 0.7423 GB, free: 10.86 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.587, allocations: 0 / 0.7423 GB, free: 10.86 MB / 0.5109 GB Notification: Performance of matching and sorting (n=30): time 0.0005992/0.5876, allocations: 387 kB / 0.7427 GB, free: 10.54 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.5877, allocations: 168.9 kB / 0.7428 GB, free: 10.34 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.5879, allocations: 255.7 kB / 0.7431 GB, free: 10.12 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.588, allocations: 33.7 kB / 0.7431 GB, free: 10.08 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 8.542e-05/0.5881, allocations: 175.7 kB / 0.7433 GB, free: 9.922 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 5.685e-05/0.5881, allocations: 80.69 kB / 0.7433 GB, free: 9.852 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/0.5881, allocations: 0.75 kB / 0.7433 GB, free: 9.852 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9e-05/0.5882, allocations: 340.3 kB / 0.7437 GB, free: 9.523 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.5884, allocations: 155.8 kB / 0.7438 GB, free: 9.41 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.5887, allocations: 253.9 kB / 0.7441 GB, free: 9.195 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.5889, allocations: 191.7 kB / 0.7442 GB, free: 9.055 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.5889, allocations: 0 / 0.7442 GB, free: 9.055 MB / 0.5109 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006913/0.5896, allocations: 0.5271 MB / 0.7448 GB, free: 8.617 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.5896, allocations: 7.938 kB / 0.7448 GB, free: 8.609 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5896, allocations: 4 kB / 0.7448 GB, free: 8.605 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003248/0.59, allocations: 119.3 kB / 0.7449 GB, free: 8.508 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.5902, allocations: 43.92 kB / 0.7449 GB, free: 8.465 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/0.5921, allocations: 2.026 MB / 0.7469 GB, free: 6.566 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.5924, allocations: 55.72 kB / 0.747 GB, free: 6.512 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.5924, allocations: 10.91 kB / 0.747 GB, free: 6.504 MB / 0.5109 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.0001119/0.5925, allocations: 128.2 kB / 0.7471 GB, free: 6.375 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.5926, allocations: 31.56 kB / 0.7471 GB, free: 6.344 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.396e-05/0.5926, allocations: 35.77 kB / 0.7471 GB, free: 6.328 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.5926, allocations: 4 kB / 0.7472 GB, free: 6.324 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5926, allocations: 0 / 0.7472 GB, free: 6.324 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5926, allocations: 0 / 0.7472 GB, free: 6.324 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.5929, allocations: 344.6 kB / 0.7475 GB, free: 6.008 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.593, allocations: 0 / 0.7475 GB, free: 6.008 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.5931, allocations: 15.94 kB / 0.7475 GB, free: 5.992 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002484/0.5933, allocations: 117.8 kB / 0.7476 GB, free: 5.895 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.5934, allocations: 7.984 kB / 0.7476 GB, free: 5.887 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.5951, allocations: 2.017 MB / 0.7496 GB, free: 4 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5951, allocations: 0 / 0.7496 GB, free: 4 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007291/0.5959, allocations: 0.5895 MB / 0.7502 GB, free: 3.523 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 7.169e-05/0.5959, allocations: 112.8 kB / 0.7503 GB, free: 3.398 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/0.596, allocations: 7.984 kB / 0.7503 GB, free: 3.391 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.5962, allocations: 39.95 kB / 0.7503 GB, free: 3.352 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.5963, allocations: 15.73 kB / 0.7503 GB, free: 3.34 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.5963, allocations: 11.98 kB / 0.7503 GB, free: 3.328 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0001509/0.5965, allocations: 203.7 kB / 0.7505 GB, free: 3.164 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003694/0.5969, allocations: 111.7 kB / 0.7506 GB, free: 3.055 MB / 0.5109 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.0002539/0.5971, allocations: 142.5 kB / 0.7508 GB, free: 2.914 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0007287/0.5979, allocations: 0.4901 MB / 0.7513 GB, free: 2.508 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5979, allocations: 0 / 0.7513 GB, free: 2.508 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0004003/0.5983, allocations: 307.3 kB / 0.7515 GB, free: 2.246 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.5985, allocations: 36.61 kB / 0.7516 GB, free: 2.215 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008309/0.5994, allocations: 0.5257 MB / 0.7521 GB, free: 1.727 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003684/0.5998, allocations: 0.8658 MB / 0.7529 GB, free: 0.8516 MB / 0.5109 GB Notification: Performance of SimCode: time 4.71e-07/0.5998, allocations: 0 / 0.7529 GB, free: 0.8516 MB / 0.5109 GB Notification: Performance of Templates: time 0.007903/0.6077, allocations: 4.652 MB / 0.7575 GB, free: 12.25 MB / 0.5265 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/jenkins/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