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.001254/0.001254, allocations: 112.8 kB / 17.06 MB, free: 5.996 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.001175/0.001175, allocations: 198.9 kB / 18 MB, free: 5.078 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.292/1.292, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9897/0.9897, allocations: 119.3 MB / 411.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.08 kB / 0.5704 GB, free: 40.05 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1407, allocations: 80.69 MB / 0.6492 GB, free: 13.57 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar): time 0.004355/0.1451, allocations: 2.838 MB / 0.652 GB, free: 10.72 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1466, allocations: 0.7206 MB / 0.6527 GB, free: 9.992 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00032/0.1469, allocations: 4 kB / 0.6527 GB, free: 9.988 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.1472, allocations: 55.44 kB / 0.6527 GB, free: 9.934 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0003229/0.1475, allocations: 87.19 kB / 0.6528 GB, free: 9.848 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.148, allocations: 135.6 kB / 0.653 GB, free: 9.719 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005517/0.1486, allocations: 390.3 kB / 0.6533 GB, free: 9.336 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002653/0.1489, allocations: 125.7 kB / 0.6534 GB, free: 9.211 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.1491, allocations: 147.5 kB / 0.6536 GB, free: 9.066 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.1494, allocations: 163.2 kB / 0.6537 GB, free: 8.906 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 6.632e-05/0.1495, allocations: 32 kB / 0.6538 GB, free: 8.875 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.1496, allocations: 36 kB / 0.6538 GB, free: 8.84 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 7.878e-05/0.1497, allocations: 75.69 kB / 0.6539 GB, free: 8.766 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.1499, allocations: 183.2 kB / 0.6541 GB, free: 8.586 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004397/0.1503, allocations: 387.5 kB / 0.6544 GB, free: 8.207 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1503, allocations: 0 / 0.6544 GB, free: 8.207 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1503, allocations: 0 / 0.6544 GB, free: 8.207 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 2.091e-05/0.1504, allocations: 3.938 kB / 0.6544 GB, free: 8.203 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.001189/0.1515, allocations: 0.6442 MB / 0.6551 GB, free: 7.512 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1516, allocations: 11.89 kB / 0.6551 GB, free: 7.5 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.944e-05/0.1517, allocations: 66.72 kB / 0.6551 GB, free: 7.426 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.78e-05/0.1518, allocations: 40.47 kB / 0.6552 GB, free: 7.387 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.1522, allocations: 272.6 kB / 0.6554 GB, free: 7.078 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.1523, allocations: 36.95 kB / 0.6555 GB, free: 7.043 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/0.1523, allocations: 32.31 kB / 0.6555 GB, free: 7.012 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.1528, allocations: 262.2 kB / 0.6557 GB, free: 6.746 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1528, allocations: 0 / 0.6557 GB, free: 6.746 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.1529, allocations: 16 kB / 0.6558 GB, free: 6.73 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.1529, allocations: 8 kB / 0.6558 GB, free: 6.723 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003385/0.1532, allocations: 186.5 kB / 0.6559 GB, free: 6.543 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.1549, allocations: 1.002 MB / 0.6569 GB, free: 5.461 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.1552, allocations: 201 kB / 0.6571 GB, free: 5.262 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.1554, allocations: 120.8 kB / 0.6572 GB, free: 5.141 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.1554, allocations: 4 kB / 0.6572 GB, free: 5.137 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003664/0.1558, allocations: 223.8 kB / 0.6574 GB, free: 4.891 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/0.1558, allocations: 0 / 0.6574 GB, free: 4.891 MB / 0.4983 GB Notification: Performance of matching and sorting (n=30): time 0.00137/0.1572, allocations: 0.5652 MB / 0.658 GB, free: 4.297 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.1573, allocations: 162.2 kB / 0.6582 GB, free: 4.102 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.1576, allocations: 233 kB / 0.6584 GB, free: 3.867 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.1576, allocations: 33.7 kB / 0.6584 GB, free: 3.828 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.1577, allocations: 184.2 kB / 0.6586 GB, free: 3.645 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/0.1578, allocations: 86.8 kB / 0.6587 GB, free: 3.559 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.1579, allocations: 61.7 kB / 0.6587 GB, free: 3.492 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.158, allocations: 330.8 kB / 0.659 GB, free: 3.16 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.1582, allocations: 91.89 kB / 0.6591 GB, free: 3.07 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.1584, allocations: 159.5 kB / 0.6593 GB, free: 2.887 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.1587, allocations: 220.6 kB / 0.6595 GB, free: 2.656 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.1588, allocations: 4 kB / 0.6595 GB, free: 2.652 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005967/0.1594, allocations: 357.8 kB / 0.6598 GB, free: 2.293 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1594, allocations: 8 kB / 0.6598 GB, free: 2.285 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1594, allocations: 0 / 0.6598 GB, free: 2.285 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002808/0.1597, allocations: 88.77 kB / 0.6599 GB, free: 2.195 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.1599, allocations: 31.98 kB / 0.66 GB, free: 2.164 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/0.1617, allocations: 1.898 MB / 0.6618 GB, free: 128 kB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.162, allocations: 43.92 kB / 0.6619 GB, free: 84 kB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.162, allocations: 12 kB / 0.6619 GB, free: 72 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.0001905/0.1622, allocations: 158.8 kB / 0.662 GB, free: 15.91 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.1623, allocations: 27.72 kB / 0.662 GB, free: 15.88 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.572e-05/0.1623, allocations: 34.94 kB / 0.6621 GB, free: 15.84 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1623, allocations: 4 kB / 0.6621 GB, free: 15.84 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.1624, allocations: 7.938 kB / 0.6621 GB, free: 15.83 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1624, allocations: 0 / 0.6621 GB, free: 15.83 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/0.1627, allocations: 349.3 kB / 0.6624 GB, free: 15.44 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1627, allocations: 0 / 0.6624 GB, free: 15.44 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.1628, allocations: 19.98 kB / 0.6624 GB, free: 15.42 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002037/0.1631, allocations: 84.8 kB / 0.6625 GB, free: 15.34 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.1631, allocations: 8 kB / 0.6625 GB, free: 15.33 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.1648, allocations: 1.895 MB / 0.6644 GB, free: 13.29 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1649, allocations: 0 / 0.6644 GB, free: 13.29 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000703/0.1656, allocations: 462.6 kB / 0.6648 GB, free: 12.82 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.124e-05/0.1657, allocations: 96.8 kB / 0.6649 GB, free: 12.71 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.1657, allocations: 8 kB / 0.6649 GB, free: 12.7 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.1659, allocations: 32.03 kB / 0.665 GB, free: 12.67 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.166, allocations: 23.97 kB / 0.665 GB, free: 12.64 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.166, allocations: 15.98 kB / 0.665 GB, free: 12.63 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001453/0.1662, allocations: 168.4 kB / 0.6652 GB, free: 12.46 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1e-07/0.1662, allocations: 0 / 0.6652 GB, free: 12.46 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003655/0.1666, allocations: 111.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.001202/0.1678, allocations: 0.9987 MB / 0.6662 GB, free: 11.33 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0007403/0.1685, allocations: 394.4 kB / 0.6666 GB, free: 10.93 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.1685, allocations: 0 / 0.6666 GB, free: 10.93 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004131/0.1689, 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.0003324/0.1693, allocations: 63.5 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.003284/0.1726, allocations: 2.685 MB / 0.6696 GB, free: 7.789 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.1729, allocations: 0.7717 MB / 0.6703 GB, free: 6.992 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 9.086e-05/0.173, allocations: 26.28 kB / 0.6703 GB, free: 6.961 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.1732, allocations: 91.41 kB / 0.6704 GB, free: 6.875 MB / 0.5139 GB Notification: Performance of SimCode: time 3.8e-07/0.1732, allocations: 0 / 0.6704 GB, free: 6.875 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03184/0.205, allocations: 7.031 MB / 0.6773 GB, free: 84 kB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.212/9.417, allocations: 8.469 kB / 0.6773 GB, free: 80 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