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.00151/0.00151, allocations: 106.8 kB / 17.06 MB, free: 5.82 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.001425/0.001425, allocations: 195.9 kB / 18 MB, free: 4.965 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.341/1.341, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9617/0.9617, allocations: 119.3 MB / 411.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 63.23 kB / 0.5704 GB, free: 40.06 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1438, 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.003301/0.1472, allocations: 2.033 MB / 0.6512 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009824/0.1482, allocations: 0.5533 MB / 0.6517 GB, free: 11 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.446e-05/0.1483, allocations: 0 / 0.6517 GB, free: 11 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.1484, allocations: 23.8 kB / 0.6518 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.1487, allocations: 47.38 kB / 0.6518 GB, free: 10.93 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.149, allocations: 67.91 kB / 0.6519 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000548/0.1495, allocations: 458.2 kB / 0.6523 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.1498, allocations: 183.1 kB / 0.6525 GB, free: 10.23 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.15, allocations: 171.4 kB / 0.6527 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.1503, allocations: 183.3 kB / 0.6528 GB, free: 9.887 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 6.326e-05/0.1504, allocations: 36 kB / 0.6529 GB, free: 9.852 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.622e-05/0.1505, allocations: 39.94 kB / 0.6529 GB, free: 9.812 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.1506, allocations: 83.73 kB / 0.653 GB, free: 9.73 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.1508, allocations: 187.1 kB / 0.6532 GB, free: 9.547 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004884/0.1513, allocations: 462.3 kB / 0.6536 GB, free: 9.094 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1513, allocations: 0 / 0.6536 GB, free: 9.094 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1513, allocations: 3.938 kB / 0.6536 GB, free: 9.09 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.1513, allocations: 0 / 0.6536 GB, free: 9.09 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.001239/0.1526, allocations: 0.7218 MB / 0.6543 GB, free: 8.32 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1526, allocations: 8.031 kB / 0.6543 GB, free: 8.312 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.926e-05/0.1527, allocations: 66.72 kB / 0.6544 GB, free: 8.238 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.866e-05/0.1528, allocations: 44.7 kB / 0.6544 GB, free: 8.195 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.1532, allocations: 315.7 kB / 0.6547 GB, free: 7.848 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.1532, allocations: 21.03 kB / 0.6547 GB, free: 7.828 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.67e-05/0.1533, allocations: 32.38 kB / 0.6548 GB, free: 7.797 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006353/0.1539, allocations: 394 kB / 0.6551 GB, free: 7.402 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.154, allocations: 0 / 0.6551 GB, free: 7.402 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.154, allocations: 19.98 kB / 0.6552 GB, free: 7.383 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.537e-06/0.154, allocations: 8 kB / 0.6552 GB, free: 7.375 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005318/0.1546, allocations: 342.3 kB / 0.6555 GB, free: 7.043 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.1565, allocations: 1.237 MB / 0.6567 GB, free: 5.727 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.157, allocations: 298.6 kB / 0.657 GB, free: 5.426 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/0.1573, allocations: 180.8 kB / 0.6572 GB, free: 5.246 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.1573, allocations: 4 kB / 0.6572 GB, free: 5.242 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004603/0.1578, allocations: 299.8 kB / 0.6575 GB, free: 4.922 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.1578, allocations: 0 / 0.6575 GB, free: 4.922 MB / 0.4983 GB Notification: Performance of matching and sorting (n=30): time 0.001712/0.1595, allocations: 0.7838 MB / 0.6582 GB, free: 4.109 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.1596, allocations: 166.2 kB / 0.6584 GB, free: 3.91 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.1599, allocations: 304.9 kB / 0.6587 GB, free: 3.605 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.16, allocations: 37.7 kB / 0.6587 GB, free: 3.562 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.1601, allocations: 184.6 kB / 0.6589 GB, free: 3.379 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 8.371e-05/0.1602, allocations: 103.2 kB / 0.659 GB, free: 3.277 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.1604, allocations: 74.09 kB / 0.6591 GB, free: 3.199 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1605, allocations: 338.8 kB / 0.6594 GB, free: 2.859 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.1608, allocations: 172.7 kB / 0.6595 GB, free: 2.691 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.1611, allocations: 263.6 kB / 0.6598 GB, free: 2.402 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005817/0.1617, allocations: 360.3 kB / 0.6601 GB, free: 2.035 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1617, allocations: 4 kB / 0.6601 GB, free: 2.031 MB / 0.4983 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008821/0.1626, allocations: 0.5598 MB / 0.6607 GB, free: 1.461 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1626, allocations: 4 kB / 0.6607 GB, free: 1.457 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1626, allocations: 0 / 0.6607 GB, free: 1.457 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000348/0.163, allocations: 132.7 kB / 0.6608 GB, free: 1.324 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.1632, allocations: 43.91 kB / 0.6609 GB, free: 1.281 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/0.1658, allocations: 2.285 MB / 0.6631 GB, free: 14.86 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/0.1661, allocations: 75.81 kB / 0.6632 GB, free: 14.78 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.1661, allocations: 12 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.0002664/0.1664, allocations: 204.1 kB / 0.6634 GB, free: 14.56 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.1665, allocations: 27.81 kB / 0.6634 GB, free: 14.54 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.136e-05/0.1665, allocations: 38.95 kB / 0.6634 GB, free: 14.5 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1665, allocations: 8 kB / 0.6634 GB, free: 14.49 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.1666, allocations: 3.938 kB / 0.6634 GB, free: 14.48 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1666, allocations: 0 / 0.6634 GB, free: 14.48 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004741/0.167, allocations: 405.3 kB / 0.6638 GB, free: 14.04 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1671, allocations: 0 / 0.6638 GB, free: 14.04 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.1672, allocations: 19.92 kB / 0.6638 GB, free: 14.02 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002918/0.1675, allocations: 112.8 kB / 0.664 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.1675, allocations: 8 kB / 0.664 GB, free: 13.9 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002429/0.1699, allocations: 2.274 MB / 0.6662 GB, free: 11.48 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.17, allocations: 3.938 kB / 0.6662 GB, free: 11.48 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.171, allocations: 0.6535 MB / 0.6668 GB, free: 10.8 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.085e-05/0.1711, allocations: 104.9 kB / 0.6669 GB, free: 10.68 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.1712, allocations: 11.98 kB / 0.6669 GB, free: 10.67 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.1714, allocations: 47.94 kB / 0.667 GB, free: 10.62 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/0.1715, allocations: 28.03 kB / 0.667 GB, free: 10.6 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/0.1715, allocations: 15.98 kB / 0.667 GB, free: 10.58 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0002174/0.1718, allocations: 216.4 kB / 0.6672 GB, free: 10.38 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1718, allocations: 0 / 0.6672 GB, free: 10.38 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003688/0.1721, allocations: 127.8 kB / 0.6674 GB, free: 10.25 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.001566/0.1737, allocations: 1.213 MB / 0.6685 GB, free: 9.012 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0009273/0.1746, allocations: 0.5457 MB / 0.6691 GB, free: 8.453 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1747, allocations: 0 / 0.6691 GB, free: 8.453 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0005147/0.1752, allocations: 350.4 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.0003047/0.1755, allocations: 52.41 kB / 0.6695 GB, free: 8.047 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/0.18, 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.0004814/0.1804, allocations: 0.8496 MB / 0.6738 GB, free: 3.453 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.1806, allocations: 46.95 kB / 0.6738 GB, free: 3.41 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.1807, allocations: 95.41 kB / 0.6739 GB, free: 3.316 MB / 0.5139 GB Notification: Performance of SimCode: time 3.91e-07/0.1807, allocations: 4 kB / 0.6739 GB, free: 3.312 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03787/0.2186, allocations: 8.381 MB / 0.6821 GB, free: 11.18 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/10.29, allocations: 8.5 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Array_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 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.mat","/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