Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.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_Scalar,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Scalar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Scalar",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.001324/0.001324, allocations: 111 kB / 17.06 MB, free: 5.957 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.001314/0.001314, allocations: 198.9 kB / 18.01 MB, free: 5.047 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.225/1.225, allocations: 222.9 MB / 241.7 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8791/0.8791, allocations: 119.3 MB / 411.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 61.58 kB / 0.5704 GB, free: 40.03 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1278, allocations: 80.7 MB / 0.6492 GB, free: 13.59 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar): time 0.003916/0.1317, allocations: 2.853 MB / 0.652 GB, free: 10.72 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1331, allocations: 0.705 MB / 0.6527 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002556/0.1334, allocations: 4 kB / 0.6527 GB, free: 10.01 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.1336, allocations: 59.44 kB / 0.6527 GB, free: 9.949 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.1338, allocations: 87.19 kB / 0.6528 GB, free: 9.863 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.1343, allocations: 131.5 kB / 0.6529 GB, free: 9.738 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0004525/0.1347, allocations: 390.3 kB / 0.6533 GB, free: 9.355 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.135, allocations: 133.7 kB / 0.6534 GB, free: 9.223 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.1352, allocations: 147.5 kB / 0.6536 GB, free: 9.078 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.1354, allocations: 167.2 kB / 0.6537 GB, free: 8.914 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 5.327e-05/0.1355, allocations: 32 kB / 0.6538 GB, free: 8.883 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 8.685e-05/0.1356, allocations: 36 kB / 0.6538 GB, free: 8.848 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 7.319e-05/0.1357, allocations: 87.67 kB / 0.6539 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.1358, allocations: 171.2 kB / 0.6541 GB, free: 8.594 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.1362, allocations: 379.5 kB / 0.6544 GB, free: 8.223 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1362, allocations: 0 / 0.6544 GB, free: 8.223 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1363, allocations: 0 / 0.6544 GB, free: 8.223 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.1363, allocations: 0 / 0.6544 GB, free: 8.223 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.001058/0.1373, allocations: 0.6481 MB / 0.655 GB, free: 7.527 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1374, allocations: 15.89 kB / 0.6551 GB, free: 7.512 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.097e-05/0.1375, allocations: 66.72 kB / 0.6551 GB, free: 7.438 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.776e-05/0.1375, allocations: 44.45 kB / 0.6552 GB, free: 7.395 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.1379, allocations: 276.6 kB / 0.6554 GB, free: 7.082 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.138, allocations: 21.03 kB / 0.6555 GB, free: 7.062 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.138, allocations: 32.31 kB / 0.6555 GB, free: 7.031 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004463/0.1385, allocations: 262.2 kB / 0.6557 GB, free: 6.766 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1385, allocations: 0 / 0.6557 GB, free: 6.766 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.1385, allocations: 19.98 kB / 0.6558 GB, free: 6.746 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1385, allocations: 8 kB / 0.6558 GB, free: 6.738 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.1389, allocations: 186.5 kB / 0.6559 GB, free: 6.559 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.1404, allocations: 1.002 MB / 0.6569 GB, free: 5.477 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.1407, allocations: 190.8 kB / 0.6571 GB, free: 5.281 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.1409, allocations: 120.8 kB / 0.6572 GB, free: 5.16 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.1409, allocations: 4 kB / 0.6572 GB, free: 5.156 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003353/0.1412, allocations: 223.8 kB / 0.6574 GB, free: 4.91 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/0.1413, allocations: 0 / 0.6574 GB, free: 4.91 MB / 0.4983 GB Notification: Performance of matching and sorting (n=30): time 0.001266/0.1425, allocations: 0.5653 MB / 0.658 GB, free: 4.316 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.891e-05/0.1426, allocations: 166.2 kB / 0.6581 GB, free: 4.117 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.1428, allocations: 229 kB / 0.6584 GB, free: 3.887 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.1429, allocations: 33.7 kB / 0.6584 GB, free: 3.848 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.143, allocations: 188.2 kB / 0.6586 GB, free: 3.66 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 7.024e-05/0.1431, allocations: 86.8 kB / 0.6587 GB, free: 3.574 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.499e-05/0.1432, allocations: 61.7 kB / 0.6587 GB, free: 3.508 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1433, allocations: 338.8 kB / 0.659 GB, free: 3.168 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.1434, allocations: 79.91 kB / 0.6591 GB, free: 3.09 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.1436, allocations: 163.4 kB / 0.6593 GB, free: 2.902 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.144, allocations: 220.6 kB / 0.6595 GB, free: 2.672 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.144, allocations: 3.938 kB / 0.6595 GB, free: 2.668 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005713/0.1445, allocations: 373.8 kB / 0.6598 GB, free: 2.293 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1446, allocations: 4 kB / 0.6598 GB, free: 2.289 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1446, allocations: 0 / 0.6598 GB, free: 2.289 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002728/0.1449, allocations: 80.8 kB / 0.6599 GB, free: 2.207 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.145, allocations: 35.92 kB / 0.66 GB, free: 2.172 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.1468, allocations: 1.902 MB / 0.6618 GB, free: 132 kB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.147, allocations: 39.84 kB / 0.6619 GB, free: 92 kB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.1471, allocations: 16 kB / 0.6619 GB, free: 76 kB / 0.4983 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 (B1.open,$PRE.B1.open,$whenCondition5,B2.open,$PRE.B2.open,$whenCondition3,B3.open,$PRE.B3.open,$whenCondition1,B3.G,$PRE.B3.G,B2.G,$PRE.B2.G,B1.G,$PRE.B1.G,$whenCondition2,$whenCondition4,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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.0001648/0.1472, allocations: 150.7 kB / 0.662 GB, free: 15.92 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.1473, allocations: 23.91 kB / 0.662 GB, free: 15.89 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.239e-05/0.1474, allocations: 38.94 kB / 0.6621 GB, free: 15.86 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1474, allocations: 0 / 0.6621 GB, free: 15.86 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1474, allocations: 7.938 kB / 0.6621 GB, free: 15.85 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1474, allocations: 3.984 kB / 0.6621 GB, free: 15.84 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/0.1477, allocations: 353.3 kB / 0.6624 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1477, allocations: 4 kB / 0.6624 GB, free: 15.45 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.1478, allocations: 15.98 kB / 0.6624 GB, free: 15.43 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001952/0.148, allocations: 76.81 kB / 0.6625 GB, free: 15.35 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.1481, allocations: 4 kB / 0.6625 GB, free: 15.35 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/0.1498, allocations: 1.907 MB / 0.6644 GB, free: 13.3 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1498, allocations: 0 / 0.6644 GB, free: 13.3 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006746/0.1504, allocations: 458.7 kB / 0.6648 GB, free: 12.83 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.35e-05/0.1505, allocations: 100.8 kB / 0.6649 GB, free: 12.71 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.1506, allocations: 7.984 kB / 0.6649 GB, free: 12.71 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.1508, allocations: 27.98 kB / 0.6649 GB, free: 12.68 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.1508, allocations: 27.89 kB / 0.665 GB, free: 12.65 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.1509, allocations: 12 kB / 0.665 GB, free: 12.64 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001362/0.151, allocations: 168.5 kB / 0.6651 GB, free: 12.48 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.21e-07/0.151, allocations: 0 / 0.6651 GB, free: 12.48 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003605/0.1514, allocations: 115.7 kB / 0.6653 GB, free: 12.36 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,B1.open,B1.G,B2.open,B2.G,B3.open,B3.G) * Number of discrete states: 3 (B3.open,B2.open,B1.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.001101/0.1525, allocations: 0.9987 MB / 0.6662 GB, free: 11.34 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0006972/0.1532, allocations: 402.5 kB / 0.6666 GB, free: 10.93 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1532, allocations: 0 / 0.6666 GB, free: 10.93 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003897/0.1536, allocations: 279 kB / 0.6669 GB, free: 10.65 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.1539, allocations: 52.34 kB / 0.6669 GB, free: 10.59 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.157, allocations: 2.683 MB / 0.6695 GB, free: 7.801 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.1573, allocations: 0.7717 MB / 0.6703 GB, free: 7.004 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 8.62e-05/0.1574, allocations: 22.3 kB / 0.6703 GB, free: 6.977 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.1575, allocations: 91.41 kB / 0.6704 GB, free: 6.891 MB / 0.5139 GB Notification: Performance of SimCode: time 3.71e-07/0.1575, allocations: 0 / 0.6704 GB, free: 6.891 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02892/0.1865, allocations: 7.036 MB / 0.6773 GB, free: 96 kB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.576/9.763, allocations: 4.844 kB / 0.6773 GB, free: 92 kB / 0.5139 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Scalar_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_BreakerCircuits_Verification_BreakerNetwork_3_Scalar.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches