Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.0009858/0.0009859, allocations: 178.8 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.312/1.312, allocations: 221.3 MB / 235.5 MB, free: 2.969 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.001094/0.001094, allocations: 97.81 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9437/0.9437, allocations: 120.5 MB / 457.9 MB, free: 7.039 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.968e-05, allocations: 4 kB / 0.5357 GB, free: 12.2 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5749/0.5749, allocations: 82.84 MB / 0.6166 GB, free: 9.336 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1623/0.7372, allocations: 128.2 MB / 0.7419 GB, free: 8.949 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001232/0.7374, allocations: 59.92 kB / 0.7419 GB, free: 8.891 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01388/0.7513, allocations: 5.174 MB / 0.747 GB, free: 3.699 MB / 0.5419 GB Notification: Performance of FrontEnd: time 2.073e-06/0.7514, allocations: 4 kB / 0.747 GB, free: 3.695 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.7514, allocations: 11.98 kB / 0.747 GB, free: 3.684 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.0009088/0.7523, allocations: 0.5697 MB / 0.7475 GB, free: 3.07 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.7524, allocations: 8.031 kB / 0.7475 GB, free: 3.062 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.764e-05/0.7525, allocations: 39.58 kB / 0.7476 GB, free: 3.023 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.7528, allocations: 267.4 kB / 0.7478 GB, free: 2.719 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.7529, allocations: 24.77 kB / 0.7479 GB, free: 2.695 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.982e-05/0.7529, allocations: 24.22 kB / 0.7479 GB, free: 2.672 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000481/0.7534, allocations: 251.8 kB / 0.7481 GB, free: 2.418 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.7534, allocations: 7.938 kB / 0.7481 GB, free: 2.41 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/0.7535, allocations: 16 kB / 0.7481 GB, free: 2.395 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.7535, allocations: 8 kB / 0.7482 GB, free: 2.387 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.7538, allocations: 179.1 kB / 0.7483 GB, free: 2.215 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.7556, allocations: 1.042 MB / 0.7493 GB, free: 1.098 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.7559, allocations: 191.7 kB / 0.7495 GB, free: 0.9023 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.7561, allocations: 115.2 kB / 0.7496 GB, free: 0.7891 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.7561, allocations: 4 kB / 0.7496 GB, free: 0.7852 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000385/0.7565, allocations: 215.5 kB / 0.7498 GB, free: 0.5469 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=30): time 2.004e-06/0.7565, allocations: 0 / 0.7498 GB, free: 0.5469 MB / 0.5419 GB Notification: Performance of matching and sorting (n=30): time 0.0006122/0.7571, allocations: 298.7 kB / 0.7501 GB, free: 252 kB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.7573, allocations: 166.2 kB / 0.7503 GB, free: 48 kB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6116/1.369, allocations: 195.7 kB / 0.7505 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 8.432e-05/1.369, allocations: 38.66 kB / 0.7505 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/1.369, allocations: 178 kB / 0.7507 GB, free: 130.8 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 9.544e-05/1.369, allocations: 88.77 kB / 0.7508 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.722e-05/1.369, allocations: 6.75 kB / 0.7508 GB, free: 130.7 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 9.251e-05/1.369, allocations: 336.8 kB / 0.7511 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/1.37, allocations: 78.14 kB / 0.7512 GB, free: 130.4 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/1.37, allocations: 153.1 kB / 0.7513 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/1.37, allocations: 98.05 kB / 0.7514 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.37, allocations: 0.7812 kB / 0.7514 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006272/1.371, allocations: 356.7 kB / 0.7517 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/1.371, allocations: 7.656 kB / 0.7518 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/1.371, allocations: 3.438 kB / 0.7518 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/1.371, allocations: 82.95 kB / 0.7518 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/1.371, allocations: 37.97 kB / 0.7519 GB, free: 130.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/1.373, allocations: 1.749 MB / 0.7536 GB, free: 129 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/1.373, allocations: 47.97 kB / 0.7536 GB, free: 129 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/1.373, allocations: 11 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.0001041/1.373, allocations: 128.9 kB / 0.7538 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/1.373, allocations: 39.27 kB / 0.7538 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.264e-05/1.373, allocations: 34.31 kB / 0.7538 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.373, allocations: 3.688 kB / 0.7538 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.373, allocations: 2.547 kB / 0.7538 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/1.373, allocations: 1.5 kB / 0.7538 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/1.374, allocations: 352.7 kB / 0.7542 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/1.374, allocations: 0.7812 kB / 0.7542 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/1.374, allocations: 19.14 kB / 0.7542 GB, free: 128.7 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002167/1.374, allocations: 79.61 kB / 0.7543 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/1.374, allocations: 6.234 kB / 0.7543 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/1.376, allocations: 1.752 MB / 0.756 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.376, allocations: 1.5 kB / 0.756 GB, free: 127.3 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006931/1.376, allocations: 430.5 kB / 0.7564 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/1.376, allocations: 104.3 kB / 0.7565 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/1.376, allocations: 15.08 kB / 0.7565 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/1.377, allocations: 33.17 kB / 0.7565 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/1.377, allocations: 26.88 kB / 0.7566 GB, free: 127 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/1.377, allocations: 14.78 kB / 0.7566 GB, free: 127 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0001426/1.377, allocations: 164.7 kB / 0.7567 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.5e-07/1.377, allocations: 0 / 0.7567 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004182/1.377, allocations: 118.4 kB / 0.7569 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.000281/1.378, allocations: 130.4 kB / 0.757 GB, free: 126.8 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0006677/1.378, allocations: 375 kB / 0.7573 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.378, allocations: 4.594 kB / 0.7573 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0003541/1.379, allocations: 281 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.0002559/1.379, allocations: 40.38 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.0006225/1.38, allocations: 346 kB / 0.758 GB, free: 126.2 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/1.38, allocations: 0.7795 MB / 0.7587 GB, free: 125.5 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0001117/1.38, allocations: 25.8 kB / 0.7588 GB, free: 125.5 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.586e-05/1.38, allocations: 20.25 kB / 0.7588 GB, free: 125.5 MB / 0.5421 GB Notification: Performance of SimCode: time 3.71e-07/1.38, allocations: 0 / 0.7588 GB, free: 125.5 MB / 0.5421 GB Notification: Performance of Templates: time 0.007885/1.388, allocations: 3.624 MB / 0.7623 GB, free: 125.3 MB / 0.5421 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches