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.001135/0.001135, allocations: 113.2 kB / 16.63 MB, free: 6.812 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.001078/0.001078, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.184/1.184, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7811/0.7811, allocations: 119.3 MB / 410.7 MB, free: 9.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 55.91 kB / 0.4906 GB, free: 13.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4084, allocations: 80.68 MB / 0.5693 GB, free: 43.55 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20): time 0.1157/0.5242, allocations: 172.6 MB / 0.7379 GB, free: 4.613 MB / 0.5764 GB Notification: Performance of NFInst.instExpressions: time 0.5272/1.051, allocations: 36.44 MB / 0.7735 GB, free: 244 kB / 0.5923 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0303/1.082, allocations: 0.7525 MB / 0.7742 GB, free: 244 kB / 0.5923 GB Notification: Performance of NFTyping.typeComponents: time 0.02183/1.104, allocations: 4.833 MB / 0.7789 GB, free: 244 kB / 0.5923 GB Notification: Performance of NFTyping.typeBindings: time 0.03877/1.142, allocations: 9.891 MB / 0.7886 GB, free: 116 kB / 0.5923 GB Notification: Performance of NFTyping.typeClassSections: time 0.02516/1.168, allocations: 8.205 MB / 0.7966 GB, free: 15.88 MB / 0.6079 GB Notification: Performance of NFFlatten.flatten: time 0.06234/1.23, allocations: 46.72 MB / 0.8422 GB, free: 7.746 MB / 0.6235 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02402/1.254, allocations: 12.39 MB / 0.8543 GB, free: 13.87 MB / 0.6392 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02857/1.283, allocations: 16.2 MB / 0.8702 GB, free: 13.66 MB / 0.6548 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02669/1.309, allocations: 18.12 MB / 0.8879 GB, free: 11.46 MB / 0.6704 GB Notification: Performance of NFPackage.collectConstants: time 0.0131/1.323, allocations: 3.602 MB / 0.8914 GB, free: 7.855 MB / 0.6704 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01421/1.337, allocations: 3.605 MB / 0.8949 GB, free: 4.25 MB / 0.6704 GB Notification: Performance of NFScalarize.scalarize: time 0.009673/1.346, allocations: 8.217 MB / 0.9029 GB, free: 12 MB / 0.686 GB Notification: Performance of NFVerifyModel.verify: time 0.03156/1.378, allocations: 19.69 MB / 0.9222 GB, free: 8.219 MB / 0.7017 GB Notification: Performance of NFConvertDAE.convert: time 0.05197/1.43, allocations: 42.63 MB / 0.9638 GB, free: 14.45 MB / 0.7485 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/1.43, allocations: 4 kB / 0.9638 GB, free: 14.44 MB / 0.7485 GB Notification: Performance of FrontEnd: time 2.274e-06/1.43, allocations: 0 / 0.9638 GB, free: 14.44 MB / 0.7485 GB Notification: Performance of Transformations before backend: time 0.001742/1.432, allocations: 0 / 0.9638 GB, free: 14.44 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.07324/1.505, allocations: 36.69 MB / 0.9996 GB, free: 9.715 MB / 0.7798 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/1.505, allocations: 15.89 kB / 0.9996 GB, free: 9.699 MB / 0.7798 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008063/1.513, allocations: 4.131 MB / 1.004 GB, free: 5.555 MB / 0.7798 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008252/1.521, allocations: 4.011 MB / 1.008 GB, free: 1.5 MB / 0.7798 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02627/1.548, allocations: 12.66 MB / 1.02 GB, free: 5.086 MB / 0.7954 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002062/1.55, allocations: 2.317 MB / 1.022 GB, free: 2.77 MB / 0.7954 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005822/1.556, allocations: 3.005 MB / 1.025 GB, free: 15.76 MB / 0.811 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3438/1.899, allocations: 25.13 MB / 1.05 GB, free: 160.7 MB / 0.811 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008024/1.9, allocations: 2.766 kB / 1.05 GB, free: 160.7 MB / 0.811 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004071/1.904, allocations: 1.405 MB / 1.051 GB, free: 160.7 MB / 0.811 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001159/1.906, allocations: 0.7505 MB / 1.052 GB, free: 160.7 MB / 0.811 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04483/1.95, allocations: 21.47 MB / 1.073 GB, free: 160.5 MB / 0.811 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.162/2.112, allocations: 93.52 MB / 1.164 GB, free: 102.5 MB / 0.811 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03024/2.143, allocations: 28.11 MB / 1.192 GB, free: 74.9 MB / 0.811 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01096/2.154, allocations: 10.77 MB / 1.202 GB, free: 64.11 MB / 0.811 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006869/2.154, allocations: 258.5 kB / 1.202 GB, free: 63.86 MB / 0.811 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003255/2.155, allocations: 492.2 kB / 1.203 GB, free: 63.37 MB / 0.811 GB Notification: Performance of pre-optimization done (n=2460): time 2.84e-05/2.155, allocations: 0 / 1.203 GB, free: 63.37 MB / 0.811 GB Notification: Performance of matching and sorting (n=2460): time 0.04166/2.196, allocations: 31.61 MB / 1.234 GB, free: 32.49 MB / 0.811 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/2.197, allocations: 302.6 kB / 1.234 GB, free: 32.18 MB / 0.811 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02328/2.22, allocations: 19.7 MB / 1.253 GB, free: 12.59 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 0.002686/2.223, allocations: 0.5485 MB / 1.254 GB, free: 12.04 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.006512/2.229, allocations: 14.62 MB / 1.268 GB, free: 13.38 MB / 0.8267 GB Notification: Performance of collectInitialBindings (initialization): time 0.006866/2.236, allocations: 8.168 MB / 1.276 GB, free: 5.285 MB / 0.8267 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006859/2.243, allocations: 4.352 MB / 1.28 GB, free: 0.9141 MB / 0.8267 GB Notification: Performance of setup shared object (initialization): time 8.315e-05/2.243, allocations: 313.1 kB / 1.281 GB, free: 0.6055 MB / 0.8267 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01103/2.254, allocations: 7.37 MB / 1.288 GB, free: 9.227 MB / 0.8423 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01348/2.267, allocations: 11.46 MB / 1.299 GB, free: 12.59 MB / 0.8579 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.067/2.334, allocations: 19.25 MB / 1.318 GB, free: 8.434 MB / 0.8735 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001003/2.335, allocations: 24.62 kB / 1.318 GB, free: 8.41 MB / 0.8735 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.05524/2.39, allocations: 33.63 MB / 1.351 GB, free: 7.957 MB / 0.9048 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-05/2.39, allocations: 46.3 kB / 1.351 GB, free: 7.914 MB / 0.9048 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000156/2.39, allocations: 88 kB / 1.351 GB, free: 7.828 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.0001547/2.39, allocations: 164.9 kB / 1.351 GB, free: 7.668 MB / 0.9048 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01204/2.402, allocations: 3.173 MB / 1.354 GB, free: 4.719 MB / 0.9048 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002023/2.403, allocations: 225 kB / 1.354 GB, free: 4.535 MB / 0.9048 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01856/2.421, allocations: 2.744 MB / 1.357 GB, free: 1.758 MB / 0.9048 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002087/2.423, allocations: 0.9102 MB / 1.358 GB, free: 0.8477 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.2504/2.674, allocations: 3.441 MB / 1.361 GB, free: 372.8 MB / 0.9048 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007126/2.681, allocations: 2.818 MB / 1.364 GB, free: 372.8 MB / 0.9048 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004692/2.686, allocations: 2.749 MB / 1.367 GB, free: 372.6 MB / 0.9048 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001105/2.686, allocations: 233.1 kB / 1.367 GB, free: 372.6 MB / 0.9048 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0006045/2.686, allocations: 229.9 kB / 1.367 GB, free: 372.6 MB / 0.9048 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002202/2.686, allocations: 116.8 kB / 1.367 GB, free: 372.6 MB / 0.9048 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03167/2.718, allocations: 21.5 MB / 1.388 GB, free: 368.8 MB / 0.9048 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001702/2.718, allocations: 0 / 1.388 GB, free: 368.8 MB / 0.9048 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005101/2.723, allocations: 1.224 MB / 1.389 GB, free: 368.7 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 6.199e-05/2.724, allocations: 30.62 kB / 1.389 GB, free: 368.7 MB / 0.9048 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001727/2.725, allocations: 387 kB / 1.39 GB, free: 368.4 MB / 0.9048 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.458e-05/2.725, allocations: 24.38 kB / 1.39 GB, free: 368.4 MB / 0.9048 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/2.725, allocations: 0.75 kB / 1.39 GB, free: 368.4 MB / 0.9048 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03558/2.761, allocations: 27.05 MB / 1.416 GB, free: 357.9 MB / 0.9048 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00679/2.768, allocations: 2.995 MB / 1.419 GB, free: 355.9 MB / 0.9048 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003715/2.771, allocations: 383.1 kB / 1.419 GB, free: 355.6 MB / 0.9048 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01848/2.79, allocations: 2.958 MB / 1.422 GB, free: 355.2 MB / 0.9048 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002553/2.792, allocations: 2.505 MB / 1.425 GB, free: 355 MB / 0.9048 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001666/2.794, allocations: 0.7045 MB / 1.425 GB, free: 354.8 MB / 0.9048 GB Notification: Performance of sorting global known variables: time 0.01556/2.81, allocations: 13.03 MB / 1.438 GB, free: 350.3 MB / 0.9048 GB Notification: Performance of sort global known variables: time 2.5e-07/2.81, allocations: 0 / 1.438 GB, free: 350.3 MB / 0.9048 GB Notification: Performance of remove unused functions: time 0.01611/2.826, allocations: 8.802 MB / 1.447 GB, free: 348.4 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.03525/2.861, allocations: 28.58 MB / 1.475 GB, free: 328.8 MB / 0.9048 GB Notification: Performance of simCode: created initialization part: time 0.1581/3.019, allocations: 22.32 MB / 1.496 GB, free: 306.6 MB / 0.9048 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-05/3.019, allocations: 58.86 kB / 1.497 GB, free: 306.6 MB / 0.9048 GB Notification: Performance of simCode: created simulation system equations: time 0.01512/3.034, allocations: 11.33 MB / 1.508 GB, free: 295.2 MB / 0.9048 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02371/3.058, allocations: 5.955 MB / 1.513 GB, free: 289.3 MB / 0.9048 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.093/4.151, allocations: 0.6949 GB / 2.208 GB, free: 344.7 MB / 0.9048 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008398/4.16, allocations: 11.02 MB / 2.219 GB, free: 343.2 MB / 0.9048 GB Notification: Performance of simCode: alias equations: time 0.01329/4.173, allocations: 2.639 MB / 2.222 GB, free: 342.3 MB / 0.9048 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01308/4.186, allocations: 14.09 MB / 2.235 GB, free: 330.3 MB / 0.9048 GB Notification: Performance of SimCode: time 8.41e-07/4.186, allocations: 0 / 2.235 GB, free: 330.3 MB / 0.9048 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.14/5.326, allocations: 0.5239 GB / 2.759 GB, free: 306.7 MB / 0.9048 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/5.326, allocations: 336.2 kB / 2.76 GB, free: 306.4 MB / 0.9048 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.07/22.39, allocations: 8.875 kB / 2.76 GB, free: 306.4 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","../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_20_M_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches