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.001486/0.001486, allocations: 107.1 kB / 16.92 MB, free: 5.777 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.002615/0.002615, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.455/1.455, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.254/1.254, allocations: 119.3 MB / 411 MB, free: 9.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 0.491 GB, free: 13.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7238/0.7251, allocations: 80.68 MB / 0.5698 GB, free: 43.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar): time 0.004703/0.7299, allocations: 2.857 MB / 0.5726 GB, free: 41.09 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.7318, allocations: 0.7039 MB / 0.5733 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.732, allocations: 7.906 kB / 0.5733 GB, free: 40.52 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.7322, allocations: 48.75 kB / 0.5734 GB, free: 40.47 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.7325, allocations: 96.75 kB / 0.5735 GB, free: 40.39 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.7329, allocations: 124.6 kB / 0.5736 GB, free: 40.29 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004491/0.7334, allocations: 393.8 kB / 0.574 GB, free: 40.06 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002898/0.7337, allocations: 122.9 kB / 0.5741 GB, free: 40 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.7338, allocations: 150.3 kB / 0.5742 GB, free: 39.91 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.734, allocations: 164.3 kB / 0.5744 GB, free: 39.8 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.309e-05/0.7341, allocations: 31.72 kB / 0.5744 GB, free: 39.8 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.724e-05/0.7342, allocations: 33.91 kB / 0.5744 GB, free: 39.8 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 6.455e-05/0.7343, allocations: 77.72 kB / 0.5745 GB, free: 39.73 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.7345, allocations: 175.6 kB / 0.5747 GB, free: 39.61 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.7349, allocations: 389.3 kB / 0.5751 GB, free: 39.33 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.7349, allocations: 0 / 0.5751 GB, free: 39.33 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.973e-06/0.7349, allocations: 3.938 kB / 0.5751 GB, free: 39.32 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.7349, allocations: 0 / 0.5751 GB, free: 39.32 MB / 462.3 MB 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.001052/0.7359, allocations: 0.6503 MB / 0.5757 GB, free: 38.76 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.736, allocations: 12.98 kB / 0.5757 GB, free: 38.75 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.783e-05/0.7361, allocations: 68.75 kB / 0.5758 GB, free: 38.69 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.4e-05/0.7362, allocations: 36.5 kB / 0.5758 GB, free: 38.67 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.7365, allocations: 269.8 kB / 0.5761 GB, free: 38.39 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.7365, allocations: 24.34 kB / 0.5761 GB, free: 38.38 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.329e-05/0.7365, allocations: 28.03 kB / 0.5761 GB, free: 38.38 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/0.737, allocations: 262.4 kB / 0.5764 GB, free: 38.22 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.737, allocations: 0 / 0.5764 GB, free: 38.22 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.7371, allocations: 23.58 kB / 0.5764 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.7371, allocations: 7.781 kB / 0.5764 GB, free: 38.2 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003498/0.7375, allocations: 183.9 kB / 0.5766 GB, free: 38.12 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.7389, allocations: 1.022 MB / 0.5776 GB, free: 37.28 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.7392, allocations: 198.9 kB / 0.5778 GB, free: 37.16 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.7394, allocations: 119.6 kB / 0.5779 GB, free: 37.1 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.7394, allocations: 3.969 kB / 0.5779 GB, free: 37.1 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004302/0.7399, allocations: 227 kB / 0.5781 GB, free: 36.92 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.783e-06/0.7399, allocations: 0 / 0.5781 GB, free: 36.92 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001397/0.7413, allocations: 0.5565 MB / 0.5786 GB, free: 36.58 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.977e-05/0.7414, allocations: 167.8 kB / 0.5788 GB, free: 36.38 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.7416, allocations: 226.6 kB / 0.579 GB, free: 36.22 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.7417, allocations: 36.45 kB / 0.579 GB, free: 36.18 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.7418, allocations: 176.8 kB / 0.5792 GB, free: 36.02 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.7418, allocations: 89.8 kB / 0.5793 GB, free: 35.94 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.862e-05/0.7419, allocations: 58.45 kB / 0.5794 GB, free: 35.9 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.742, allocations: 344.3 kB / 0.5797 GB, free: 35.56 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.7422, allocations: 79.97 kB / 0.5798 GB, free: 35.53 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.7424, allocations: 157.2 kB / 0.5799 GB, free: 35.4 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.7427, allocations: 232 kB / 0.5801 GB, free: 35.26 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.7427, allocations: 0 / 0.5801 GB, free: 35.26 MB / 462.3 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006441/0.7433, allocations: 369 kB / 0.5805 GB, free: 35.06 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.7434, allocations: 7.438 kB / 0.5805 GB, free: 35.06 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.7434, allocations: 1.844 kB / 0.5805 GB, free: 35.06 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003161/0.7437, allocations: 86.05 kB / 0.5806 GB, free: 35.02 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.7439, allocations: 32.83 kB / 0.5806 GB, free: 35.01 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.7456, allocations: 1.897 MB / 0.5825 GB, free: 33.27 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.7459, allocations: 40.12 kB / 0.5825 GB, free: 33.25 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.746, allocations: 12.28 kB / 0.5825 GB, free: 33.25 MB / 462.3 MB 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.0001801/0.7462, allocations: 157.3 kB / 0.5827 GB, free: 33.1 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.7462, allocations: 29.69 kB / 0.5827 GB, free: 33.09 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.305e-05/0.7463, allocations: 34.3 kB / 0.5827 GB, free: 33.06 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.7463, allocations: 3.5 kB / 0.5827 GB, free: 33.06 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.7463, allocations: 3.938 kB / 0.5827 GB, free: 33.05 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.7463, allocations: 0 / 0.5827 GB, free: 33.05 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.7466, allocations: 346.9 kB / 0.5831 GB, free: 32.74 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.7466, allocations: 1.438 kB / 0.5831 GB, free: 32.74 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.7467, allocations: 19.34 kB / 0.5831 GB, free: 32.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002201/0.7469, allocations: 80.73 kB / 0.5832 GB, free: 32.69 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.747, allocations: 5.812 kB / 0.5832 GB, free: 32.69 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.7485, allocations: 1.908 MB / 0.585 GB, free: 30.94 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.7485, allocations: 1.25 kB / 0.585 GB, free: 30.94 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000754/0.7493, allocations: 456.6 kB / 0.5855 GB, free: 30.67 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.7494, allocations: 99.73 kB / 0.5856 GB, free: 30.56 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.7494, allocations: 10.52 kB / 0.5856 GB, free: 30.55 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.7496, allocations: 24.39 kB / 0.5856 GB, free: 30.54 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.7497, allocations: 27.28 kB / 0.5856 GB, free: 30.53 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.7497, allocations: 11.55 kB / 0.5856 GB, free: 30.52 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001446/0.7499, allocations: 177.9 kB / 0.5858 GB, free: 30.39 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.7499, allocations: 0 / 0.5858 GB, free: 30.39 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004478/0.7503, allocations: 112.3 kB / 0.5859 GB, free: 30.37 MB / 462.3 MB 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.001156/0.7515, allocations: 0.9865 MB / 0.5869 GB, free: 29.58 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000865/0.7524, allocations: 408.5 kB / 0.5873 GB, free: 29.32 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.7524, allocations: 0 / 0.5873 GB, free: 29.32 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004176/0.7528, allocations: 280 kB / 0.5875 GB, free: 29.13 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.7532, allocations: 52.7 kB / 0.5876 GB, free: 29.1 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/0.7565, allocations: 2.712 MB / 0.5902 GB, free: 27.07 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.7567, allocations: 0.7717 MB / 0.591 GB, free: 26.33 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.7569, allocations: 22.08 kB / 0.591 GB, free: 26.32 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.757, allocations: 95.86 kB / 0.5911 GB, free: 26.23 MB / 462.3 MB Notification: Performance of SimCode: time 7.92e-07/0.757, allocations: 0 / 0.5911 GB, free: 26.23 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04108/0.7981, allocations: 6.768 MB / 0.5977 GB, free: 20.41 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.79, allocations: 7.938 kB / 0.5977 GB, free: 20.41 MB / 462.3 MB (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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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