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") [: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.00108/0.00108, allocations: 187.3 kB / 8.141 MB, free: 2.191 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.068/1.068, allocations: 221.4 MB / 229.9 MB, free: 3.301 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.0008973/0.0008973, allocations: 96.98 kB / 280.8 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6125/0.6125, allocations: 120.4 MB / 452 MB, free: 12.96 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.879e-06/4.9e-06, allocations: 0 / 0.5282 GB, free: 52.39 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1085, allocations: 82.85 MB / 0.6091 GB, free: 3.543 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.452/0.5606, allocations: 127.5 MB / 0.7337 GB, free: 2.477 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000116/0.5608, allocations: 51.55 kB / 0.7337 GB, free: 2.453 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01319/0.574, allocations: 5.203 MB / 0.7388 GB, free: 14.05 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.877e-05/0.574, allocations: 8 kB / 0.7388 GB, free: 14.04 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.0009182/0.5749, allocations: 0.6218 MB / 0.7394 GB, free: 13.4 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.575, allocations: 12.03 kB / 0.7394 GB, free: 13.39 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.602e-05/0.5751, allocations: 42.91 kB / 0.7395 GB, free: 13.35 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.5755, allocations: 319.9 kB / 0.7398 GB, free: 13.02 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.5756, allocations: 11.98 kB / 0.7398 GB, free: 13 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/0.5756, allocations: 21 kB / 0.7398 GB, free: 12.98 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004296/0.5761, allocations: 304.2 kB / 0.7401 GB, free: 12.77 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.5765, allocations: 338.1 kB / 0.7404 GB, free: 12.51 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.5765, allocations: 4 kB / 0.7404 GB, free: 12.51 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.5766, allocations: 0 / 0.7404 GB, free: 12.51 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.5766, allocations: 8 kB / 0.7404 GB, free: 12.5 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.5784, allocations: 1.219 MB / 0.7416 GB, free: 11.4 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.5787, allocations: 264.9 kB / 0.7419 GB, free: 11.2 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.5789, allocations: 171.6 kB / 0.742 GB, free: 11.08 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.579, allocations: 0 / 0.742 GB, free: 11.08 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002796/0.5792, allocations: 262.8 kB / 0.7423 GB, free: 10.85 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=30): time 1.272e-06/0.5793, allocations: 0 / 0.7423 GB, free: 10.85 MB / 0.5109 GB Notification: Performance of matching and sorting (n=30): time 0.0006251/0.5799, allocations: 388.8 kB / 0.7427 GB, free: 10.53 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/0.58, allocations: 174.2 kB / 0.7428 GB, free: 10.32 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.5802, allocations: 252.4 kB / 0.7431 GB, free: 10.11 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.5803, allocations: 33.69 kB / 0.7431 GB, free: 10.07 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 8.039e-05/0.5803, allocations: 166.4 kB / 0.7432 GB, free: 9.918 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.5804, allocations: 88.25 kB / 0.7433 GB, free: 9.844 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.358e-05/0.5804, allocations: 0 / 0.7433 GB, free: 9.844 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 9.005e-05/0.5805, allocations: 336.7 kB / 0.7437 GB, free: 9.516 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.5807, allocations: 159.3 kB / 0.7438 GB, free: 9.402 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.581, allocations: 254.9 kB / 0.744 GB, free: 9.184 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.5812, allocations: 196.4 kB / 0.7442 GB, free: 9.039 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.5812, allocations: 0 / 0.7442 GB, free: 9.039 MB / 0.5109 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000694/0.5819, allocations: 0.528 MB / 0.7448 GB, free: 8.602 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.5819, allocations: 4 kB / 0.7448 GB, free: 8.598 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.5819, allocations: 0 / 0.7448 GB, free: 8.598 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003127/0.5822, allocations: 122.3 kB / 0.7449 GB, free: 8.496 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.5825, allocations: 51.91 kB / 0.7449 GB, free: 8.445 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.5843, allocations: 2.012 MB / 0.7469 GB, free: 6.562 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.5846, allocations: 63.7 kB / 0.7469 GB, free: 6.5 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.5846, allocations: 11.91 kB / 0.747 GB, free: 6.492 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.000105/0.5848, allocations: 116.9 kB / 0.7471 GB, free: 6.371 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.5848, allocations: 39.55 kB / 0.7471 GB, free: 6.332 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.113e-05/0.5849, allocations: 32.91 kB / 0.7471 GB, free: 6.32 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5849, allocations: 0 / 0.7471 GB, free: 6.32 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.5849, allocations: 4 kB / 0.7471 GB, free: 6.316 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.5849, allocations: 3.984 kB / 0.7471 GB, free: 6.312 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.5852, allocations: 342.7 kB / 0.7475 GB, free: 5.996 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5852, allocations: 4 kB / 0.7475 GB, free: 5.992 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.5853, allocations: 19.98 kB / 0.7475 GB, free: 5.973 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002458/0.5856, allocations: 113.5 kB / 0.7476 GB, free: 5.879 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.5856, allocations: 144 / 0.7476 GB, free: 5.879 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.5873, allocations: 2.027 MB / 0.7496 GB, free: 3.984 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5873, allocations: 0 / 0.7496 GB, free: 3.984 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007396/0.5881, allocations: 0.5982 MB / 0.7502 GB, free: 3.5 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-05/0.5882, allocations: 108.3 kB / 0.7503 GB, free: 3.379 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.5882, allocations: 3.984 kB / 0.7503 GB, free: 3.375 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.5884, allocations: 40.03 kB / 0.7503 GB, free: 3.336 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.5885, allocations: 23.16 kB / 0.7503 GB, free: 3.316 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.5886, allocations: 15.67 kB / 0.7504 GB, free: 3.305 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0001522/0.5887, allocations: 191.8 kB / 0.7505 GB, free: 3.145 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003591/0.5891, allocations: 119.7 kB / 0.7506 GB, free: 3.027 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.0002508/0.5893, allocations: 132.3 kB / 0.7508 GB, free: 2.902 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0007424/0.5901, allocations: 498.5 kB / 0.7513 GB, free: 2.496 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.5901, allocations: 4.062 kB / 0.7513 GB, free: 2.492 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0004042/0.5905, allocations: 307.3 kB / 0.7515 GB, free: 2.23 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.5908, allocations: 35.19 kB / 0.7516 GB, free: 2.203 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008288/0.5916, allocations: 0.5302 MB / 0.7521 GB, free: 1.715 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003714/0.592, allocations: 0.8638 MB / 0.7529 GB, free: 0.8398 MB / 0.5109 GB Notification: Performance of SimCode: time 3.21e-07/0.592, allocations: 0 / 0.7529 GB, free: 0.8398 MB / 0.5109 GB Notification: Performance of Templates: time 0.007857/0.5999, allocations: 4.65 MB / 0.7575 GB, free: 12.23 MB / 0.5265 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