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.001417/0.001417, allocations: 175.8 kB / 8.346 MB, free: 0.7266 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.399/1.399, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.0009404/0.0009402, allocations: 94.06 kB / 281.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.255/1.255, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.622e-05/1.633e-05, allocations: 0 / 0.5288 GB, free: 1.32 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6273/0.6274, allocations: 82.84 MB / 0.6097 GB, free: 13.06 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1664/0.7938, allocations: 127.6 MB / 0.7343 GB, free: 13.31 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001751/0.7941, allocations: 51.97 kB / 0.7343 GB, free: 13.27 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01348/0.8076, allocations: 5.123 MB / 0.7393 GB, free: 8.121 MB / 0.5419 GB Notification: Performance of FrontEnd: time 4.298e-06/0.8076, allocations: 3.984 kB / 0.7393 GB, free: 8.117 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 2.353e-05/0.8077, allocations: 8 kB / 0.7393 GB, free: 8.109 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.0009597/0.8086, allocations: 0.5664 MB / 0.7399 GB, free: 7.496 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.8087, allocations: 12.03 kB / 0.7399 GB, free: 7.484 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.8088, allocations: 43.56 kB / 0.74 GB, free: 7.441 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.8092, allocations: 259.5 kB / 0.7402 GB, free: 7.145 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.8092, allocations: 8.219 kB / 0.7402 GB, free: 7.137 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.613e-05/0.8093, allocations: 20 kB / 0.7402 GB, free: 7.117 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003117/0.8096, allocations: 165.4 kB / 0.7404 GB, free: 6.957 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.81, allocations: 206.2 kB / 0.7406 GB, free: 6.746 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.81, allocations: 0 / 0.7406 GB, free: 6.746 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.81, allocations: 4 kB / 0.7406 GB, free: 6.742 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.8101, allocations: 11.95 kB / 0.7406 GB, free: 6.73 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.8117, allocations: 0.9787 MB / 0.7416 GB, free: 5.691 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.812, allocations: 178.8 kB / 0.7417 GB, free: 5.508 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.8122, allocations: 119.5 kB / 0.7418 GB, free: 5.391 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.8122, allocations: 0 / 0.7418 GB, free: 5.391 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003467/0.8125, allocations: 187.7 kB / 0.742 GB, free: 5.18 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=30): time 1.984e-06/0.8126, allocations: 0 / 0.742 GB, free: 5.18 MB / 0.5419 GB Notification: Performance of matching and sorting (n=30): time 0.0005694/0.8131, allocations: 295 kB / 0.7423 GB, free: 4.883 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.826e-05/0.8132, allocations: 158.2 kB / 0.7425 GB, free: 4.691 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.8134, allocations: 182.1 kB / 0.7426 GB, free: 4.508 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.8135, allocations: 37.62 kB / 0.7427 GB, free: 4.465 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.8136, allocations: 188.4 kB / 0.7428 GB, free: 4.277 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 7.32e-05/0.8137, allocations: 82.81 kB / 0.7429 GB, free: 4.195 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.8137, allocations: 4 kB / 0.7429 GB, free: 4.191 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.8139, allocations: 338.8 kB / 0.7432 GB, free: 3.852 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.814, allocations: 68 kB / 0.7433 GB, free: 3.785 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.8142, allocations: 143.4 kB / 0.7434 GB, free: 3.617 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.8143, allocations: 101.2 kB / 0.7435 GB, free: 3.52 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8143, allocations: 0 / 0.7435 GB, free: 3.52 MB / 0.5419 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005427/0.8149, allocations: 313.9 kB / 0.7438 GB, free: 3.203 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.8149, allocations: 8 kB / 0.7439 GB, free: 3.195 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.8149, allocations: 3.984 kB / 0.7439 GB, free: 3.191 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002759/0.8152, allocations: 80.84 kB / 0.7439 GB, free: 3.109 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.8154, allocations: 31.92 kB / 0.744 GB, free: 3.078 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.8171, allocations: 1.697 MB / 0.7456 GB, free: 1.262 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.8174, allocations: 43.8 kB / 0.7457 GB, free: 1.219 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.8174, allocations: 8 kB / 0.7457 GB, free: 1.211 MB / 0.5419 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.0001171/0.8175, allocations: 116.9 kB / 0.7458 GB, free: 1.09 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.8176, allocations: 35.66 kB / 0.7458 GB, free: 1.055 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.542e-05/0.8176, allocations: 23.41 kB / 0.7458 GB, free: 1.035 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.8177, allocations: 4 kB / 0.7458 GB, free: 1.031 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.8177, allocations: 0 / 0.7458 GB, free: 1.031 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.8177, allocations: 3.984 kB / 0.7458 GB, free: 1.027 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.818, allocations: 297.9 kB / 0.7461 GB, free: 0.6992 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.818, allocations: 0 / 0.7461 GB, free: 0.6992 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.8181, allocations: 20.09 kB / 0.7461 GB, free: 0.6797 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001987/0.8183, allocations: 76.75 kB / 0.7462 GB, free: 0.6016 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.8183, allocations: 4 kB / 0.7462 GB, free: 0.5977 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6935/1.512, allocations: 1.674 MB / 0.7479 GB, free: 132.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.512, allocations: 1.016 kB / 0.7479 GB, free: 132.6 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008414/1.513, allocations: 412.5 kB / 0.7483 GB, free: 132.5 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 7.04e-05/1.513, allocations: 108.7 kB / 0.7484 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/1.513, allocations: 9.859 kB / 0.7484 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/1.513, allocations: 32.05 kB / 0.7484 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.72e-05/1.513, allocations: 23.69 kB / 0.7484 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/1.513, allocations: 10.27 kB / 0.7484 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0001446/1.513, allocations: 142.4 kB / 0.7486 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.5e-07/1.513, allocations: 0.9375 kB / 0.7486 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.000468/1.514, allocations: 100.6 kB / 0.7487 GB, free: 132.4 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.0003249/1.514, allocations: 130.3 kB / 0.7488 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0007633/1.515, allocations: 357.4 kB / 0.7491 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.515, allocations: 0.7812 kB / 0.7491 GB, free: 132.2 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0003965/1.515, allocations: 252.9 kB / 0.7494 GB, free: 132 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/1.516, allocations: 30.73 kB / 0.7494 GB, free: 132 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007438/1.516, allocations: 335.2 kB / 0.7497 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/1.517, allocations: 0.7836 MB / 0.7505 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0001025/1.517, allocations: 21.52 kB / 0.7505 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/1.517, allocations: 18.53 kB / 0.7505 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of SimCode: time 4.51e-07/1.517, allocations: 1 kB / 0.7505 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of Templates: time 0.008743/1.526, allocations: 3.269 MB / 0.7537 GB, free: 131.1 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