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.001502/0.001502, allocations: 183.6 kB / 8.131 MB, free: 2.219 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.09/1.09, allocations: 221.4 MB / 229.9 MB, free: 3.074 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.0009317/0.0009318, allocations: 95.78 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7057/0.7057, allocations: 120.4 MB / 452 MB, free: 12.99 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 4.378e-06/4.398e-06, allocations: 0 / 0.5282 GB, free: 52.45 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 82.83 MB / 0.6091 GB, free: 3.57 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4484/0.5588, allocations: 127.6 MB / 0.7337 GB, free: 2.676 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001211/0.559, allocations: 46.3 kB / 0.7337 GB, free: 2.656 MB / 0.4953 GB Notification: Performance of FrontEnd: time 0.01282/0.5718, allocations: 5.203 MB / 0.7388 GB, free: 14.25 MB / 0.5109 GB Notification: Performance of Transformations before backend: time 1.672e-05/0.5719, allocations: 8 kB / 0.7388 GB, free: 14.24 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.0008525/0.5727, allocations: 0.6324 MB / 0.7394 GB, free: 13.59 MB / 0.5109 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.5728, allocations: 15.97 kB / 0.7394 GB, free: 13.58 MB / 0.5109 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.58e-05/0.5729, allocations: 39.53 kB / 0.7395 GB, free: 13.54 MB / 0.5109 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.5733, allocations: 309.1 kB / 0.7398 GB, free: 13.21 MB / 0.5109 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.5733, allocations: 8 kB / 0.7398 GB, free: 13.21 MB / 0.5109 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.5734, allocations: 30.98 kB / 0.7398 GB, free: 13.18 MB / 0.5109 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004185/0.5738, allocations: 299.6 kB / 0.7401 GB, free: 12.97 MB / 0.5109 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/0.5743, allocations: 344 kB / 0.7404 GB, free: 12.7 MB / 0.5109 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.5743, allocations: 0 / 0.7404 GB, free: 12.7 MB / 0.5109 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.5743, allocations: 4 kB / 0.7404 GB, free: 12.7 MB / 0.5109 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.5743, allocations: 8 kB / 0.7404 GB, free: 12.69 MB / 0.5109 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.5762, allocations: 1.215 MB / 0.7416 GB, free: 11.6 MB / 0.5109 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.5765, allocations: 265.8 kB / 0.7419 GB, free: 11.4 MB / 0.5109 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.5767, allocations: 179.3 kB / 0.742 GB, free: 11.27 MB / 0.5109 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.5767, allocations: 4 kB / 0.742 GB, free: 11.27 MB / 0.5109 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002753/0.577, allocations: 254.6 kB / 0.7423 GB, free: 11.04 MB / 0.5109 GB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.577, allocations: 0 / 0.7423 GB, free: 11.04 MB / 0.5109 GB Notification: Performance of matching and sorting (n=30): time 0.0006058/0.5776, allocations: 389.1 kB / 0.7427 GB, free: 10.72 MB / 0.5109 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.5777, allocations: 169.8 kB / 0.7428 GB, free: 10.52 MB / 0.5109 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.5779, allocations: 250.3 kB / 0.7431 GB, free: 10.3 MB / 0.5109 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.5779, allocations: 36.69 kB / 0.7431 GB, free: 10.27 MB / 0.5109 GB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.578, allocations: 164.9 kB / 0.7432 GB, free: 10.11 MB / 0.5109 GB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/0.5781, allocations: 91.67 kB / 0.7433 GB, free: 10.04 MB / 0.5109 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/0.5781, allocations: 0 / 0.7433 GB, free: 10.04 MB / 0.5109 GB Notification: Performance of setup shared object (initialization): time 8.85e-05/0.5782, allocations: 341.2 kB / 0.7437 GB, free: 9.703 MB / 0.5109 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.5784, allocations: 158.2 kB / 0.7438 GB, free: 9.59 MB / 0.5109 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.5786, allocations: 251.7 kB / 0.7441 GB, free: 9.375 MB / 0.5109 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.5789, allocations: 191.1 kB / 0.7442 GB, free: 9.234 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5789, allocations: 0 / 0.7442 GB, free: 9.234 MB / 0.5109 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007091/0.5796, allocations: 0.5223 MB / 0.7447 GB, free: 8.805 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.5796, allocations: 4 kB / 0.7447 GB, free: 8.801 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5796, allocations: 4 kB / 0.7448 GB, free: 8.797 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003119/0.5799, allocations: 121.5 kB / 0.7449 GB, free: 8.695 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.5802, allocations: 51.09 kB / 0.7449 GB, free: 8.648 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.582, allocations: 2.019 MB / 0.7469 GB, free: 6.758 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.5823, allocations: 59.7 kB / 0.7469 GB, free: 6.699 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.5823, allocations: 15.34 kB / 0.747 GB, free: 6.688 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.0001055/0.5824, allocations: 122.5 kB / 0.7471 GB, free: 6.566 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.5825, allocations: 31.56 kB / 0.7471 GB, free: 6.535 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.508e-05/0.5825, allocations: 34.58 kB / 0.7471 GB, free: 6.52 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5826, allocations: 4 kB / 0.7471 GB, free: 6.516 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.5826, allocations: 7.938 kB / 0.7472 GB, free: 6.508 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.5826, allocations: 0 / 0.7472 GB, free: 6.508 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.5829, allocations: 340 kB / 0.7475 GB, free: 6.195 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.5829, allocations: 4 kB / 0.7475 GB, free: 6.191 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.5832, allocations: 19.92 kB / 0.7475 GB, free: 6.172 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002464/0.5834, allocations: 114.5 kB / 0.7476 GB, free: 6.078 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.5834, allocations: 4 kB / 0.7476 GB, free: 6.074 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.5852, allocations: 2.017 MB / 0.7496 GB, free: 4.188 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5852, allocations: 0 / 0.7496 GB, free: 4.188 MB / 0.5109 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007273/0.5859, allocations: 0.5948 MB / 0.7502 GB, free: 3.707 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.586, allocations: 108.8 kB / 0.7503 GB, free: 3.582 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.681e-05/0.5861, allocations: 4 kB / 0.7503 GB, free: 3.578 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.5863, allocations: 43.08 kB / 0.7503 GB, free: 3.539 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.5864, allocations: 19.84 kB / 0.7503 GB, free: 3.523 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.5864, allocations: 8 kB / 0.7503 GB, free: 3.516 MB / 0.5109 GB Notification: Performance of sort global known variables: time 0.0001464/0.5866, allocations: 200.5 kB / 0.7505 GB, free: 3.352 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0003394/0.5869, allocations: 111.7 kB / 0.7506 GB, free: 3.242 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.0002386/0.5872, allocations: 139.8 kB / 0.7508 GB, free: 3.109 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.0006916/0.5879, allocations: 0.4966 MB / 0.7513 GB, free: 2.695 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5879, allocations: 0 / 0.7513 GB, free: 2.695 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0003943/0.5883, allocations: 305.1 kB / 0.7515 GB, free: 2.434 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.5885, allocations: 43.83 kB / 0.7516 GB, free: 2.398 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007785/0.5893, allocations: 0.5226 MB / 0.7521 GB, free: 1.914 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/0.5897, allocations: 0.8635 MB / 0.7529 GB, free: 1.039 MB / 0.5109 GB Notification: Performance of SimCode: time 2.31e-07/0.5897, allocations: 0 / 0.7529 GB, free: 1.039 MB / 0.5109 GB Notification: Performance of Templates: time 0.007526/0.5972, allocations: 4.651 MB / 0.7575 GB, free: 12.43 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/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