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.00114/0.00114, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.403/1.403, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009247/0.0009247, allocations: 100.3 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.873/0.873, allocations: 120.5 MB / 463 MB, free: 8.742 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003201, allocations: 8 kB / 0.5433 GB, free: 42.4 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1682, allocations: 82.85 MB / 0.6242 GB, free: 9.246 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8069/0.9752, allocations: 128.4 MB / 0.7496 GB, free: 5.816 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001214/0.9754, allocations: 49.14 kB / 0.7496 GB, free: 5.797 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01464/0.99, allocations: 5.524 MB / 0.755 GB, free: 1.023 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9901, allocations: 0 / 0.755 GB, free: 1.023 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 2.236e-05/0.9901, allocations: 12 kB / 0.755 GB, free: 1.012 MB / 0.5107 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.0011/0.9912, allocations: 0.6718 MB / 0.7557 GB, free: 324 kB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.9912, allocations: 8.031 kB / 0.7557 GB, free: 316 kB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.241e-05/0.9914, allocations: 43.48 kB / 0.7557 GB, free: 272 kB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.9919, allocations: 318.1 kB / 0.756 GB, free: 15.93 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.9919, allocations: 24.34 kB / 0.7561 GB, free: 15.92 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.992, allocations: 30.69 kB / 0.7561 GB, free: 15.9 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005895/0.9926, allocations: 385.8 kB / 0.7565 GB, free: 15.61 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.9926, allocations: 0 / 0.7565 GB, free: 15.61 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/0.9927, allocations: 19.56 kB / 0.7565 GB, free: 15.6 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.9927, allocations: 7.953 kB / 0.7565 GB, free: 15.59 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004781/0.9932, allocations: 334.6 kB / 0.7568 GB, free: 15.36 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.9953, allocations: 1.273 MB / 0.758 GB, free: 14.21 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.9957, allocations: 299.5 kB / 0.7583 GB, free: 14 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.9957, allocations: 0 / 0.7583 GB, free: 14 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004086/0.9961, allocations: 297 kB / 0.7586 GB, free: 13.73 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/0.9961, allocations: 4 kB / 0.7586 GB, free: 13.72 MB / 0.5263 GB Notification: Performance of matching and sorting (n=30): time 0.001625/0.9978, allocations: 0.7786 MB / 0.7594 GB, free: 13.04 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.9979, allocations: 169.5 kB / 0.7595 GB, free: 12.84 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.9982, allocations: 275.4 kB / 0.7598 GB, free: 12.61 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.9982, allocations: 38.7 kB / 0.7598 GB, free: 12.57 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.9984, allocations: 189.5 kB / 0.76 GB, free: 12.41 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 7.905e-05/0.9985, allocations: 94.36 kB / 0.7601 GB, free: 12.33 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/0.9985, allocations: 7.312 kB / 0.7601 GB, free: 12.33 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.9986, allocations: 338 kB / 0.7604 GB, free: 12 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.9989, allocations: 174.4 kB / 0.7606 GB, free: 11.88 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.9992, allocations: 256 kB / 0.7609 GB, free: 11.65 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/0.9995, allocations: 198.5 kB / 0.761 GB, free: 11.52 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.9995, allocations: 3.938 kB / 0.761 GB, free: 11.52 MB / 0.5263 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008338/1, allocations: 0.5679 MB / 0.7616 GB, free: 11.07 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1, allocations: 11.94 kB / 0.7616 GB, free: 11.05 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1, allocations: 0 / 0.7616 GB, free: 11.05 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003356/1.001, allocations: 119.6 kB / 0.7617 GB, free: 10.95 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/1.001, allocations: 51.84 kB / 0.7618 GB, free: 10.91 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/1.003, allocations: 2.157 MB / 0.7639 GB, free: 8.926 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/1.003, allocations: 71.67 kB / 0.764 GB, free: 8.863 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/1.003, allocations: 8 kB / 0.764 GB, free: 8.855 MB / 0.5263 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 () * Number of clocked 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.000229/1.004, allocations: 216.9 kB / 0.7642 GB, free: 8.66 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/1.004, allocations: 27.72 kB / 0.7642 GB, free: 8.633 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.248e-05/1.004, allocations: 37.59 kB / 0.7642 GB, free: 8.621 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/1.004, allocations: 3.984 kB / 0.7642 GB, free: 8.617 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/1.004, allocations: 4.875 kB / 0.7642 GB, free: 8.613 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.004, allocations: 0 / 0.7642 GB, free: 8.613 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/1.004, allocations: 397.1 kB / 0.7646 GB, free: 8.242 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.004, allocations: 3.938 kB / 0.7646 GB, free: 8.238 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/1.004, allocations: 23.86 kB / 0.7646 GB, free: 8.219 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002562/1.005, allocations: 120.1 kB / 0.7648 GB, free: 8.117 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/1.005, allocations: 4.688 kB / 0.7648 GB, free: 8.117 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/1.007, allocations: 2.168 MB / 0.7669 GB, free: 6.125 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.007, allocations: 0 / 0.7669 GB, free: 6.125 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009055/1.008, allocations: 0.6512 MB / 0.7675 GB, free: 5.605 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-05/1.008, allocations: 108.6 kB / 0.7676 GB, free: 5.484 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/1.008, allocations: 11.8 kB / 0.7676 GB, free: 5.477 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/1.008, allocations: 47.83 kB / 0.7677 GB, free: 5.434 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.38e-05/1.008, allocations: 31.83 kB / 0.7677 GB, free: 5.406 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/1.008, allocations: 11.94 kB / 0.7677 GB, free: 5.398 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.000192/1.008, allocations: 215.2 kB / 0.7679 GB, free: 5.219 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.3e-07/1.008, allocations: 0 / 0.7679 GB, free: 5.219 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0003886/1.009, allocations: 127.4 kB / 0.768 GB, free: 5.105 MB / 0.5263 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) * Number of clocked states: 0 () * 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.0003233/1.009, allocations: 145 kB / 0.7682 GB, free: 4.973 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0008809/1.01, allocations: 0.5442 MB / 0.7687 GB, free: 4.516 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.01, allocations: 0 / 0.7687 GB, free: 4.516 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0005025/1.011, allocations: 348.9 kB / 0.769 GB, free: 4.219 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/1.011, allocations: 55.91 kB / 0.7691 GB, free: 4.18 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/1.012, allocations: 0.8073 MB / 0.7699 GB, free: 3.402 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/1.012, allocations: 0.8494 MB / 0.7707 GB, free: 2.543 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0001497/1.013, allocations: 62.88 kB / 0.7708 GB, free: 2.484 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/1.013, allocations: 19.44 kB / 0.7708 GB, free: 2.465 MB / 0.5263 GB Notification: Performance of SimCode: time 4.2e-07/1.013, allocations: 0 / 0.7708 GB, free: 2.465 MB / 0.5263 GB Notification: Performance of Templates: time 0.009316/1.022, allocations: 4.569 MB / 0.7753 GB, free: 13.96 MB / 0.5419 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