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.001201/0.001201, allocations: 109.9 kB / 17.06 MB, free: 6.02 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.001118/0.001118, allocations: 192 kB / 18 MB, free: 5.102 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.238/1.238, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9301/0.9301, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 62.84 kB / 0.5704 GB, free: 40.05 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1344, allocations: 80.69 MB / 0.6492 GB, free: 13.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array): time 0.003273/0.1377, allocations: 2.033 MB / 0.6512 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.1388, allocations: 0.5416 MB / 0.6517 GB, free: 11 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.1389, allocations: 8 kB / 0.6517 GB, free: 10.99 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.1391, allocations: 23.78 kB / 0.6518 GB, free: 10.97 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.1394, allocations: 43.62 kB / 0.6518 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.1397, allocations: 63.91 kB / 0.6519 GB, free: 10.86 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005045/0.1403, allocations: 462.2 kB / 0.6523 GB, free: 10.41 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002368/0.1405, allocations: 183.1 kB / 0.6525 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.1407, allocations: 167.5 kB / 0.6526 GB, free: 10.06 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.1409, allocations: 191.2 kB / 0.6528 GB, free: 9.875 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.583e-05/0.1409, allocations: 32 kB / 0.6528 GB, free: 9.844 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.013e-05/0.141, allocations: 39.94 kB / 0.6529 GB, free: 9.805 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.131e-05/0.1411, allocations: 79.75 kB / 0.653 GB, free: 9.727 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.1413, allocations: 187.1 kB / 0.6531 GB, free: 9.543 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004334/0.1417, allocations: 462.2 kB / 0.6536 GB, free: 9.09 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.1418, allocations: 11.94 kB / 0.6536 GB, free: 9.078 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1418, allocations: 3.938 kB / 0.6536 GB, free: 9.074 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.1418, allocations: 0 / 0.6536 GB, free: 9.074 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.001145/0.1429, allocations: 0.7218 MB / 0.6543 GB, free: 8.305 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.143, allocations: 15.89 kB / 0.6543 GB, free: 8.289 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.873e-05/0.143, allocations: 66.72 kB / 0.6544 GB, free: 8.215 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.755e-05/0.1431, allocations: 40.7 kB / 0.6544 GB, free: 8.176 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.1435, allocations: 315.7 kB / 0.6547 GB, free: 7.828 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.1435, allocations: 21.03 kB / 0.6547 GB, free: 7.809 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.117e-05/0.1436, allocations: 32.38 kB / 0.6548 GB, free: 7.777 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/0.1442, allocations: 398 kB / 0.6552 GB, free: 7.379 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1442, allocations: 3.984 kB / 0.6552 GB, free: 7.375 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.1442, allocations: 19.98 kB / 0.6552 GB, free: 7.355 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.1443, allocations: 8 kB / 0.6552 GB, free: 7.348 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004675/0.1447, allocations: 330.4 kB / 0.6555 GB, free: 7.027 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.1465, allocations: 1.248 MB / 0.6567 GB, free: 5.699 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.1469, allocations: 290.5 kB / 0.657 GB, free: 5.41 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.1472, allocations: 188.4 kB / 0.6572 GB, free: 5.227 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.1472, allocations: 4 kB / 0.6572 GB, free: 5.223 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003858/0.1476, allocations: 291.8 kB / 0.6575 GB, free: 4.91 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=30): time 1.463e-06/0.1476, allocations: 0 / 0.6575 GB, free: 4.91 MB / 0.4983 GB Notification: Performance of matching and sorting (n=30): time 0.001574/0.1492, allocations: 0.7838 MB / 0.6582 GB, free: 4.098 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.241e-05/0.1493, allocations: 166.2 kB / 0.6584 GB, free: 3.898 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.1495, allocations: 304.9 kB / 0.6587 GB, free: 3.594 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.1496, allocations: 37.7 kB / 0.6587 GB, free: 3.551 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1497, allocations: 188.5 kB / 0.6589 GB, free: 3.363 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 6.707e-05/0.1498, allocations: 107.2 kB / 0.659 GB, free: 3.258 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1499, allocations: 74.09 kB / 0.6591 GB, free: 3.18 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.15, allocations: 338.8 kB / 0.6594 GB, free: 2.84 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.1502, allocations: 168.7 kB / 0.6595 GB, free: 2.676 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.1505, allocations: 263.7 kB / 0.6598 GB, free: 2.387 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/0.151, allocations: 360.2 kB / 0.6601 GB, free: 2.02 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.151, allocations: 4 kB / 0.6601 GB, free: 2.016 MB / 0.4983 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007792/0.1518, allocations: 0.5717 MB / 0.6607 GB, free: 1.434 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1518, allocations: 4 kB / 0.6607 GB, free: 1.43 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1518, allocations: 0 / 0.6607 GB, free: 1.43 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003207/0.1521, allocations: 120.7 kB / 0.6608 GB, free: 1.309 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.1523, allocations: 47.91 kB / 0.6609 GB, free: 1.262 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.1544, allocations: 2.277 MB / 0.6631 GB, free: 14.84 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.1547, allocations: 75.69 kB / 0.6632 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.1548, allocations: 12 kB / 0.6632 GB, free: 14.76 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.0002136/0.155, allocations: 204.2 kB / 0.6634 GB, free: 14.55 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.155, allocations: 31.81 kB / 0.6634 GB, free: 14.52 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.451e-05/0.1551, allocations: 38.95 kB / 0.6634 GB, free: 14.48 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1551, allocations: 4 kB / 0.6634 GB, free: 14.48 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.1551, allocations: 3.938 kB / 0.6634 GB, free: 14.47 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1552, allocations: 0 / 0.6634 GB, free: 14.47 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.1555, allocations: 397.3 kB / 0.6638 GB, free: 14.04 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1555, allocations: 0 / 0.6638 GB, free: 14.04 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.1557, allocations: 27.92 kB / 0.6638 GB, free: 14.01 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002492/0.1559, allocations: 112.8 kB / 0.664 GB, free: 13.89 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.1559, allocations: 3.984 kB / 0.664 GB, free: 13.89 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/0.158, allocations: 2.282 MB / 0.6662 GB, free: 11.47 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.158, allocations: 4.062 kB / 0.6662 GB, free: 11.46 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008937/0.1589, allocations: 0.6496 MB / 0.6668 GB, free: 10.79 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.771e-05/0.159, allocations: 108.9 kB / 0.6669 GB, free: 10.67 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.159, allocations: 11.98 kB / 0.6669 GB, free: 10.66 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.1592, allocations: 52 kB / 0.667 GB, free: 10.61 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.672e-05/0.1593, allocations: 23.97 kB / 0.667 GB, free: 10.58 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.1594, allocations: 15.98 kB / 0.667 GB, free: 10.57 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001904/0.1596, allocations: 216.4 kB / 0.6672 GB, free: 10.36 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1596, allocations: 0 / 0.6672 GB, free: 10.36 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003788/0.16, allocations: 131.8 kB / 0.6674 GB, free: 10.23 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.00131/0.1613, allocations: 1.206 MB / 0.6685 GB, free: 9 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0008516/0.1621, allocations: 0.5456 MB / 0.6691 GB, free: 8.441 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1621, allocations: 0 / 0.6691 GB, free: 8.441 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004532/0.1626, allocations: 350.5 kB / 0.6694 GB, free: 8.086 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.1629, allocations: 55.89 kB / 0.6695 GB, free: 8.035 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/0.167, allocations: 3.595 MB / 0.673 GB, free: 4.32 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.1673, allocations: 0.8496 MB / 0.6738 GB, free: 3.445 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.1675, allocations: 59.22 kB / 0.6739 GB, free: 3.391 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.1676, allocations: 99.39 kB / 0.6739 GB, free: 3.293 MB / 0.5139 GB Notification: Performance of SimCode: time 3.41e-07/0.1676, allocations: 0 / 0.6739 GB, free: 3.293 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.2001, allocations: 8.371 MB / 0.6821 GB, free: 11.17 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.477/9.677, allocations: 8.359 kB / 0.6821 GB, free: 11.16 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