Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.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_Array,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array",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.001248/0.001248, allocations: 113 kB / 17.05 MB, free: 6.086 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.001273/0.001273, allocations: 188 kB / 17.99 MB, free: 5.184 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.302/1.302, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9267/0.9267, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 62.7 kB / 0.5704 GB, free: 40.1 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1478, allocations: 80.69 MB / 0.6492 GB, free: 13.6 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array): time 0.00312/0.151, allocations: 2.025 MB / 0.6512 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009443/0.152, allocations: 0.5455 MB / 0.6517 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.865e-05/0.1521, allocations: 0 / 0.6517 GB, free: 11.01 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.1522, allocations: 23.78 kB / 0.6517 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.1525, allocations: 51.56 kB / 0.6518 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.1528, allocations: 71.59 kB / 0.6519 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004865/0.1533, allocations: 454.2 kB / 0.6523 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002617/0.1535, allocations: 191.1 kB / 0.6525 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.1537, allocations: 171.5 kB / 0.6526 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.1539, allocations: 187.2 kB / 0.6528 GB, free: 9.883 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.212e-05/0.154, allocations: 32 kB / 0.6529 GB, free: 9.852 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.834e-05/0.1541, allocations: 36 kB / 0.6529 GB, free: 9.816 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.1542, allocations: 91.67 kB / 0.653 GB, free: 9.727 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001996/0.1544, allocations: 179.1 kB / 0.6531 GB, free: 9.551 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.1549, allocations: 466.3 kB / 0.6536 GB, free: 9.094 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1549, allocations: 0 / 0.6536 GB, free: 9.094 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1549, allocations: 0 / 0.6536 GB, free: 9.094 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.1549, allocations: 0 / 0.6536 GB, free: 9.094 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.001216/0.1561, allocations: 0.7257 MB / 0.6543 GB, free: 8.32 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1562, allocations: 11.89 kB / 0.6543 GB, free: 8.309 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.592e-05/0.1563, allocations: 66.72 kB / 0.6544 GB, free: 8.234 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.806e-05/0.1564, allocations: 40.7 kB / 0.6544 GB, free: 8.195 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.1568, allocations: 319.7 kB / 0.6547 GB, free: 7.844 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.1568, allocations: 21.03 kB / 0.6547 GB, free: 7.824 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.416e-05/0.1569, allocations: 32.38 kB / 0.6548 GB, free: 7.793 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/0.1576, allocations: 398 kB / 0.6551 GB, free: 7.395 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1576, allocations: 3.938 kB / 0.6552 GB, free: 7.391 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.1576, allocations: 15.98 kB / 0.6552 GB, free: 7.375 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1576, allocations: 4 kB / 0.6552 GB, free: 7.371 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005158/0.1581, allocations: 338.4 kB / 0.6555 GB, free: 7.043 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.1601, allocations: 1.248 MB / 0.6567 GB, free: 5.715 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.1605, allocations: 290.7 kB / 0.657 GB, free: 5.422 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.1608, allocations: 180.8 kB / 0.6572 GB, free: 5.242 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.1608, allocations: 0 / 0.6572 GB, free: 5.242 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000422/0.1613, allocations: 299.8 kB / 0.6574 GB, free: 4.922 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=30): time 2.806e-06/0.1613, allocations: 4 kB / 0.6575 GB, free: 4.918 MB / 0.4983 GB Notification: Performance of matching and sorting (n=30): time 0.001639/0.1629, allocations: 0.7799 MB / 0.6582 GB, free: 4.109 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.163, allocations: 166.2 kB / 0.6584 GB, free: 3.91 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.1633, allocations: 304.9 kB / 0.6587 GB, free: 3.605 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.1634, allocations: 37.69 kB / 0.6587 GB, free: 3.562 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.1635, allocations: 192.6 kB / 0.6589 GB, free: 3.371 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 7.061e-05/0.1636, allocations: 99.2 kB / 0.659 GB, free: 3.273 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.1637, allocations: 78.09 kB / 0.6591 GB, free: 3.191 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1638, allocations: 342.8 kB / 0.6594 GB, free: 2.848 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.1641, allocations: 168.7 kB / 0.6595 GB, free: 2.684 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.1644, allocations: 267.7 kB / 0.6598 GB, free: 2.391 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.1649, allocations: 360.3 kB / 0.6601 GB, free: 2.023 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1649, allocations: 0 / 0.6601 GB, free: 2.023 MB / 0.4983 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008355/0.1657, allocations: 0.5598 MB / 0.6607 GB, free: 1.453 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1657, allocations: 8 kB / 0.6607 GB, free: 1.445 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1658, allocations: 3.938 kB / 0.6607 GB, free: 1.441 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003461/0.1661, allocations: 120.7 kB / 0.6608 GB, free: 1.32 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.1663, allocations: 47.91 kB / 0.6609 GB, free: 1.273 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.1686, allocations: 2.285 MB / 0.6631 GB, free: 14.85 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.1689, allocations: 71.72 kB / 0.6632 GB, free: 14.78 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.1689, allocations: 8 kB / 0.6632 GB, free: 14.77 MB / 0.5139 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 (B[1].open,$PRE.B[1].open,$whenCondition5,B[2].open,$PRE.B[2].open,$whenCondition3,B[3].open,$PRE.B[3].open,$whenCondition1,B[3].G,$PRE.B[3].G,B[2].G,$PRE.B[2].G,B[1].G,$PRE.B[1].G,$whenCondition2,$whenCondition4,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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.0002198/0.1692, allocations: 208.2 kB / 0.6634 GB, free: 14.56 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.1692, allocations: 31.81 kB / 0.6634 GB, free: 14.53 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.182e-05/0.1693, allocations: 38.95 kB / 0.6634 GB, free: 14.49 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1693, allocations: 0 / 0.6634 GB, free: 14.49 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.1693, allocations: 7.938 kB / 0.6634 GB, free: 14.48 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1693, allocations: 0 / 0.6634 GB, free: 14.48 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.1697, allocations: 393.3 kB / 0.6638 GB, free: 14.05 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1697, allocations: 0 / 0.6638 GB, free: 14.05 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.1698, allocations: 27.98 kB / 0.6638 GB, free: 14.02 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002444/0.1701, allocations: 108.7 kB / 0.6639 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.1701, allocations: 11.98 kB / 0.664 GB, free: 13.9 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/0.1723, allocations: 2.282 MB / 0.6662 GB, free: 11.48 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1723, allocations: 0 / 0.6662 GB, free: 11.48 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009259/0.1732, allocations: 0.6535 MB / 0.6668 GB, free: 10.8 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.833e-05/0.1733, allocations: 104.9 kB / 0.6669 GB, free: 10.68 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.1734, allocations: 16.11 kB / 0.6669 GB, free: 10.66 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.1736, allocations: 43.94 kB / 0.667 GB, free: 10.62 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.733e-05/0.1737, allocations: 23.97 kB / 0.667 GB, free: 10.6 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.5e-05/0.1737, allocations: 15.98 kB / 0.667 GB, free: 10.58 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0002063/0.174, allocations: 220.4 kB / 0.6672 GB, free: 10.37 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.174, allocations: 3.938 kB / 0.6672 GB, free: 10.37 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003806/0.1743, allocations: 131.8 kB / 0.6674 GB, free: 10.24 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,B[1].open,B[1].G,B[2].open,B[2].G,B[3].open,B[3].G) * Number of discrete states: 3 (B[3].open,B[2].open,B[1].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.001363/0.1757, allocations: 1.201 MB / 0.6685 GB, free: 9.012 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0009025/0.1766, allocations: 0.5417 MB / 0.6691 GB, free: 8.457 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1766, allocations: 4 kB / 0.6691 GB, free: 8.453 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004674/0.1771, allocations: 350.5 kB / 0.6694 GB, free: 8.098 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.1775, allocations: 52.28 kB / 0.6694 GB, free: 8.047 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004191/0.1817, allocations: 3.599 MB / 0.673 GB, free: 4.328 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.1821, allocations: 0.838 MB / 0.6738 GB, free: 3.465 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.1823, allocations: 59.22 kB / 0.6738 GB, free: 3.41 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.1824, allocations: 95.39 kB / 0.6739 GB, free: 3.316 MB / 0.5139 GB Notification: Performance of SimCode: time 8.42e-07/0.1824, allocations: 0 / 0.6739 GB, free: 3.316 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05213/0.2346, allocations: 8.38 MB / 0.6821 GB, free: 11.19 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.602/9.837, allocations: 4.297 kB / 0.6821 GB, free: 11.18 MB / 0.5295 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.sim & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_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_Array.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches