Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.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_Scalar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="B1.G|B1.i|B1.n.i|B1.n.v|B1.open|B1.p.i|B1.p.v|B1.v|B2.G|B2.i|B2.n.i|B2.n.v|B2.open|B2.p.i|B2.p.v|B2.v|B3.G|B3.i|B3.n.i|B3.n.v|B3.open|B3.p.i|B3.p.v|B3.v|G1.G_actual|G1.LossPower|G1.i|G1.n.i|G1.n.v|G1.p.i|G1.p.v|G1.v|G2.G_actual|G2.LossPower|G2.i|G2.n.i|G2.n.v|G2.p.i|G2.p.v|G2.v|G3.G_actual|G3.LossPower|G3.i|G3.n.i|G3.n.v|G3.p.i|G3.p.v|G3.v|G4.G_actual|G4.LossPower|G4.i|G4.n.i|G4.n.v|G4.p.i|G4.p.v|G4.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_Scalar") translateModel(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="B1.G|B1.i|B1.n.i|B1.n.v|B1.open|B1.p.i|B1.p.v|B1.v|B2.G|B2.i|B2.n.i|B2.n.v|B2.open|B2.p.i|B2.p.v|B2.v|B3.G|B3.i|B3.n.i|B3.n.v|B3.open|B3.p.i|B3.p.v|B3.v|G1.G_actual|G1.LossPower|G1.i|G1.n.i|G1.n.v|G1.p.i|G1.p.v|G1.v|G2.G_actual|G2.LossPower|G2.i|G2.n.i|G2.n.v|G2.p.i|G2.p.v|G2.v|G3.G_actual|G3.LossPower|G3.i|G3.n.i|G3.n.v|G3.p.i|G3.p.v|G3.v|G4.G_actual|G4.LossPower|G4.i|G4.n.i|G4.n.v|G4.p.i|G4.p.v|G4.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_Scalar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002204/0.002204, allocations: 181 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.373/1.373, allocations: 223.2 MB / 240.3 MB, free: 11.87 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.0009825/0.0009825, allocations: 101.6 kB / 291.5 MB, free: 10.88 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.737/0.737, allocations: 120.5 MB / 463.1 MB, free: 8.688 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 4 kB / 0.5433 GB, free: 42.36 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1612, allocations: 82.85 MB / 0.6242 GB, free: 9.199 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8188/0.9801, allocations: 128.3 MB / 0.7496 GB, free: 5.641 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001425/0.9803, allocations: 47.11 kB / 0.7496 GB, free: 5.621 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01429/0.9946, allocations: 5.183 MB / 0.7547 GB, free: 1.188 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.555e-06/0.9947, allocations: 0 / 0.7547 GB, free: 1.188 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 2.476e-05/0.9947, allocations: 12 kB / 0.7547 GB, free: 1.176 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.001133/0.9959, allocations: 0.6069 MB / 0.7553 GB, free: 0.5469 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.9959, allocations: 8.031 kB / 0.7553 GB, free: 0.5391 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.9961, allocations: 39.58 kB / 0.7553 GB, free: 0.5 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.9964, allocations: 263.4 kB / 0.7556 GB, free: 224 kB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.9965, allocations: 22.16 kB / 0.7556 GB, free: 212 kB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.163e-05/0.9965, allocations: 27.12 kB / 0.7556 GB, free: 192 kB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004988/0.997, allocations: 259.7 kB / 0.7559 GB, free: 4 kB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.9971, allocations: 0 / 0.7559 GB, free: 4 kB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.31e-05/0.9971, allocations: 19.11 kB / 0.7559 GB, free: 15.99 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.9972, allocations: 11.95 kB / 0.7559 GB, free: 15.98 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.9975, allocations: 190.4 kB / 0.7561 GB, free: 15.85 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.9993, allocations: 1.043 MB / 0.7571 GB, free: 14.92 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.9996, allocations: 199 kB / 0.7573 GB, free: 14.79 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.9996, allocations: 4 kB / 0.7573 GB, free: 14.79 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000404/1, allocations: 217.7 kB / 0.7575 GB, free: 14.59 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=30): time 2.725e-06/1, allocations: 0 / 0.7575 GB, free: 14.59 MB / 0.5263 GB Notification: Performance of matching and sorting (n=30): time 0.00132/1.001, allocations: 0.5781 MB / 0.7581 GB, free: 14.07 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/1.001, allocations: 166 kB / 0.7582 GB, free: 13.88 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/1.002, allocations: 202.2 kB / 0.7584 GB, free: 13.71 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 4.604e-05/1.002, allocations: 33.64 kB / 0.7584 GB, free: 13.67 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/1.002, allocations: 183.4 kB / 0.7586 GB, free: 13.52 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 7.665e-05/1.002, allocations: 89.67 kB / 0.7587 GB, free: 13.45 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/1.002, allocations: 3.938 kB / 0.7587 GB, free: 13.45 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.002, allocations: 338.4 kB / 0.759 GB, free: 13.12 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/1.002, allocations: 90.2 kB / 0.7591 GB, free: 13.06 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/1.002, allocations: 157.5 kB / 0.7593 GB, free: 12.91 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/1.003, allocations: 109.4 kB / 0.7594 GB, free: 12.85 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.003, allocations: 0 / 0.7594 GB, free: 12.85 MB / 0.5263 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005974/1.003, allocations: 373.4 kB / 0.7597 GB, free: 12.57 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/1.003, allocations: 10.66 kB / 0.7597 GB, free: 12.56 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.003, allocations: 8.016 kB / 0.7597 GB, free: 12.55 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002899/1.004, allocations: 76.25 kB / 0.7598 GB, free: 12.49 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/1.004, allocations: 39.3 kB / 0.7599 GB, free: 12.45 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/1.006, allocations: 1.783 MB / 0.7616 GB, free: 10.77 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003224/1.006, allocations: 55.41 kB / 0.7616 GB, free: 10.71 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/1.006, allocations: 11.67 kB / 0.7617 GB, free: 10.71 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.B1.open,B1.open,$whenCondition3,$PRE.B2.open,B2.open,$whenCondition1,$PRE.B3.open,B3.open,$whenCondition6,$whenCondition4,$whenCondition2,$PRE.B1.G,B1.G,$PRE.B2.G,B2.G,$PRE.B3.G,B3.G) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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.0001806/1.006, allocations: 158.7 kB / 0.7618 GB, free: 10.56 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/1.006, allocations: 23.72 kB / 0.7618 GB, free: 10.54 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.923e-05/1.006, allocations: 34.27 kB / 0.7619 GB, free: 10.53 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.006, allocations: 7.938 kB / 0.7619 GB, free: 10.52 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/1.006, allocations: 4 kB / 0.7619 GB, free: 10.52 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/1.006, allocations: 0 / 0.7619 GB, free: 10.52 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/1.007, allocations: 358.2 kB / 0.7622 GB, free: 10.18 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/1.007, allocations: 3.953 kB / 0.7622 GB, free: 10.18 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/1.007, allocations: 16 kB / 0.7622 GB, free: 10.16 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002127/1.007, allocations: 79.73 kB / 0.7623 GB, free: 10.09 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/1.007, allocations: 7.938 kB / 0.7623 GB, free: 10.09 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/1.009, allocations: 1.78 MB / 0.7641 GB, free: 8.414 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.009, allocations: 4.062 kB / 0.7641 GB, free: 8.41 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006999/1.009, allocations: 464.2 kB / 0.7645 GB, free: 8.055 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 9.102e-05/1.01, allocations: 108.8 kB / 0.7646 GB, free: 7.93 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/1.01, allocations: 3.109 kB / 0.7646 GB, free: 7.93 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/1.01, allocations: 39.66 kB / 0.7647 GB, free: 7.895 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.092e-05/1.01, allocations: 23.72 kB / 0.7647 GB, free: 7.875 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/1.01, allocations: 14.23 kB / 0.7647 GB, free: 7.863 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.0001563/1.01, allocations: 166.2 kB / 0.7648 GB, free: 7.727 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.6e-07/1.01, allocations: 4 kB / 0.7648 GB, free: 7.723 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0004247/1.011, allocations: 107.5 kB / 0.765 GB, free: 7.629 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,B1.open,B1.G,B2.open,B2.G,B3.open,B3.G) * Number of discrete states: 3 (B3.open,B2.open,B1.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.0003254/1.011, allocations: 133.3 kB / 0.7651 GB, free: 7.504 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0007651/1.012, allocations: 399.1 kB / 0.7655 GB, free: 7.176 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.012, allocations: 0 / 0.7655 GB, free: 7.176 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0004191/1.012, allocations: 288.2 kB / 0.7657 GB, free: 6.926 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/1.012, allocations: 40 kB / 0.7658 GB, free: 6.898 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009572/1.013, allocations: 0.62 MB / 0.7664 GB, free: 6.289 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/1.014, allocations: 0.7875 MB / 0.7671 GB, free: 5.477 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.000107/1.014, allocations: 22.58 kB / 0.7672 GB, free: 5.457 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/1.014, allocations: 23.38 kB / 0.7672 GB, free: 5.434 MB / 0.5263 GB Notification: Performance of SimCode: time 3.51e-07/1.014, allocations: 0 / 0.7672 GB, free: 5.434 MB / 0.5263 GB Notification: Performance of Templates: time 0.008402/1.022, allocations: 3.614 MB / 0.7707 GB, free: 1.875 MB / 0.5263 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.sim & ./ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches