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.001061/0.001061, allocations: 100.9 kB / 17.06 MB, free: 6.145 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.0009486/0.0009486, allocations: 195 kB / 18 MB, free: 5.223 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.266/1.266, 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.8989/0.8989, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 61.62 kB / 0.5704 GB, free: 40.09 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.143, allocations: 80.7 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.002944/0.146, allocations: 2.029 MB / 0.6512 GB, free: 11.56 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009508/0.147, allocations: 0.5494 MB / 0.6517 GB, free: 11 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.887e-05/0.1471, allocations: 4 kB / 0.6517 GB, free: 11 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.1472, allocations: 23.72 kB / 0.6518 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.1475, allocations: 43.56 kB / 0.6518 GB, free: 10.94 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.1477, allocations: 67.83 kB / 0.6519 GB, free: 10.87 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000466/0.1482, allocations: 458.3 kB / 0.6523 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.1484, allocations: 177.8 kB / 0.6525 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.1486, allocations: 175.4 kB / 0.6526 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.1488, allocations: 187.2 kB / 0.6528 GB, free: 9.891 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.334e-05/0.1489, allocations: 32 kB / 0.6529 GB, free: 9.859 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.832e-05/0.149, allocations: 40 kB / 0.6529 GB, free: 9.82 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.747e-05/0.1491, allocations: 87.67 kB / 0.653 GB, free: 9.734 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.1493, allocations: 187.1 kB / 0.6532 GB, free: 9.551 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004182/0.1497, allocations: 455.4 kB / 0.6536 GB, free: 9.105 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1497, allocations: 0 / 0.6536 GB, free: 9.105 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.724e-06/0.1497, allocations: 0 / 0.6536 GB, free: 9.105 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.1497, allocations: 4 kB / 0.6536 GB, free: 9.102 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.001161/0.1509, allocations: 0.7104 MB / 0.6543 GB, free: 8.344 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1509, allocations: 15.89 kB / 0.6543 GB, free: 8.328 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.071e-05/0.151, allocations: 66.72 kB / 0.6544 GB, free: 8.254 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.1511, allocations: 40.55 kB / 0.6544 GB, free: 8.215 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.1515, allocations: 311.6 kB / 0.6547 GB, free: 7.871 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.1515, allocations: 21.03 kB / 0.6547 GB, free: 7.852 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/0.1516, allocations: 32.38 kB / 0.6547 GB, free: 7.82 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005749/0.1522, allocations: 405.9 kB / 0.6551 GB, free: 7.414 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1522, allocations: 0 / 0.6551 GB, free: 7.414 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.555e-05/0.1522, allocations: 16 kB / 0.6552 GB, free: 7.398 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.1522, allocations: 8 kB / 0.6552 GB, free: 7.391 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004871/0.1527, allocations: 338.3 kB / 0.6555 GB, free: 7.062 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.1546, allocations: 1.24 MB / 0.6567 GB, free: 5.742 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.155, allocations: 290.7 kB / 0.657 GB, free: 5.449 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.1552, allocations: 184.4 kB / 0.6571 GB, free: 5.27 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.1553, allocations: 3.984 kB / 0.6571 GB, free: 5.266 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003915/0.1557, allocations: 299.7 kB / 0.6574 GB, free: 4.945 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=30): time 1.323e-06/0.1557, allocations: 0 / 0.6574 GB, free: 4.945 MB / 0.4983 GB Notification: Performance of matching and sorting (n=30): time 0.00158/0.1573, allocations: 0.7798 MB / 0.6582 GB, free: 4.137 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.827e-05/0.1574, allocations: 162.2 kB / 0.6584 GB, free: 3.941 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.1577, allocations: 308.8 kB / 0.6586 GB, free: 3.633 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.1577, allocations: 49.62 kB / 0.6587 GB, free: 3.578 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.1578, allocations: 180.2 kB / 0.6589 GB, free: 3.398 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 6.923e-05/0.1579, allocations: 94.8 kB / 0.659 GB, free: 3.305 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.158, allocations: 74.12 kB / 0.659 GB, free: 3.227 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1581, allocations: 338.8 kB / 0.6593 GB, free: 2.887 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.1584, allocations: 168.7 kB / 0.6595 GB, free: 2.723 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003004/0.1587, allocations: 263.7 kB / 0.6598 GB, free: 2.434 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004496/0.1592, allocations: 356.3 kB / 0.6601 GB, free: 2.07 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1592, allocations: 4 kB / 0.6601 GB, free: 2.066 MB / 0.4983 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007887/0.16, allocations: 0.5597 MB / 0.6607 GB, free: 1.496 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.16, allocations: 8 kB / 0.6607 GB, free: 1.488 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.16, allocations: 0 / 0.6607 GB, free: 1.488 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003226/0.1603, allocations: 128.7 kB / 0.6608 GB, free: 1.359 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.1605, allocations: 43.92 kB / 0.6608 GB, free: 1.316 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/0.1627, allocations: 2.293 MB / 0.6631 GB, free: 14.88 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.163, allocations: 71.81 kB / 0.6631 GB, free: 14.81 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.1631, allocations: 12 kB / 0.6631 GB, free: 14.8 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.0002098/0.1633, allocations: 200.1 kB / 0.6633 GB, free: 14.6 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.1633, allocations: 35.61 kB / 0.6634 GB, free: 14.56 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.1634, allocations: 34.97 kB / 0.6634 GB, free: 14.53 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1634, allocations: 4 kB / 0.6634 GB, free: 14.52 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.1634, allocations: 7.938 kB / 0.6634 GB, free: 14.52 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1634, allocations: 3.984 kB / 0.6634 GB, free: 14.51 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.1638, allocations: 397.2 kB / 0.6638 GB, free: 14.07 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1638, allocations: 0 / 0.6638 GB, free: 14.07 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.1639, allocations: 19.92 kB / 0.6638 GB, free: 14.05 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002408/0.1642, allocations: 116.8 kB / 0.6639 GB, free: 13.94 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.1642, allocations: 7.938 kB / 0.6639 GB, free: 13.93 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.1663, allocations: 2.277 MB / 0.6662 GB, free: 11.51 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1663, allocations: 0 / 0.6662 GB, free: 11.51 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008858/0.1672, allocations: 0.6418 MB / 0.6668 GB, free: 10.85 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.998e-05/0.1673, allocations: 108.8 kB / 0.6669 GB, free: 10.72 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.1673, allocations: 8 kB / 0.6669 GB, free: 10.71 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.1675, allocations: 47.94 kB / 0.6669 GB, free: 10.67 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/0.1676, allocations: 35.89 kB / 0.667 GB, free: 10.63 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.1676, allocations: 8.062 kB / 0.667 GB, free: 10.62 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.000193/0.1678, allocations: 224.4 kB / 0.6672 GB, free: 10.41 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1678, allocations: 0 / 0.6672 GB, free: 10.41 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003954/0.1682, allocations: 127.7 kB / 0.6673 GB, free: 10.29 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.001317/0.1696, allocations: 1.205 MB / 0.6685 GB, free: 9.055 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0008812/0.1705, allocations: 0.5495 MB / 0.669 GB, free: 8.492 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1705, allocations: 0 / 0.669 GB, free: 8.492 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004514/0.1709, allocations: 346.4 kB / 0.6694 GB, free: 8.141 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.1713, allocations: 64.33 kB / 0.6694 GB, free: 8.078 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004015/0.1753, allocations: 3.565 MB / 0.6729 GB, free: 4.395 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.1757, allocations: 0.8497 MB / 0.6737 GB, free: 3.52 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0001223/0.1758, allocations: 50.94 kB / 0.6738 GB, free: 3.473 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.1759, allocations: 95.41 kB / 0.6739 GB, free: 3.379 MB / 0.5139 GB Notification: Performance of SimCode: time 5.21e-07/0.176, allocations: 0 / 0.6739 GB, free: 3.379 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.2074, allocations: 8.526 MB / 0.6822 GB, free: 11.1 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.37/9.577, allocations: 8.234 kB / 0.6822 GB, free: 11.09 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