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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Scalar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Scalar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 111.8 kB / 17.06 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.001261, allocations: 191 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9108/0.9108, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001196, allocations: 63 kB / 0.5704 GB, free: 40.09 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1366, allocations: 80.69 MB / 0.6492 GB, free: 13.61 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar): time 0.003601/0.1402, allocations: 2.85 MB / 0.652 GB, free: 10.74 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1414, allocations: 0.7167 MB / 0.6527 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.1416, allocations: 4 kB / 0.6527 GB, free: 10.02 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001665/0.1418, allocations: 59.44 kB / 0.6528 GB, free: 9.957 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.1419, allocations: 87.19 kB / 0.6528 GB, free: 9.871 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.1423, allocations: 127.7 kB / 0.653 GB, free: 9.746 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000349/0.1427, allocations: 394.3 kB / 0.6533 GB, free: 9.359 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.1429, allocations: 135.1 kB / 0.6535 GB, free: 9.223 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.1431, allocations: 139.6 kB / 0.6536 GB, free: 9.086 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.1432, allocations: 171.2 kB / 0.6538 GB, free: 8.918 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.1433, allocations: 32 kB / 0.6538 GB, free: 8.887 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.396e-05/0.1434, allocations: 32 kB / 0.6538 GB, free: 8.855 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 6.289e-05/0.1434, allocations: 79.73 kB / 0.6539 GB, free: 8.777 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.1436, allocations: 175.1 kB / 0.6541 GB, free: 8.605 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004078/0.144, allocations: 390.4 kB / 0.6544 GB, free: 8.223 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.144, allocations: 4 kB / 0.6544 GB, free: 8.219 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.262e-06/0.144, allocations: 0 / 0.6544 GB, free: 8.219 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.1441, allocations: 0 / 0.6544 GB, free: 8.219 MB / 0.4983 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.0009561/0.145, allocations: 0.6478 MB / 0.6551 GB, free: 7.523 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1451, allocations: 15.89 kB / 0.6551 GB, free: 7.508 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.221e-05/0.1451, allocations: 66.72 kB / 0.6552 GB, free: 7.434 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.819e-05/0.1452, allocations: 36.75 kB / 0.6552 GB, free: 7.398 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.1456, allocations: 284.7 kB / 0.6555 GB, free: 7.078 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.1456, allocations: 21.03 kB / 0.6555 GB, free: 7.059 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.1457, allocations: 28.36 kB / 0.6555 GB, free: 7.031 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004688/0.1462, allocations: 270.1 kB / 0.6558 GB, free: 6.758 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1462, allocations: 3.938 kB / 0.6558 GB, free: 6.754 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.1462, allocations: 12 kB / 0.6558 GB, free: 6.742 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.1462, allocations: 8 kB / 0.6558 GB, free: 6.734 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003304/0.1466, allocations: 194.5 kB / 0.656 GB, free: 6.547 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.148, allocations: 0.9987 MB / 0.6569 GB, free: 5.469 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.1483, allocations: 198.7 kB / 0.6571 GB, free: 5.27 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.1485, allocations: 128.8 kB / 0.6573 GB, free: 5.141 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.1485, allocations: 0 / 0.6573 GB, free: 5.141 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003192/0.1489, allocations: 219.9 kB / 0.6575 GB, free: 4.898 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.1489, allocations: 0 / 0.6575 GB, free: 4.898 MB / 0.4983 GB Notification: Performance of matching and sorting (n=30): time 0.001261/0.1501, allocations: 0.5654 MB / 0.658 GB, free: 4.305 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.986e-05/0.1502, allocations: 166.2 kB / 0.6582 GB, free: 4.105 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.1505, allocations: 229 kB / 0.6584 GB, free: 3.875 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.1505, allocations: 33.7 kB / 0.6584 GB, free: 3.836 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.1506, allocations: 184.5 kB / 0.6586 GB, free: 3.652 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 6.854e-05/0.1507, allocations: 95.27 kB / 0.6587 GB, free: 3.559 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.291e-05/0.1508, allocations: 61.66 kB / 0.6588 GB, free: 3.492 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1509, allocations: 338.8 kB / 0.6591 GB, free: 3.152 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.151, allocations: 79.95 kB / 0.6592 GB, free: 3.074 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.1512, allocations: 163.5 kB / 0.6593 GB, free: 2.887 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.1515, allocations: 228.5 kB / 0.6595 GB, free: 2.648 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1515, allocations: 0 / 0.6595 GB, free: 2.648 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000569/0.1521, allocations: 370 kB / 0.6599 GB, free: 2.277 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1521, allocations: 4 kB / 0.6599 GB, free: 2.273 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1522, allocations: 4 kB / 0.6599 GB, free: 2.27 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002703/0.1524, allocations: 76.8 kB / 0.66 GB, free: 2.191 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.1526, allocations: 35.92 kB / 0.66 GB, free: 2.156 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.1544, allocations: 1.899 MB / 0.6618 GB, free: 120 kB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.1546, allocations: 43.83 kB / 0.6619 GB, free: 76 kB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.1547, allocations: 12 kB / 0.6619 GB, free: 64 kB / 0.4983 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 (B1.open,$PRE.B1.open,$whenCondition5,B2.open,$PRE.B2.open,$whenCondition3,B3.open,$PRE.B3.open,$whenCondition1,B3.G,$PRE.B3.G,B2.G,$PRE.B2.G,B1.G,$PRE.B1.G,$whenCondition2,$whenCondition4,$whenCondition6) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001739/0.1548, allocations: 154.7 kB / 0.6621 GB, free: 15.9 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.1549, allocations: 27.86 kB / 0.6621 GB, free: 15.88 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.155, allocations: 31.09 kB / 0.6621 GB, free: 15.84 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.155, allocations: 7.984 kB / 0.6621 GB, free: 15.84 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.155, allocations: 3.938 kB / 0.6621 GB, free: 15.83 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.155, allocations: 7.938 kB / 0.6621 GB, free: 15.82 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.1553, allocations: 353.3 kB / 0.6625 GB, free: 15.43 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1553, allocations: 4 kB / 0.6625 GB, free: 15.43 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.665e-05/0.1554, allocations: 15.98 kB / 0.6625 GB, free: 15.41 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/0.1556, allocations: 81.12 kB / 0.6626 GB, free: 15.33 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.1557, allocations: 4 kB / 0.6626 GB, free: 15.32 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.1573, allocations: 1.895 MB / 0.6644 GB, free: 13.29 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1573, allocations: 0 / 0.6644 GB, free: 13.29 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/0.158, allocations: 458.8 kB / 0.6649 GB, free: 12.82 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/0.1581, allocations: 104.9 kB / 0.665 GB, free: 12.7 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.1581, allocations: 8 kB / 0.665 GB, free: 12.69 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.1583, allocations: 27.97 kB / 0.665 GB, free: 12.66 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.1584, allocations: 23.97 kB / 0.665 GB, free: 12.64 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.1585, allocations: 15.98 kB / 0.665 GB, free: 12.62 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001375/0.1586, allocations: 160.5 kB / 0.6652 GB, free: 12.47 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1586, allocations: 4.062 kB / 0.6652 GB, free: 12.46 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003495/0.159, allocations: 115.8 kB / 0.6653 GB, free: 12.35 MB / 0.5139 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001167/0.1601, allocations: 1.013 MB / 0.6663 GB, free: 11.32 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0007045/0.1608, allocations: 390.7 kB / 0.6667 GB, free: 10.92 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1609, allocations: 0 / 0.6667 GB, free: 10.92 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.1613, allocations: 283 kB / 0.6669 GB, free: 10.63 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.1616, allocations: 52.73 kB / 0.667 GB, free: 10.58 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.1646, allocations: 2.71 MB / 0.6696 GB, free: 7.758 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.165, allocations: 0.7717 MB / 0.6704 GB, free: 6.961 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 9.618e-05/0.1651, allocations: 18.3 kB / 0.6704 GB, free: 6.938 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.1652, allocations: 99.39 kB / 0.6705 GB, free: 6.844 MB / 0.5139 GB Notification: Performance of SimCode: time 2.9e-07/0.1652, allocations: 0 / 0.6705 GB, free: 6.844 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.888/2.053, allocations: 6.875 MB / 0.6772 GB, free: 208 kB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.749/11.8, allocations: 23 kB / 0.6772 GB, free: 196 kB / 0.5139 GB (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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Scalar.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches