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.001426/0.001426, allocations: 107.3 kB / 16.92 MB, free: 5.77 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.001385/0.001385, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.475/1.475, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.223/1.223, allocations: 119.3 MB / 411 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 55.91 kB / 0.491 GB, free: 13.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6767/0.6779, allocations: 80.69 MB / 0.5698 GB, free: 43.44 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array): time 0.003747/0.6817, allocations: 2.039 MB / 0.5718 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.6829, allocations: 0.5358 MB / 0.5724 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.683, allocations: 2.438 kB / 0.5724 GB, free: 41.42 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.6832, allocations: 26.69 kB / 0.5724 GB, free: 41.39 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.6836, allocations: 43.67 kB / 0.5724 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.6839, allocations: 66.28 kB / 0.5725 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005962/0.6845, allocations: 456.7 kB / 0.5729 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.6849, allocations: 170 kB / 0.5731 GB, free: 40.97 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.6851, allocations: 181.2 kB / 0.5733 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.6854, allocations: 178 kB / 0.5734 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.43e-05/0.6855, allocations: 32.31 kB / 0.5735 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.6856, allocations: 34.44 kB / 0.5735 GB, free: 40.77 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.6857, allocations: 98.12 kB / 0.5736 GB, free: 40.69 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.686, allocations: 182.9 kB / 0.5738 GB, free: 40.57 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.6865, allocations: 455.8 kB / 0.5742 GB, free: 40.27 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.6865, allocations: 0 / 0.5742 GB, free: 40.27 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.835e-06/0.6866, allocations: 0 / 0.5742 GB, free: 40.27 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.6866, allocations: 4 kB / 0.5742 GB, free: 40.27 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.001377/0.688, allocations: 0.7173 MB / 0.5749 GB, free: 39.67 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.688, allocations: 14.36 kB / 0.5749 GB, free: 39.67 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.961e-05/0.6881, allocations: 70.31 kB / 0.575 GB, free: 39.6 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.6882, allocations: 40.75 kB / 0.575 GB, free: 39.58 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.6886, allocations: 319.4 kB / 0.5753 GB, free: 39.29 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.6887, allocations: 21.25 kB / 0.5753 GB, free: 39.29 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.912e-05/0.6887, allocations: 27.53 kB / 0.5754 GB, free: 39.28 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006802/0.6894, allocations: 398.7 kB / 0.5758 GB, free: 39.05 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.6894, allocations: 3.938 kB / 0.5758 GB, free: 39.05 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.6895, allocations: 15.47 kB / 0.5758 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.6895, allocations: 10.41 kB / 0.5758 GB, free: 39.03 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005461/0.6901, allocations: 338.9 kB / 0.5761 GB, free: 38.87 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.692, allocations: 1.248 MB / 0.5773 GB, free: 37.95 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.6925, allocations: 290.9 kB / 0.5776 GB, free: 37.79 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.6928, allocations: 179.2 kB / 0.5778 GB, free: 37.71 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.6928, allocations: 2.75 kB / 0.5778 GB, free: 37.71 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004259/0.6932, allocations: 297.8 kB / 0.5781 GB, free: 37.49 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 2.806e-06/0.6932, allocations: 3.938 kB / 0.5781 GB, free: 37.49 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001895/0.6951, allocations: 0.7803 MB / 0.5788 GB, free: 37.04 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.075e-05/0.6952, allocations: 169.6 kB / 0.579 GB, free: 36.84 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.6956, allocations: 304.7 kB / 0.5793 GB, free: 36.64 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/0.6957, allocations: 39.23 kB / 0.5793 GB, free: 36.6 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.6958, allocations: 186.7 kB / 0.5795 GB, free: 36.43 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.595e-05/0.6959, allocations: 88.64 kB / 0.5796 GB, free: 36.36 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.696, allocations: 76.23 kB / 0.5796 GB, free: 36.31 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.204e-05/0.6961, allocations: 347.1 kB / 0.58 GB, free: 35.97 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/0.6964, allocations: 166.5 kB / 0.5801 GB, free: 35.89 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.6967, allocations: 254 kB / 0.5804 GB, free: 35.72 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/0.6972, allocations: 361.6 kB / 0.5807 GB, free: 35.52 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6972, allocations: 3.938 kB / 0.5807 GB, free: 35.52 MB / 462.3 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008451/0.6981, allocations: 0.5638 MB / 0.5813 GB, free: 35.21 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.6981, allocations: 5.75 kB / 0.5813 GB, free: 35.21 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.6981, allocations: 1.281 kB / 0.5813 GB, free: 35.21 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003672/0.6985, allocations: 121.2 kB / 0.5814 GB, free: 35.16 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.6987, allocations: 48.72 kB / 0.5814 GB, free: 35.14 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.7009, allocations: 2.283 MB / 0.5837 GB, free: 33.2 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.7013, allocations: 67.23 kB / 0.5837 GB, free: 33.16 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.7013, allocations: 12.84 kB / 0.5838 GB, free: 33.16 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.0003037/0.7016, allocations: 211.9 kB / 0.584 GB, free: 32.99 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.401e-05/0.7017, allocations: 25.84 kB / 0.584 GB, free: 32.98 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.557e-05/0.7018, allocations: 39.3 kB / 0.584 GB, free: 32.95 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.7018, allocations: 2.781 kB / 0.584 GB, free: 32.95 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/0.7018, allocations: 6.469 kB / 0.584 GB, free: 32.94 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.7018, allocations: 0 / 0.584 GB, free: 32.94 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004433/0.7022, allocations: 398.8 kB / 0.5844 GB, free: 32.6 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.7023, allocations: 3.938 kB / 0.5844 GB, free: 32.6 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.7024, allocations: 12.62 kB / 0.5844 GB, free: 32.6 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002881/0.7027, allocations: 125 kB / 0.5845 GB, free: 32.54 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.7027, allocations: 5.125 kB / 0.5845 GB, free: 32.53 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.7049, allocations: 2.277 MB / 0.5868 GB, free: 30.59 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7049, allocations: 1.156 kB / 0.5868 GB, free: 30.59 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.706, allocations: 0.6337 MB / 0.5874 GB, free: 30.23 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.85e-05/0.7061, allocations: 112.1 kB / 0.5875 GB, free: 30.11 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/0.7062, allocations: 16.08 kB / 0.5875 GB, free: 30.1 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.7064, allocations: 49.81 kB / 0.5876 GB, free: 30.08 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.7065, allocations: 24.91 kB / 0.5876 GB, free: 30.07 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.7066, allocations: 11.58 kB / 0.5876 GB, free: 30.06 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.00025/0.7068, allocations: 216.4 kB / 0.5878 GB, free: 29.92 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7068, allocations: 9.031 kB / 0.5878 GB, free: 29.91 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005882/0.7074, allocations: 131.2 kB / 0.5879 GB, free: 29.88 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.001568/0.709, allocations: 1.208 MB / 0.5891 GB, free: 28.98 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.7102, allocations: 0.5709 MB / 0.5897 GB, free: 28.59 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7102, allocations: 7.984 kB / 0.5897 GB, free: 28.58 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004097/0.7106, allocations: 350.5 kB / 0.59 GB, free: 28.23 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.7109, allocations: 65.41 kB / 0.5901 GB, free: 28.17 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/0.7146, allocations: 3.584 MB / 0.5936 GB, free: 24.47 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.7149, allocations: 0.8458 MB / 0.5944 GB, free: 23.59 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001457/0.7151, allocations: 59.2 kB / 0.5945 GB, free: 23.54 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.7152, allocations: 95.41 kB / 0.5945 GB, free: 23.44 MB / 462.3 MB Notification: Performance of SimCode: time 7.62e-07/0.7152, allocations: 0 / 0.5945 GB, free: 23.44 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04627/0.7615, allocations: 8.245 MB / 0.6026 GB, free: 15.43 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.18, allocations: 13.48 kB / 0.6026 GB, free: 15.42 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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_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_Array.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches