Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.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.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2",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.0007445/0.0007446, allocations: 94.48 kB / 16.65 MB, free: 6.59 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.0007213/0.0007213, allocations: 184 kB / 17.57 MB, free: 6.199 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.215/1.215, allocations: 223.3 MB / 241.6 MB, free: 100 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8697/0.8697, allocations: 120.5 MB / 413.2 MB, free: 9.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002901/0.0002902, allocations: 8 kB / 0.495 GB, free: 11.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4656/0.4659, allocations: 82.85 MB / 0.5759 GB, free: 41.88 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2): time 0.004805/0.4707, allocations: 7.393 MB / 0.5831 GB, free: 35.92 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.4731, allocations: 1.445 MB / 0.5845 GB, free: 34.72 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004367/0.4736, allocations: 33 kB / 0.5846 GB, free: 34.71 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0006907/0.4743, allocations: 380.8 kB / 0.5849 GB, free: 34.46 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0005865/0.4749, allocations: 232.8 kB / 0.5852 GB, free: 34.26 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.4762, allocations: 0.813 MB / 0.5859 GB, free: 33.66 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008576/0.477, allocations: 0.9587 MB / 0.5869 GB, free: 33.09 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005905/0.4776, allocations: 0.5215 MB / 0.5874 GB, free: 32.78 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003288/0.478, allocations: 329.1 kB / 0.5877 GB, free: 32.6 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004725/0.4784, allocations: 0.4901 MB / 0.5882 GB, free: 32.3 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 8.379e-05/0.4785, allocations: 56.16 kB / 0.5882 GB, free: 32.29 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003933/0.4789, allocations: 161.5 kB / 0.5884 GB, free: 32.25 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 8.672e-05/0.479, allocations: 162.4 kB / 0.5885 GB, free: 32.12 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.4793, allocations: 0.51 MB / 0.589 GB, free: 31.75 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.4804, allocations: 1.564 MB / 0.5906 GB, free: 30.55 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4805, allocations: 0 / 0.5906 GB, free: 30.55 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4805, allocations: 1.531 kB / 0.5906 GB, free: 30.55 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.4805, allocations: 0 / 0.5906 GB, free: 30.55 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.003883/0.4844, allocations: 1.601 MB / 0.5921 GB, free: 29.43 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.4844, allocations: 8.844 kB / 0.5921 GB, free: 29.43 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/0.4846, allocations: 179.5 kB / 0.5923 GB, free: 29.29 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.4848, allocations: 112.3 kB / 0.5924 GB, free: 29.21 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000565/0.4853, allocations: 0.5609 MB / 0.593 GB, free: 28.61 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.28e-05/0.4854, allocations: 90.73 kB / 0.5931 GB, free: 28.52 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.4855, allocations: 116.4 kB / 0.5932 GB, free: 28.4 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.4869, allocations: 1.165 MB / 0.5943 GB, free: 27.18 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.4869, allocations: 3.938 kB / 0.5943 GB, free: 27.18 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.272e-05/0.487, allocations: 52 kB / 0.5944 GB, free: 27.12 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.487, allocations: 28 kB / 0.5944 GB, free: 27.1 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.4881, allocations: 0.8601 MB / 0.5952 GB, free: 26.23 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003874/0.492, allocations: 4.501 MB / 0.5996 GB, free: 21.57 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007186/0.4927, allocations: 0.5354 MB / 0.6001 GB, free: 21.02 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.493, allocations: 312.9 kB / 0.6004 GB, free: 20.71 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.4931, allocations: 8.375 kB / 0.6005 GB, free: 20.71 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.4931, allocations: 42.94 kB / 0.6005 GB, free: 20.66 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 2.334e-06/0.4931, allocations: 4 kB / 0.6005 GB, free: 20.65 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.004499/0.4976, allocations: 1.799 MB / 0.6023 GB, free: 18.82 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.4976, allocations: 55.84 kB / 0.6023 GB, free: 18.75 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/0.498, allocations: 449.8 kB / 0.6027 GB, free: 18.31 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.4981, allocations: 37.7 kB / 0.6028 GB, free: 18.27 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.4982, allocations: 490 kB / 0.6032 GB, free: 17.78 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.96e-05/0.4983, allocations: 189.3 kB / 0.6034 GB, free: 17.59 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.4984, allocations: 65.67 kB / 0.6035 GB, free: 17.52 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.776e-05/0.4985, allocations: 358.8 kB / 0.6038 GB, free: 17.16 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.4987, allocations: 197.9 kB / 0.604 GB, free: 16.96 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.499, allocations: 435.6 kB / 0.6044 GB, free: 16.44 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005725/0.4996, allocations: 0.6744 MB / 0.6051 GB, free: 15.66 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.4996, allocations: 7.938 kB / 0.6051 GB, free: 15.66 MB / 462.3 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001315/0.5009, allocations: 0.987 MB / 0.6061 GB, free: 14.66 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.5009, allocations: 8 kB / 0.6061 GB, free: 14.65 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.501, allocations: 11.98 kB / 0.6061 GB, free: 14.64 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008447/0.5018, allocations: 384.8 kB / 0.6064 GB, free: 14.26 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.5021, allocations: 87.84 kB / 0.6065 GB, free: 14.18 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004276/0.5063, allocations: 3.936 MB / 0.6104 GB, free: 10.1 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006612/0.507, allocations: 79.12 kB / 0.6104 GB, free: 10.02 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.789e-05/0.5072, allocations: 28 kB / 0.6105 GB, free: 9.992 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 4 (load_2_2.controller.local_reset,load_2_1.controller.local_reset,load_1_2.controller.local_reset,load_1_1.controller.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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 {(7,30,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006305/0.5078, allocations: 269.5 kB / 0.6107 GB, free: 9.719 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.5079, allocations: 47.44 kB / 0.6108 GB, free: 9.672 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.5081, allocations: 65.23 kB / 0.6108 GB, free: 9.609 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.5082, allocations: 4 kB / 0.6108 GB, free: 9.605 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.544e-05/0.5082, allocations: 8 kB / 0.6109 GB, free: 9.598 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/0.5082, allocations: 3.984 kB / 0.6109 GB, free: 9.594 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.5094, allocations: 0.798 MB / 0.6116 GB, free: 8.746 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.5094, allocations: 0 / 0.6116 GB, free: 8.746 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.5096, allocations: 27.98 kB / 0.6117 GB, free: 8.719 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007145/0.5103, allocations: 368.7 kB / 0.612 GB, free: 8.355 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.5103, allocations: 16 kB / 0.612 GB, free: 8.34 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003798/0.5141, allocations: 3.943 MB / 0.6159 GB, free: 4.262 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5141, allocations: 0 / 0.6159 GB, free: 4.262 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.5155, allocations: 1.127 MB / 0.617 GB, free: 3.109 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 8.757e-05/0.5156, allocations: 128.5 kB / 0.6171 GB, free: 2.965 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.401e-05/0.5156, allocations: 19.98 kB / 0.6171 GB, free: 2.945 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.5159, allocations: 15.94 kB / 0.6171 GB, free: 2.93 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/0.5159, allocations: 40.38 kB / 0.6172 GB, free: 2.891 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.516, allocations: 12 kB / 0.6172 GB, free: 2.879 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0002526/0.5162, allocations: 319.1 kB / 0.6175 GB, free: 2.566 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5162, allocations: 3.938 kB / 0.6175 GB, free: 2.562 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0008325/0.5171, allocations: 314.8 kB / 0.6178 GB, free: 2.254 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (load_1_1.controller.y,load_1_2.controller.y,load_2_1.controller.y,load_2_2.controller.y) * 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 (17): * Single equations (assignments): 16 * 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 {(7,30,77.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001544/0.5186, allocations: 1.692 MB / 0.6194 GB, free: 0.5273 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.5199, allocations: 0.8859 MB / 0.6203 GB, free: 15.63 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5199, allocations: 0 / 0.6203 GB, free: 15.63 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0008602/0.5208, allocations: 0.5997 MB / 0.6209 GB, free: 15.02 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.5213, allocations: 61.48 kB / 0.621 GB, free: 14.96 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008353/0.5297, allocations: 6.874 MB / 0.6277 GB, free: 7.801 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/0.5303, allocations: 0.9767 MB / 0.6286 GB, free: 6.797 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.5305, allocations: 48.7 kB / 0.6287 GB, free: 6.746 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/0.5308, allocations: 299.3 kB / 0.629 GB, free: 6.453 MB / 478.3 MB Notification: Performance of SimCode: time 7.22e-07/0.5308, allocations: 0 / 0.629 GB, free: 6.453 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.5584, allocations: 13.98 MB / 0.6426 GB, free: 8.746 MB / 494.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/0.5587, allocations: 296.6 kB / 0.6429 GB, free: 8.367 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/2.512, allocations: 0 / 0.6429 GB, free: 8.367 MB / 494.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinearIndividual_N_2_M_2.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches