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.001295/0.001296, allocations: 115.1 kB / 17.06 MB, free: 5.965 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.001351/0.001351, allocations: 198.9 kB / 18.01 MB, free: 5.055 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.306/1.306, 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.9032/0.9032, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.00117, allocations: 62.34 kB / 0.5704 GB, free: 40.07 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1534, allocations: 80.7 MB / 0.6492 GB, free: 13.56 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array): time 0.003426/0.1569, allocations: 2.02 MB / 0.6512 GB, free: 11.54 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.158, allocations: 0.5494 MB / 0.6517 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.1582, allocations: 4 kB / 0.6517 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.1584, allocations: 23.72 kB / 0.6518 GB, free: 10.95 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.1587, allocations: 51.62 kB / 0.6518 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.159, allocations: 63.84 kB / 0.6519 GB, free: 10.84 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005673/0.1596, allocations: 450.2 kB / 0.6523 GB, free: 10.4 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.1599, allocations: 185.7 kB / 0.6525 GB, free: 10.21 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.1601, allocations: 175.4 kB / 0.6526 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.1604, allocations: 183.3 kB / 0.6528 GB, free: 9.863 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 7.858e-05/0.1605, allocations: 32 kB / 0.6528 GB, free: 9.832 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1606, allocations: 35.94 kB / 0.6529 GB, free: 9.797 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.1607, allocations: 87.69 kB / 0.653 GB, free: 9.711 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002474/0.161, allocations: 187.1 kB / 0.6531 GB, free: 9.527 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0005665/0.1616, allocations: 455.5 kB / 0.6536 GB, free: 9.082 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.1616, allocations: 0 / 0.6536 GB, free: 9.082 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1616, allocations: 3.938 kB / 0.6536 GB, free: 9.078 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.802e-05/0.1616, allocations: 4 kB / 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.001484/0.1631, allocations: 0.7182 MB / 0.6543 GB, free: 8.309 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.1632, allocations: 15.89 kB / 0.6543 GB, free: 8.293 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.1633, allocations: 70.72 kB / 0.6544 GB, free: 8.215 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.1634, allocations: 36.56 kB / 0.6544 GB, free: 8.18 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/0.1639, allocations: 307.6 kB / 0.6547 GB, free: 7.84 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.1639, allocations: 25.03 kB / 0.6547 GB, free: 7.816 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.712e-05/0.164, allocations: 28.38 kB / 0.6547 GB, free: 7.789 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006369/0.1646, allocations: 402 kB / 0.6551 GB, free: 7.387 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1647, allocations: 4 kB / 0.6551 GB, free: 7.383 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.1647, allocations: 15.98 kB / 0.6551 GB, free: 7.367 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.1647, allocations: 8 kB / 0.6552 GB, free: 7.359 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000525/0.1652, allocations: 334.4 kB / 0.6555 GB, free: 7.035 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.1674, allocations: 1.248 MB / 0.6567 GB, free: 5.707 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003935/0.1678, allocations: 294.2 kB / 0.657 GB, free: 5.418 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.168, allocations: 176.8 kB / 0.6571 GB, free: 5.242 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.168, allocations: 0 / 0.6571 GB, free: 5.242 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004117/0.1685, allocations: 299.7 kB / 0.6574 GB, free: 4.922 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=30): time 1.934e-06/0.1685, allocations: 0 / 0.6574 GB, free: 4.922 MB / 0.4983 GB Notification: Performance of matching and sorting (n=30): time 0.00168/0.1702, allocations: 0.7798 MB / 0.6582 GB, free: 4.113 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.1703, allocations: 170.2 kB / 0.6584 GB, free: 3.91 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.1706, allocations: 304.8 kB / 0.6586 GB, free: 3.605 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.1707, allocations: 37.7 kB / 0.6587 GB, free: 3.562 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.1708, allocations: 196.2 kB / 0.6589 GB, free: 3.367 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 7.37e-05/0.1709, allocations: 90.8 kB / 0.659 GB, free: 3.277 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.171, allocations: 74.14 kB / 0.659 GB, free: 3.199 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.1711, allocations: 342.8 kB / 0.6593 GB, free: 2.855 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.1714, allocations: 172.7 kB / 0.6595 GB, free: 2.688 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.1717, allocations: 255.7 kB / 0.6598 GB, free: 2.406 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/0.1722, allocations: 368.3 kB / 0.6601 GB, free: 2.031 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1722, allocations: 0 / 0.6601 GB, free: 2.031 MB / 0.4983 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008512/0.1731, allocations: 0.5558 MB / 0.6607 GB, free: 1.465 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1731, allocations: 8 kB / 0.6607 GB, free: 1.457 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.1731, allocations: 4.031 kB / 0.6607 GB, free: 1.453 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003583/0.1735, allocations: 120.7 kB / 0.6608 GB, free: 1.332 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.1737, allocations: 47.91 kB / 0.6608 GB, free: 1.285 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.176, allocations: 2.293 MB / 0.6631 GB, free: 14.85 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.1764, allocations: 63.75 kB / 0.6631 GB, free: 14.79 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.1764, allocations: 12 kB / 0.6631 GB, free: 14.78 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.0002606/0.1767, allocations: 208.2 kB / 0.6633 GB, free: 14.57 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/0.1767, allocations: 31.62 kB / 0.6634 GB, free: 14.54 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.46e-05/0.1768, allocations: 38.95 kB / 0.6634 GB, free: 14.5 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1768, allocations: 4 kB / 0.6634 GB, free: 14.49 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.1768, allocations: 3.938 kB / 0.6634 GB, free: 14.49 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1768, allocations: 0 / 0.6634 GB, free: 14.49 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.1773, allocations: 397.2 kB / 0.6638 GB, free: 14.05 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1773, allocations: 0 / 0.6638 GB, free: 14.05 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1774, allocations: 15.98 kB / 0.6638 GB, free: 14.04 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002776/0.1777, allocations: 116.8 kB / 0.6639 GB, free: 13.92 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.1778, allocations: 11.98 kB / 0.6639 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.1799, allocations: 2.282 MB / 0.6662 GB, free: 11.48 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.1799, allocations: 3.984 kB / 0.6662 GB, free: 11.48 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009923/0.1809, allocations: 0.6457 MB / 0.6668 GB, free: 10.81 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.181, allocations: 108.8 kB / 0.6669 GB, free: 10.69 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.1811, allocations: 11.98 kB / 0.6669 GB, free: 10.68 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.1814, allocations: 48 kB / 0.6669 GB, free: 10.63 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/0.1815, allocations: 31.91 kB / 0.667 GB, free: 10.6 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.1815, allocations: 11.98 kB / 0.667 GB, free: 10.59 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0002176/0.1817, allocations: 216.4 kB / 0.6672 GB, free: 10.38 MB / 0.5139 GB Notification: Performance of sort global known variables: time 4.51e-07/0.1817, allocations: 0 / 0.6672 GB, free: 10.38 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0004467/0.1822, allocations: 131.7 kB / 0.6673 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.001433/0.1836, allocations: 1.201 MB / 0.6685 GB, free: 9.023 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0009392/0.1846, allocations: 0.5456 MB / 0.669 GB, free: 8.465 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.1846, allocations: 0 / 0.669 GB, free: 8.465 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004773/0.1851, allocations: 350.5 kB / 0.6694 GB, free: 8.109 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.1854, allocations: 56.34 kB / 0.6694 GB, free: 8.055 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/0.1898, allocations: 3.565 MB / 0.6729 GB, free: 4.371 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.1903, allocations: 0.8535 MB / 0.6737 GB, free: 3.492 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0001393/0.1904, allocations: 50.95 kB / 0.6738 GB, free: 3.445 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.1906, allocations: 99.39 kB / 0.6739 GB, free: 3.348 MB / 0.5139 GB Notification: Performance of SimCode: time 2.1e-07/0.1906, allocations: 0 / 0.6739 GB, free: 3.348 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03272/0.2233, allocations: 8.53 MB / 0.6822 GB, free: 11.07 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.218/9.441, allocations: 8.297 kB / 0.6822 GB, free: 11.06 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