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.001362/0.001362, allocations: 110.5 kB / 16.51 MB, free: 6.707 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.001283/0.001283, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.394/1.394, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.118/1.118, allocations: 119.3 MB / 410.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 59.91 kB / 0.4904 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6829/0.6842, allocations: 80.7 MB / 0.5692 GB, free: 43.55 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.BreakerCircuits.Verification.BreakerNetwork_3_Array): time 0.004305/0.6886, allocations: 2.084 MB / 0.5712 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.6897, allocations: 0.5363 MB / 0.5717 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.6898, allocations: 2.75 kB / 0.5717 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.69, allocations: 14.61 kB / 0.5717 GB, free: 41.49 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.6903, allocations: 46.61 kB / 0.5718 GB, free: 41.45 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.6905, allocations: 52.25 kB / 0.5718 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005389/0.6911, allocations: 455.7 kB / 0.5723 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.6914, allocations: 156.3 kB / 0.5724 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.6915, allocations: 145 kB / 0.5726 GB, free: 41 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.6917, allocations: 166.8 kB / 0.5727 GB, free: 40.89 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.62e-05/0.6918, allocations: 21.84 kB / 0.5727 GB, free: 40.89 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.747e-05/0.6919, allocations: 28.47 kB / 0.5728 GB, free: 40.89 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.692, allocations: 72.14 kB / 0.5728 GB, free: 40.83 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.6922, allocations: 171.7 kB / 0.573 GB, free: 40.72 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0004373/0.6927, allocations: 435.6 kB / 0.5734 GB, free: 40.43 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.6927, allocations: 0 / 0.5734 GB, free: 40.43 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.001e-06/0.6927, allocations: 0 / 0.5734 GB, free: 40.43 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.6927, allocations: 1.375 kB / 0.5734 GB, free: 40.43 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.001306/0.694, allocations: 0.7161 MB / 0.5741 GB, free: 39.84 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.6941, allocations: 13.86 kB / 0.5741 GB, free: 39.84 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.658e-05/0.6942, allocations: 66.98 kB / 0.5742 GB, free: 39.78 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.6943, allocations: 44.2 kB / 0.5742 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.6947, allocations: 312 kB / 0.5745 GB, free: 39.47 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.6947, allocations: 24.56 kB / 0.5745 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.03e-05/0.6948, allocations: 28.28 kB / 0.5746 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007137/0.6955, allocations: 397.8 kB / 0.575 GB, free: 39.22 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.6955, allocations: 3.984 kB / 0.575 GB, free: 39.21 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.153e-05/0.6956, allocations: 11.47 kB / 0.575 GB, free: 39.21 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.6956, allocations: 6.969 kB / 0.575 GB, free: 39.21 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005728/0.6962, allocations: 334.5 kB / 0.5753 GB, free: 39.05 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.6981, allocations: 1.259 MB / 0.5765 GB, free: 38.12 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004411/0.6986, allocations: 295.2 kB / 0.5768 GB, free: 37.96 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.6989, allocations: 176.2 kB / 0.577 GB, free: 37.88 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.6989, allocations: 3.594 kB / 0.577 GB, free: 37.88 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004733/0.6994, allocations: 296.8 kB / 0.5773 GB, free: 37.66 MB / 462.3 MB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.6994, allocations: 1.375 kB / 0.5773 GB, free: 37.66 MB / 462.3 MB Notification: Performance of matching and sorting (n=30): time 0.001787/0.7012, allocations: 0.7818 MB / 0.578 GB, free: 37.21 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.797e-05/0.7013, allocations: 164.7 kB / 0.5782 GB, free: 37.02 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/0.7017, allocations: 309.6 kB / 0.5785 GB, free: 36.81 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.7017, allocations: 47.16 kB / 0.5785 GB, free: 36.77 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.7018, allocations: 182.7 kB / 0.5787 GB, free: 36.6 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.101e-05/0.7019, allocations: 88.64 kB / 0.5788 GB, free: 36.53 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.702, allocations: 76.27 kB / 0.5789 GB, free: 36.48 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.416e-05/0.7021, allocations: 343.1 kB / 0.5792 GB, free: 36.14 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/0.7024, allocations: 162.1 kB / 0.5793 GB, free: 36.07 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/0.7027, allocations: 260.7 kB / 0.5796 GB, free: 35.89 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004681/0.7032, allocations: 353.8 kB / 0.5799 GB, free: 35.7 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.7032, allocations: 0.9062 kB / 0.5799 GB, free: 35.7 MB / 462.3 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008937/0.7041, allocations: 0.5676 MB / 0.5805 GB, free: 35.39 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.7042, allocations: 10.3 kB / 0.5805 GB, free: 35.39 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.7042, allocations: 9.188 kB / 0.5805 GB, free: 35.38 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003582/0.7045, allocations: 117.1 kB / 0.5806 GB, free: 35.32 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.7047, allocations: 52.75 kB / 0.5807 GB, free: 35.3 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.7067, allocations: 2.122 MB / 0.5827 GB, free: 33.5 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.707, allocations: 67.25 kB / 0.5828 GB, free: 33.46 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.7071, allocations: 8.844 kB / 0.5828 GB, free: 33.46 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.0002324/0.7073, allocations: 219.3 kB / 0.583 GB, free: 33.29 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-05/0.7074, allocations: 25.59 kB / 0.583 GB, free: 33.27 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.366e-05/0.7074, allocations: 38.52 kB / 0.5831 GB, free: 33.25 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.7074, allocations: 2.531 kB / 0.5831 GB, free: 33.25 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.7075, allocations: 2.531 kB / 0.5831 GB, free: 33.25 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.7075, allocations: 0 / 0.5831 GB, free: 33.25 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003702/0.7078, allocations: 400 kB / 0.5835 GB, free: 32.91 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7079, allocations: 0 / 0.5835 GB, free: 32.91 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.708, allocations: 20.62 kB / 0.5835 GB, free: 32.9 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002525/0.7082, allocations: 119.8 kB / 0.5836 GB, free: 32.84 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.7083, allocations: 5.25 kB / 0.5836 GB, free: 32.84 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/0.7102, allocations: 2.128 MB / 0.5857 GB, free: 31.02 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7102, allocations: 3.938 kB / 0.5857 GB, free: 31.02 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.7112, allocations: 0.6304 MB / 0.5863 GB, free: 30.66 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/0.7113, allocations: 107.9 kB / 0.5864 GB, free: 30.55 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.7113, allocations: 8.531 kB / 0.5864 GB, free: 30.54 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.7116, allocations: 49.66 kB / 0.5865 GB, free: 30.52 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.7117, allocations: 29.14 kB / 0.5865 GB, free: 30.5 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.7117, allocations: 15.64 kB / 0.5865 GB, free: 30.5 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.000194/0.7119, allocations: 216.1 kB / 0.5867 GB, free: 30.36 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7119, allocations: 0.9062 kB / 0.5867 GB, free: 30.36 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004778/0.7124, allocations: 127 kB / 0.5868 GB, free: 30.33 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.001352/0.7138, allocations: 1.234 MB / 0.588 GB, free: 29.4 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0009248/0.7147, allocations: 0.5277 MB / 0.5885 GB, free: 29.09 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7147, allocations: 0 / 0.5885 GB, free: 29.09 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0004977/0.7152, allocations: 350.2 kB / 0.5889 GB, free: 28.86 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.7156, allocations: 55.16 kB / 0.5889 GB, free: 28.83 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003374/0.719, allocations: 3.703 MB / 0.5925 GB, free: 25.03 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.7192, allocations: 0.8422 MB / 0.5934 GB, free: 24.16 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.7194, allocations: 58.89 kB / 0.5934 GB, free: 24.11 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.7195, allocations: 91.41 kB / 0.5935 GB, free: 24.02 MB / 462.3 MB Notification: Performance of SimCode: time 7.22e-07/0.7195, allocations: 0 / 0.5935 GB, free: 24.02 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.7385, allocations: 7.852 MB / 0.6012 GB, free: 16.41 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/0.7387, allocations: 309.6 kB / 0.6015 GB, free: 16.03 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/3.219, allocations: 3.938 kB / 0.6015 GB, free: 16.02 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