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.001052/0.001052, allocations: 91.2 kB / 16.65 MB, free: 6.352 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.001005/0.001006, allocations: 180.2 kB / 17.56 MB, free: 5.949 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.434/1.434, allocations: 223.3 MB / 241.6 MB, free: 14.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.134/1.134, allocations: 120.5 MB / 413.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 11.94 kB / 0.495 GB, free: 11.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6913/0.6916, allocations: 82.83 MB / 0.5759 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array): time 0.002153/0.6939, allocations: 1.73 MB / 0.5776 GB, free: 39.94 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008421/0.6947, allocations: 0.5227 MB / 0.5781 GB, free: 39.53 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.55e-05/0.6948, allocations: 2.125 kB / 0.5781 GB, free: 39.53 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.695, allocations: 26.06 kB / 0.5781 GB, free: 39.51 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.6952, allocations: 42.89 kB / 0.5782 GB, free: 39.48 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.6954, allocations: 54.88 kB / 0.5782 GB, free: 39.43 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004526/0.6959, allocations: 452.4 kB / 0.5786 GB, free: 39.18 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.6962, allocations: 155.3 kB / 0.5788 GB, free: 39.1 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.6963, allocations: 124.8 kB / 0.5789 GB, free: 39.04 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.6965, allocations: 163.9 kB / 0.5791 GB, free: 38.93 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 4.208e-05/0.6966, allocations: 17.88 kB / 0.5791 GB, free: 38.93 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.867e-05/0.6966, allocations: 17.88 kB / 0.5791 GB, free: 38.93 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 7.439e-05/0.6967, allocations: 65.44 kB / 0.5792 GB, free: 38.88 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.6969, allocations: 189.7 kB / 0.5793 GB, free: 38.75 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.6972, allocations: 427.5 kB / 0.5798 GB, free: 38.46 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6972, allocations: 0 / 0.5798 GB, free: 38.46 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.754e-06/0.6972, allocations: 1.031 kB / 0.5798 GB, free: 38.46 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.6973, allocations: 0 / 0.5798 GB, free: 38.46 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.0009679/0.6982, allocations: 0.6661 MB / 0.5804 GB, free: 37.9 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.6983, allocations: 8.969 kB / 0.5804 GB, free: 37.9 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.463e-05/0.6984, allocations: 67.06 kB / 0.5805 GB, free: 37.84 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.113e-05/0.6984, allocations: 41.06 kB / 0.5805 GB, free: 37.82 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.6988, allocations: 318.6 kB / 0.5808 GB, free: 37.53 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.6988, allocations: 25.23 kB / 0.5808 GB, free: 37.52 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.296e-05/0.6989, allocations: 31.66 kB / 0.5809 GB, free: 37.51 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005621/0.6994, allocations: 404.6 kB / 0.5813 GB, free: 37.28 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.6995, allocations: 0 / 0.5813 GB, free: 37.28 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/0.6995, allocations: 14.75 kB / 0.5813 GB, free: 37.27 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.6995, allocations: 6.875 kB / 0.5813 GB, free: 37.27 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005152/0.7, allocations: 346.8 kB / 0.5816 GB, free: 37.1 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.702, allocations: 1.255 MB / 0.5828 GB, free: 36.19 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.7023, allocations: 296.7 kB / 0.5831 GB, free: 36.03 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.7026, allocations: 182.8 kB / 0.5833 GB, free: 35.94 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.7026, allocations: 6.531 kB / 0.5833 GB, free: 35.93 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004094/0.703, allocations: 296 kB / 0.5836 GB, free: 35.72 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.413e-06/0.7031, allocations: 3.938 kB / 0.5836 GB, free: 35.72 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.00173/0.7048, allocations: 0.7964 MB / 0.5844 GB, free: 35.27 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/0.7049, allocations: 164.8 kB / 0.5845 GB, free: 35.07 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.7052, allocations: 310.3 kB / 0.5848 GB, free: 34.87 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.7052, allocations: 38.73 kB / 0.5849 GB, free: 34.83 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.7054, allocations: 183.2 kB / 0.585 GB, free: 34.66 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.713e-05/0.7054, allocations: 92.67 kB / 0.5851 GB, free: 34.59 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.7055, allocations: 41.95 kB / 0.5852 GB, free: 34.55 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.862e-05/0.7056, allocations: 339.7 kB / 0.5855 GB, free: 34.22 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.7058, allocations: 169.1 kB / 0.5856 GB, free: 34.14 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003144/0.7061, allocations: 262.3 kB / 0.5859 GB, free: 33.96 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/0.7067, allocations: 365.5 kB / 0.5862 GB, free: 33.76 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.7067, allocations: 0 / 0.5862 GB, free: 33.76 MB / 462.3 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008902/0.7076, allocations: 0.5645 MB / 0.5868 GB, free: 33.46 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.7076, allocations: 4.625 kB / 0.5868 GB, free: 33.46 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.7076, allocations: 1.25 kB / 0.5868 GB, free: 33.46 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003451/0.708, allocations: 125.9 kB / 0.5869 GB, free: 33.4 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.7082, allocations: 53.41 kB / 0.587 GB, free: 33.38 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.7102, allocations: 2.12 MB / 0.589 GB, free: 31.58 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.7105, allocations: 85.61 kB / 0.5891 GB, free: 31.53 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.7106, allocations: 17.44 kB / 0.5891 GB, free: 31.52 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 (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.0002412/0.7108, allocations: 209.6 kB / 0.5893 GB, free: 31.35 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.7109, allocations: 29.67 kB / 0.5894 GB, free: 31.34 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.477e-05/0.711, allocations: 34.41 kB / 0.5894 GB, free: 31.31 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.711, allocations: 3.812 kB / 0.5894 GB, free: 31.31 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/0.711, allocations: 1 kB / 0.5894 GB, free: 31.31 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.711, allocations: 5.078 kB / 0.5894 GB, free: 31.31 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.7114, allocations: 394.2 kB / 0.5898 GB, free: 30.97 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7114, allocations: 1.312 kB / 0.5898 GB, free: 30.97 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.7115, allocations: 20.8 kB / 0.5898 GB, free: 30.96 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002496/0.7118, allocations: 123.9 kB / 0.5899 GB, free: 30.9 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.7118, allocations: 1.312 kB / 0.5899 GB, free: 30.9 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.7134, allocations: 2.123 MB / 0.592 GB, free: 29.02 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7135, allocations: 7.922 kB / 0.592 GB, free: 29.02 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007485/0.7142, allocations: 0.6418 MB / 0.5926 GB, free: 28.35 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.7143, allocations: 104.8 kB / 0.5927 GB, free: 28.23 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/0.7143, allocations: 15.98 kB / 0.5928 GB, free: 28.21 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003119/0.7147, allocations: 56 kB / 0.5928 GB, free: 28.16 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.744e-05/0.7148, allocations: 23.95 kB / 0.5928 GB, free: 28.14 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.7148, allocations: 12 kB / 0.5928 GB, free: 28.12 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001631/0.715, allocations: 220.4 kB / 0.593 GB, free: 27.91 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.715, allocations: 0 / 0.593 GB, free: 27.91 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003912/0.7154, allocations: 127.7 kB / 0.5932 GB, free: 27.79 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,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.00113/0.7165, allocations: 1.225 MB / 0.5944 GB, free: 26.54 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0008046/0.7173, allocations: 0.5413 MB / 0.5949 GB, free: 25.98 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7173, allocations: 0 / 0.5949 GB, free: 25.98 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004031/0.7177, allocations: 346.3 kB / 0.5952 GB, free: 25.63 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.7181, allocations: 65.06 kB / 0.5953 GB, free: 25.57 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003806/0.7219, allocations: 3.733 MB / 0.5989 GB, free: 21.72 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.7222, allocations: 0.8422 MB / 0.5998 GB, free: 20.85 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.7224, allocations: 54.95 kB / 0.5998 GB, free: 20.8 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.7225, allocations: 91.41 kB / 0.5999 GB, free: 20.71 MB / 462.3 MB Notification: Performance of SimCode: time 9.42e-07/0.7225, allocations: 0 / 0.5999 GB, free: 20.71 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.7461, allocations: 7.651 MB / 0.6074 GB, free: 13.32 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/0.7464, allocations: 313.1 kB / 0.6077 GB, free: 12.94 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.211/2.957, allocations: 8.062 kB / 0.6077 GB, free: 12.93 MB / 462.3 MB (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","../files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches