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.001181/0.001181, allocations: 102 kB / 16.62 MB, free: 6.809 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.001177/0.001178, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.224/1.224, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8086/0.8086, allocations: 119.3 MB / 410.7 MB, free: 9.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 67.83 kB / 0.4905 GB, free: 13.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.4357, allocations: 80.68 MB / 0.5693 GB, free: 43.51 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar): time 0.00291/0.4387, allocations: 2.889 MB / 0.5722 GB, free: 41.25 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.000868/0.4396, allocations: 0.7144 MB / 0.5729 GB, free: 40.66 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.4397, allocations: 5.594 kB / 0.5729 GB, free: 40.66 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.4399, allocations: 36.19 kB / 0.5729 GB, free: 40.63 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.44, allocations: 81.41 kB / 0.573 GB, free: 40.56 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.4403, allocations: 101.7 kB / 0.5731 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.4406, allocations: 398 kB / 0.5734 GB, free: 40.25 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.4408, allocations: 120 kB / 0.5736 GB, free: 40.19 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.4409, allocations: 147.3 kB / 0.5737 GB, free: 40.11 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.441, allocations: 170.6 kB / 0.5739 GB, free: 39.98 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.295e-05/0.4411, allocations: 32.03 kB / 0.5739 GB, free: 39.98 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 7.106e-05/0.4412, allocations: 33.31 kB / 0.5739 GB, free: 39.98 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 4.229e-05/0.4412, allocations: 78.8 kB / 0.574 GB, free: 39.92 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.4413, allocations: 172.3 kB / 0.5742 GB, free: 39.8 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.4416, allocations: 388.7 kB / 0.5745 GB, free: 39.52 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4416, allocations: 0 / 0.5745 GB, free: 39.52 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4416, allocations: 0 / 0.5745 GB, free: 39.52 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.4416, allocations: 0 / 0.5745 GB, free: 39.52 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.0007391/0.4424, allocations: 0.6503 MB / 0.5752 GB, free: 38.95 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.4424, allocations: 14.39 kB / 0.5752 GB, free: 38.95 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.031e-05/0.4425, allocations: 64.16 kB / 0.5752 GB, free: 38.89 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.079e-05/0.4425, allocations: 43.53 kB / 0.5753 GB, free: 38.86 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.4427, allocations: 274.2 kB / 0.5756 GB, free: 38.59 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.4428, allocations: 20.25 kB / 0.5756 GB, free: 38.58 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.4428, allocations: 27.34 kB / 0.5756 GB, free: 38.57 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.4432, allocations: 267.3 kB / 0.5759 GB, free: 38.41 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4432, allocations: 0 / 0.5759 GB, free: 38.41 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.4433, allocations: 15.22 kB / 0.5759 GB, free: 38.39 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.4433, allocations: 15.75 kB / 0.5759 GB, free: 38.39 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.4436, allocations: 184 kB / 0.5761 GB, free: 38.3 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.4448, allocations: 1.017 MB / 0.5771 GB, free: 37.46 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.445, allocations: 196.9 kB / 0.5772 GB, free: 37.35 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.4452, allocations: 124.9 kB / 0.5774 GB, free: 37.29 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.4452, allocations: 2.781 kB / 0.5774 GB, free: 37.29 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/0.4455, allocations: 220 kB / 0.5776 GB, free: 37.11 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.412e-06/0.4455, allocations: 3.938 kB / 0.5776 GB, free: 37.11 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001119/0.4467, allocations: 0.5547 MB / 0.5781 GB, free: 36.77 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.4467, allocations: 163.7 kB / 0.5783 GB, free: 36.58 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.4469, allocations: 225.8 kB / 0.5785 GB, free: 36.42 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.4469, allocations: 33.83 kB / 0.5785 GB, free: 36.38 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.447, allocations: 183.2 kB / 0.5787 GB, free: 36.21 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.447, allocations: 88.02 kB / 0.5788 GB, free: 36.14 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.463e-05/0.4471, allocations: 68.64 kB / 0.5788 GB, free: 36.09 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.043e-05/0.4472, allocations: 340.2 kB / 0.5792 GB, free: 35.75 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.4473, allocations: 80.69 kB / 0.5792 GB, free: 35.72 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.4475, allocations: 149.7 kB / 0.5794 GB, free: 35.6 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.4478, allocations: 222.6 kB / 0.5796 GB, free: 35.46 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4478, allocations: 0.9062 kB / 0.5796 GB, free: 35.46 MB / 462.3 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005489/0.4483, allocations: 372.1 kB / 0.58 GB, free: 35.26 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.4484, allocations: 5.562 kB / 0.58 GB, free: 35.26 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4484, allocations: 1.844 kB / 0.58 GB, free: 35.26 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002604/0.4486, allocations: 86.11 kB / 0.58 GB, free: 35.22 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.4488, allocations: 31.92 kB / 0.5801 GB, free: 35.21 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.4501, allocations: 1.906 MB / 0.5819 GB, free: 33.46 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.4504, allocations: 36.08 kB / 0.582 GB, free: 33.45 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.4504, allocations: 16.3 kB / 0.582 GB, free: 33.44 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.0001192/0.4505, allocations: 154.3 kB / 0.5821 GB, free: 33.3 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.4506, allocations: 30.38 kB / 0.5822 GB, free: 33.28 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.597e-05/0.4506, allocations: 31.58 kB / 0.5822 GB, free: 33.25 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.4506, allocations: 3.688 kB / 0.5822 GB, free: 33.25 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.4507, allocations: 5.781 kB / 0.5822 GB, free: 33.25 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4507, allocations: 0 / 0.5822 GB, free: 33.25 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.4509, allocations: 360.1 kB / 0.5825 GB, free: 32.92 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.4509, allocations: 3.938 kB / 0.5825 GB, free: 32.92 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.614e-05/0.451, allocations: 16.62 kB / 0.5826 GB, free: 32.91 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001715/0.4512, allocations: 75.7 kB / 0.5826 GB, free: 32.88 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.4512, allocations: 6.531 kB / 0.5826 GB, free: 32.88 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.4524, allocations: 1.896 MB / 0.5845 GB, free: 31.14 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4524, allocations: 0 / 0.5845 GB, free: 31.14 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00058/0.453, allocations: 459.6 kB / 0.5849 GB, free: 30.86 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.4531, allocations: 100.4 kB / 0.585 GB, free: 30.75 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.4531, allocations: 6.531 kB / 0.585 GB, free: 30.75 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/0.4533, allocations: 24.38 kB / 0.5851 GB, free: 30.74 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.4534, allocations: 31.38 kB / 0.5851 GB, free: 30.72 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.4534, allocations: 15.53 kB / 0.5851 GB, free: 30.71 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001024/0.4535, allocations: 165.9 kB / 0.5853 GB, free: 30.6 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4535, allocations: 0 / 0.5853 GB, free: 30.6 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003451/0.4539, allocations: 112.3 kB / 0.5854 GB, free: 30.57 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.0008561/0.4547, allocations: 1.006 MB / 0.5864 GB, free: 29.77 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0006315/0.4554, allocations: 413.5 kB / 0.5867 GB, free: 29.51 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4554, allocations: 0 / 0.5867 GB, free: 29.51 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.4557, allocations: 279.9 kB / 0.587 GB, free: 29.31 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.456, allocations: 60.62 kB / 0.5871 GB, free: 29.27 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.4585, allocations: 2.804 MB / 0.5898 GB, free: 27.14 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.4587, allocations: 0.7752 MB / 0.5906 GB, free: 26.4 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 9.19e-05/0.4588, allocations: 21.92 kB / 0.5906 GB, free: 26.39 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.773e-05/0.4589, allocations: 91.78 kB / 0.5907 GB, free: 26.31 MB / 462.3 MB Notification: Performance of SimCode: time 4.8e-07/0.4589, allocations: 1.469 kB / 0.5907 GB, free: 26.31 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.4777, allocations: 6.618 MB / 0.5971 GB, free: 20.69 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/0.4779, allocations: 311.9 kB / 0.5974 GB, free: 20.3 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.475, allocations: 3.938 kB / 0.5974 GB, free: 20.3 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 & /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","../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Scalar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches