Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.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.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20",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.001445/0.001445, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001197/0.001197, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.325/1.325, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.011/1.011, allocations: 119.3 MB / 411 MB, free: 9.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 59.91 kB / 0.491 GB, free: 13.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5291/0.5307, allocations: 80.69 MB / 0.5698 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20): time 0.1413/0.672, allocations: 175 MB / 0.7408 GB, free: 1.957 MB / 0.5764 GB Notification: Performance of NFInst.instExpressions: time 0.7358/1.408, allocations: 36.25 MB / 0.7762 GB, free: 96 kB / 0.5923 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04507/1.453, allocations: 0.749 MB / 0.7769 GB, free: 96 kB / 0.5923 GB Notification: Performance of NFTyping.typeComponents: time 0.02744/1.48, allocations: 6.454 MB / 0.7832 GB, free: 96 kB / 0.5923 GB Notification: Performance of NFTyping.typeBindings: time 0.0552/1.536, allocations: 11.24 MB / 0.7942 GB, free: 14.91 MB / 0.6079 GB Notification: Performance of NFTyping.typeClassSections: time 0.0347/1.57, allocations: 9.579 MB / 0.8035 GB, free: 12.66 MB / 0.6079 GB Notification: Performance of NFFlatten.flatten: time 0.08523/1.656, allocations: 46.65 MB / 0.8491 GB, free: 2.406 MB / 0.6235 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03444/1.69, allocations: 12.39 MB / 0.8612 GB, free: 7.996 MB / 0.6392 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04247/1.733, allocations: 16.13 MB / 0.8769 GB, free: 7.852 MB / 0.6548 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03287/1.766, allocations: 18.13 MB / 0.8946 GB, free: 5.645 MB / 0.6704 GB Notification: Performance of NFPackage.collectConstants: time 0.01838/1.784, allocations: 3.604 MB / 0.8982 GB, free: 2.039 MB / 0.6704 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02725/1.811, allocations: 3.602 MB / 0.9017 GB, free: 14.43 MB / 0.686 GB Notification: Performance of NFScalarize.scalarize: time 0.01464/1.826, allocations: 8.208 MB / 0.9097 GB, free: 6.199 MB / 0.686 GB Notification: Performance of NFVerifyModel.verify: time 0.04463/1.871, allocations: 19.69 MB / 0.9289 GB, free: 2.41 MB / 0.7017 GB Notification: Performance of NFConvertDAE.convert: time 0.07251/1.943, allocations: 42.63 MB / 0.9706 GB, free: 8.641 MB / 0.7485 GB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/1.943, allocations: 4 kB / 0.9706 GB, free: 8.637 MB / 0.7485 GB Notification: Performance of FrontEnd: time 3.106e-06/1.943, allocations: 0 / 0.9706 GB, free: 8.637 MB / 0.7485 GB Notification: Performance of Transformations before backend: time 0.002855/1.946, allocations: 1.219 kB / 0.9706 GB, free: 8.637 MB / 0.7485 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8189 * Number of variables: 8189 Notification: Performance of Generate backend data structure: time 0.1028/2.049, allocations: 36.69 MB / 1.006 GB, free: 3.918 MB / 0.7798 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/2.049, allocations: 11.89 kB / 1.006 GB, free: 3.906 MB / 0.7798 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01188/2.061, allocations: 4.139 MB / 1.01 GB, free: 15.75 MB / 0.7954 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01252/2.074, allocations: 4.007 MB / 1.014 GB, free: 11.7 MB / 0.7954 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03574/2.109, allocations: 12.66 MB / 1.027 GB, free: 15.29 MB / 0.811 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002684/2.112, allocations: 2.313 MB / 1.029 GB, free: 12.97 MB / 0.811 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009061/2.121, allocations: 3 MB / 1.032 GB, free: 9.973 MB / 0.811 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5484/2.67, allocations: 25.13 MB / 1.056 GB, free: 160 MB / 0.811 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001584/2.671, allocations: 1.594 kB / 1.056 GB, free: 160 MB / 0.811 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008035/2.679, allocations: 1.4 MB / 1.058 GB, free: 160 MB / 0.811 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007135/2.68, allocations: 0.7501 MB / 1.059 GB, free: 160 MB / 0.811 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06011/2.74, allocations: 21.47 MB / 1.08 GB, free: 158.1 MB / 0.811 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2233/2.963, allocations: 93.53 MB / 1.171 GB, free: 94.54 MB / 0.811 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04258/3.006, allocations: 28.12 MB / 1.198 GB, free: 66.89 MB / 0.811 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01852/3.025, allocations: 10.77 MB / 1.209 GB, free: 56.1 MB / 0.811 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001732/3.027, allocations: 251.2 kB / 1.209 GB, free: 55.86 MB / 0.811 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004799/3.027, allocations: 0.4885 MB / 1.21 GB, free: 55.36 MB / 0.811 GB Notification: Performance of pre-optimization done (n=2460): time 3.003e-05/3.027, allocations: 0 / 1.21 GB, free: 55.36 MB / 0.811 GB Notification: Performance of matching and sorting (n=2460): time 0.07718/3.104, allocations: 31.61 MB / 1.24 GB, free: 24.48 MB / 0.811 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002014/3.105, allocations: 302.6 kB / 1.241 GB, free: 24.17 MB / 0.811 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04313/3.148, allocations: 19.7 MB / 1.26 GB, free: 4.586 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 0.006262/3.154, allocations: 0.5524 MB / 1.26 GB, free: 4.027 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.01565/3.17, allocations: 14.63 MB / 1.275 GB, free: 5.418 MB / 0.8267 GB Notification: Performance of collectInitialBindings (initialization): time 0.01021/3.18, allocations: 8.166 MB / 1.283 GB, free: 13.32 MB / 0.8423 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01915/3.199, allocations: 4.364 MB / 1.287 GB, free: 8.938 MB / 0.8423 GB Notification: Performance of setup shared object (initialization): time 0.0001163/3.199, allocations: 305.1 kB / 1.287 GB, free: 8.637 MB / 0.8423 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02001/3.219, allocations: 7.374 MB / 1.295 GB, free: 1.254 MB / 0.8423 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02695/3.246, allocations: 11.46 MB / 1.306 GB, free: 4.621 MB / 0.8579 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08501/3.331, allocations: 19.24 MB / 1.324 GB, free: 476 kB / 0.8735 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001841/3.332, allocations: 28 kB / 1.325 GB, free: 448 kB / 0.8735 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.5265/3.858, allocations: 33.62 MB / 1.357 GB, free: 364.2 MB / 0.9048 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001635/3.858, allocations: 43 kB / 1.357 GB, free: 364.2 MB / 0.9048 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002983/3.859, allocations: 88.47 kB / 1.357 GB, free: 364.2 MB / 0.9048 GB Notification: Tearing is skipped for strong component 1 because system size of 1639 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.0004044/3.859, allocations: 166.8 kB / 1.358 GB, free: 364.2 MB / 0.9048 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01878/3.878, allocations: 3.168 MB / 1.361 GB, free: 364.2 MB / 0.9048 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004047/3.878, allocations: 224.9 kB / 1.361 GB, free: 364.2 MB / 0.9048 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03255/3.911, allocations: 2.749 MB / 1.364 GB, free: 363.9 MB / 0.9048 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005912/3.917, allocations: 0.9093 MB / 1.365 GB, free: 363.9 MB / 0.9048 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2043): * Single equations (assignments): 2042 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(1639,0.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01956/3.936, allocations: 3.443 MB / 1.368 GB, free: 363.7 MB / 0.9048 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01377/3.95, allocations: 2.819 MB / 1.371 GB, free: 363.7 MB / 0.9048 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007456/3.958, allocations: 2.745 MB / 1.373 GB, free: 363.4 MB / 0.9048 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003119/3.958, allocations: 230.6 kB / 1.374 GB, free: 363.4 MB / 0.9048 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0009824/3.959, allocations: 233.1 kB / 1.374 GB, free: 363.4 MB / 0.9048 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005046/3.959, allocations: 116.3 kB / 1.374 GB, free: 363.4 MB / 0.9048 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04997/4.009, allocations: 21.51 MB / 1.395 GB, free: 358.2 MB / 0.9048 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002831/4.01, allocations: 0.625 kB / 1.395 GB, free: 358.2 MB / 0.9048 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005396/4.015, allocations: 1.219 MB / 1.396 GB, free: 358.1 MB / 0.9048 GB Notification: Tearing is skipped for strong component 2 because system size of 1639 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.0001372/4.015, allocations: 32.53 kB / 1.396 GB, free: 358.1 MB / 0.9048 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004346/4.02, allocations: 387.8 kB / 1.396 GB, free: 357.8 MB / 0.9048 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001452/4.02, allocations: 23.69 kB / 1.396 GB, free: 357.8 MB / 0.9048 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/4.02, allocations: 4.375 kB / 1.396 GB, free: 357.8 MB / 0.9048 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06011/4.08, allocations: 27.04 MB / 1.423 GB, free: 346.8 MB / 0.9048 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01076/4.091, allocations: 2.999 MB / 1.426 GB, free: 344.7 MB / 0.9048 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.011/4.102, allocations: 383.1 kB / 1.426 GB, free: 344.4 MB / 0.9048 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02824/4.13, allocations: 2.961 MB / 1.429 GB, free: 343.9 MB / 0.9048 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005561/4.136, allocations: 2.504 MB / 1.432 GB, free: 343.8 MB / 0.9048 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004552/4.14, allocations: 0.6999 MB / 1.432 GB, free: 343.6 MB / 0.9048 GB Notification: Performance of sorting global known variables: time 0.02922/4.17, allocations: 13.03 MB / 1.445 GB, free: 339 MB / 0.9048 GB Notification: Performance of sort global known variables: time 9.42e-07/4.17, allocations: 0 / 1.445 GB, free: 339 MB / 0.9048 GB Notification: Performance of remove unused functions: time 0.02899/4.199, allocations: 8.801 MB / 1.454 GB, free: 337.1 MB / 0.9048 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (822): * Single equations (assignments): 821 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(1639,0.2%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0648/4.263, allocations: 28.57 MB / 1.481 GB, free: 319.6 MB / 0.9048 GB Notification: Performance of simCode: created initialization part: time 0.1877/4.451, allocations: 22.33 MB / 1.503 GB, free: 297.4 MB / 0.9048 GB Notification: Performance of simCode: created event and clocks part: time 5.285e-05/4.451, allocations: 54.42 kB / 1.503 GB, free: 297.4 MB / 0.9048 GB Notification: Performance of simCode: created simulation system equations: time 0.02267/4.474, allocations: 11.33 MB / 1.514 GB, free: 286 MB / 0.9048 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04201/4.516, allocations: 5.95 MB / 1.52 GB, free: 280.1 MB / 0.9048 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.352/5.869, allocations: 0.6825 GB / 2.203 GB, free: 343.3 MB / 0.9048 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01919/5.888, allocations: 11.01 MB / 2.213 GB, free: 341.8 MB / 0.9048 GB Notification: Performance of simCode: alias equations: time 0.02202/5.91, allocations: 2.646 MB / 2.216 GB, free: 340.9 MB / 0.9048 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02156/5.932, allocations: 14.09 MB / 2.23 GB, free: 328.9 MB / 0.9048 GB Notification: Performance of SimCode: time 1.403e-06/5.932, allocations: 0 / 2.23 GB, free: 328.9 MB / 0.9048 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.568/7.5, allocations: 0.5115 GB / 2.741 GB, free: 293.9 MB / 0.9048 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.22/36.72, allocations: 2.875 kB / 2.741 GB, free: 293.9 MB / 0.9048 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_20_M_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches