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.001118/0.001117, allocations: 174.2 kB / 13.63 MB, free: 1.684 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.279/1.279, allocations: 221.4 MB / 235.5 MB, free: 2.98 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.0009576/0.0009577, allocations: 94.91 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9593/0.9593, allocations: 120.5 MB / 457.9 MB, free: 7.051 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.63e-05, allocations: 0 / 0.5357 GB, free: 12.2 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5683/0.5683, allocations: 82.83 MB / 0.6166 GB, free: 9.344 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/0.7271, allocations: 128.3 MB / 0.7419 GB, free: 8.941 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001739/0.7273, allocations: 51.92 kB / 0.7419 GB, free: 8.891 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01411/0.7414, allocations: 5.182 MB / 0.747 GB, free: 3.691 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7415, allocations: 0 / 0.747 GB, free: 3.691 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.059e-05/0.7415, allocations: 4 kB / 0.747 GB, free: 3.688 MB / 0.5419 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.0009037/0.7424, allocations: 0.5697 MB / 0.7475 GB, free: 3.074 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.7425, allocations: 12.03 kB / 0.7475 GB, free: 3.062 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.7426, allocations: 43.56 kB / 0.7476 GB, free: 3.02 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.7429, allocations: 263.4 kB / 0.7478 GB, free: 2.719 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.743, allocations: 24.78 kB / 0.7479 GB, free: 2.695 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.743, allocations: 28.22 kB / 0.7479 GB, free: 2.668 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.7435, allocations: 251.8 kB / 0.7481 GB, free: 2.414 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.7435, allocations: 3.938 kB / 0.7481 GB, free: 2.41 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.7436, allocations: 15.98 kB / 0.7481 GB, free: 2.395 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.7436, allocations: 8 kB / 0.7482 GB, free: 2.387 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.7439, allocations: 179.1 kB / 0.7483 GB, free: 2.215 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.7456, allocations: 1.038 MB / 0.7493 GB, free: 1.102 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.7458, allocations: 187.5 kB / 0.7495 GB, free: 0.9102 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.746, allocations: 119.5 kB / 0.7496 GB, free: 0.793 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.746, allocations: 8 kB / 0.7496 GB, free: 0.7852 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003226/0.7464, allocations: 207.5 kB / 0.7498 GB, free: 0.5547 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=30): time 2.064e-06/0.7464, allocations: 0 / 0.7498 GB, free: 0.5547 MB / 0.5419 GB Notification: Performance of matching and sorting (n=30): time 0.0005812/0.747, allocations: 302.7 kB / 0.7501 GB, free: 256 kB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/0.7471, allocations: 170.2 kB / 0.7503 GB, free: 48 kB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6808/1.428, allocations: 194.7 kB / 0.7505 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 9.897e-05/1.428, allocations: 35.56 kB / 0.7505 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/1.428, allocations: 178.1 kB / 0.7507 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/1.428, allocations: 89.28 kB / 0.7508 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/1.428, allocations: 6.75 kB / 0.7508 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 9.064e-05/1.428, allocations: 337.4 kB / 0.7511 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/1.429, allocations: 78.14 kB / 0.7512 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/1.429, allocations: 152.7 kB / 0.7513 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/1.429, allocations: 101.5 kB / 0.7514 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/1.429, allocations: 0.625 kB / 0.7514 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000755/1.43, allocations: 358 kB / 0.7517 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/1.43, allocations: 7.188 kB / 0.7518 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/1.43, allocations: 2.328 kB / 0.7518 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003337/1.43, allocations: 84.45 kB / 0.7518 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/1.431, allocations: 37.14 kB / 0.7519 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/1.432, allocations: 1.744 MB / 0.7536 GB, free: 129 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/1.432, allocations: 50.23 kB / 0.7536 GB, free: 129 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/1.433, allocations: 12.22 kB / 0.7536 GB, free: 129 MB / 0.5421 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 () * 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.0001114/1.433, allocations: 128.9 kB / 0.7538 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/1.433, allocations: 37.33 kB / 0.7538 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.57e-05/1.433, allocations: 38.98 kB / 0.7538 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/1.433, allocations: 3.312 kB / 0.7538 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.433, allocations: 2.656 kB / 0.7538 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/1.433, allocations: 3.703 kB / 0.7538 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/1.433, allocations: 342.8 kB / 0.7542 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/1.433, allocations: 1.344 kB / 0.7542 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/1.433, allocations: 24.25 kB / 0.7542 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002247/1.434, allocations: 81.53 kB / 0.7543 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/1.434, allocations: 6.75 kB / 0.7543 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/1.435, allocations: 1.754 MB / 0.756 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.435, allocations: 0.9062 kB / 0.756 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006952/1.436, allocations: 429.3 kB / 0.7564 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/1.436, allocations: 101.9 kB / 0.7565 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/1.436, allocations: 11.53 kB / 0.7565 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/1.436, allocations: 36.62 kB / 0.7565 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.75e-05/1.436, allocations: 24.02 kB / 0.7566 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/1.436, allocations: 10.55 kB / 0.7566 GB, free: 127 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.000153/1.437, allocations: 164.5 kB / 0.7567 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2e-07/1.437, allocations: 3.406 kB / 0.7567 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004133/1.437, allocations: 114.6 kB / 0.7568 GB, free: 126.9 MB / 0.5421 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) * 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.0002944/1.437, allocations: 132.1 kB / 0.757 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0006901/1.438, allocations: 380.9 kB / 0.7573 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.438, allocations: 1 kB / 0.7573 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0003811/1.438, allocations: 280.7 kB / 0.7576 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/1.439, allocations: 45.27 kB / 0.7576 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006387/1.439, allocations: 347 kB / 0.758 GB, free: 126.2 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/1.44, allocations: 0.7816 MB / 0.7587 GB, free: 125.5 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0001044/1.44, allocations: 24.97 kB / 0.7588 GB, free: 125.5 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/1.44, allocations: 20.27 kB / 0.7588 GB, free: 125.5 MB / 0.5421 GB Notification: Performance of SimCode: time 3e-07/1.44, allocations: 0.7812 kB / 0.7588 GB, free: 125.5 MB / 0.5421 GB Notification: Performance of Templates: time 0.008777/1.448, allocations: 3.626 MB / 0.7623 GB, free: 125.2 MB / 0.5421 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