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.001057/0.001057, allocations: 180.9 kB / 16.39 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.266/1.266, 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.0009045/0.0009045, allocations: 98.73 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7761/0.7761, allocations: 120.5 MB / 463.1 MB, free: 8.715 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003057, allocations: 8 kB / 0.5433 GB, free: 42.44 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1403, allocations: 82.85 MB / 0.6242 GB, free: 9.254 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7041/0.8444, allocations: 128.3 MB / 0.7496 GB, free: 5.578 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000132/0.8446, allocations: 50.67 kB / 0.7496 GB, free: 5.555 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.0134/0.858, allocations: 5.19 MB / 0.7547 GB, free: 1.113 MB / 0.5107 GB Notification: Performance of FrontEnd: time 2.134e-06/0.858, allocations: 0 / 0.7547 GB, free: 1.113 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 2.284e-05/0.8581, allocations: 4 kB / 0.7547 GB, free: 1.109 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.001065/0.8591, allocations: 0.5949 MB / 0.7553 GB, free: 496 kB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.8592, allocations: 8.031 kB / 0.7553 GB, free: 488 kB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.8593, allocations: 47.56 kB / 0.7553 GB, free: 440 kB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.8597, allocations: 265.8 kB / 0.7556 GB, free: 152 kB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.8597, allocations: 23.28 kB / 0.7556 GB, free: 140 kB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.078e-05/0.8598, allocations: 31.62 kB / 0.7556 GB, free: 120 kB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/0.8603, allocations: 258 kB / 0.7559 GB, free: 15.93 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.8603, allocations: 4 kB / 0.7559 GB, free: 15.93 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.8604, allocations: 11.56 kB / 0.7559 GB, free: 15.92 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.8604, allocations: 11.95 kB / 0.7559 GB, free: 15.91 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/0.8607, allocations: 198.7 kB / 0.7561 GB, free: 15.77 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.8625, allocations: 1.033 MB / 0.7571 GB, free: 14.86 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.8628, allocations: 206.6 kB / 0.7573 GB, free: 14.71 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.8628, allocations: 3.984 kB / 0.7573 GB, free: 14.71 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003823/0.8632, allocations: 222 kB / 0.7575 GB, free: 14.51 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=30): time 3.036e-06/0.8632, allocations: 0 / 0.7575 GB, free: 14.51 MB / 0.5263 GB Notification: Performance of matching and sorting (n=30): time 0.001325/0.8645, allocations: 0.5713 MB / 0.7581 GB, free: 14 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.139e-05/0.8646, allocations: 162.2 kB / 0.7582 GB, free: 13.81 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.8648, allocations: 199 kB / 0.7584 GB, free: 13.64 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.8649, allocations: 37.44 kB / 0.7584 GB, free: 13.61 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.865, allocations: 190.6 kB / 0.7586 GB, free: 13.45 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 6.909e-05/0.8651, allocations: 86.17 kB / 0.7587 GB, free: 13.38 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/0.8651, allocations: 11.81 kB / 0.7587 GB, free: 13.37 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.8652, allocations: 330.5 kB / 0.759 GB, free: 13.05 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.8654, allocations: 82.28 kB / 0.7591 GB, free: 13 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.8656, allocations: 170.2 kB / 0.7593 GB, free: 12.84 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.8658, allocations: 106 kB / 0.7594 GB, free: 12.78 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8658, allocations: 0 / 0.7594 GB, free: 12.78 MB / 0.5263 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005894/0.8664, allocations: 373.8 kB / 0.7597 GB, free: 12.5 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.8664, allocations: 4 kB / 0.7597 GB, free: 12.49 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.8664, allocations: 4 kB / 0.7597 GB, free: 12.49 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003/0.8667, allocations: 85.5 kB / 0.7598 GB, free: 12.42 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.8669, allocations: 35.48 kB / 0.7599 GB, free: 12.39 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/0.8687, allocations: 1.78 MB / 0.7616 GB, free: 10.7 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.8689, allocations: 59.58 kB / 0.7616 GB, free: 10.65 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.869, allocations: 11.94 kB / 0.7617 GB, free: 10.64 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.0001622/0.8691, allocations: 154.4 kB / 0.7618 GB, free: 10.5 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.8692, allocations: 23.72 kB / 0.7618 GB, free: 10.48 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.612e-05/0.8693, allocations: 33.95 kB / 0.7619 GB, free: 10.46 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.8693, allocations: 8 kB / 0.7619 GB, free: 10.45 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.8693, allocations: 8.797 kB / 0.7619 GB, free: 10.45 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.8693, allocations: 0 / 0.7619 GB, free: 10.45 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.8696, allocations: 354.8 kB / 0.7622 GB, free: 10.11 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.8696, allocations: 3.953 kB / 0.7622 GB, free: 10.11 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.8698, allocations: 19.86 kB / 0.7622 GB, free: 10.09 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002046/0.87, allocations: 81.08 kB / 0.7623 GB, free: 10.02 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.87, allocations: 4.375 kB / 0.7623 GB, free: 10.02 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.8716, allocations: 1.79 MB / 0.7641 GB, free: 8.336 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8717, allocations: 0 / 0.7641 GB, free: 8.336 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006896/0.8723, allocations: 469.2 kB / 0.7645 GB, free: 7.977 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 7.652e-05/0.8724, allocations: 104.8 kB / 0.7646 GB, free: 7.855 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.8725, allocations: 7.438 kB / 0.7646 GB, free: 7.852 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.8727, allocations: 35.66 kB / 0.7647 GB, free: 7.82 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.945e-05/0.8728, allocations: 23.47 kB / 0.7647 GB, free: 7.801 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.8728, allocations: 15.67 kB / 0.7647 GB, free: 7.789 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.0001292/0.8729, allocations: 161.7 kB / 0.7648 GB, free: 7.656 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8729, allocations: 0 / 0.7648 GB, free: 7.656 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0003817/0.8733, allocations: 106.6 kB / 0.7649 GB, free: 7.562 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.0002835/0.8736, allocations: 132.2 kB / 0.7651 GB, free: 7.438 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0007315/0.8744, allocations: 396.9 kB / 0.7655 GB, free: 7.109 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.8744, allocations: 7.984 kB / 0.7655 GB, free: 7.102 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.000425/0.8748, allocations: 287 kB / 0.7657 GB, free: 6.855 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.8751, allocations: 40.22 kB / 0.7658 GB, free: 6.828 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008913/0.876, allocations: 0.6286 MB / 0.7664 GB, free: 6.207 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.8763, allocations: 0.7875 MB / 0.7672 GB, free: 5.395 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0001061/0.8764, allocations: 22.3 kB / 0.7672 GB, free: 5.375 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.8765, allocations: 19.44 kB / 0.7672 GB, free: 5.355 MB / 0.5263 GB Notification: Performance of SimCode: time 4.11e-07/0.8765, allocations: 3.938 kB / 0.7672 GB, free: 5.352 MB / 0.5263 GB Notification: Performance of Templates: time 0.007689/0.8842, allocations: 3.609 MB / 0.7707 GB, free: 1.805 MB / 0.5263 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/jenkins/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