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.001144/0.001144, allocations: 112.2 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.001118/0.001118, 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.185/1.185, allocations: 222.9 MB / 241.1 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.793/0.793, allocations: 119.3 MB / 410.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 55.91 kB / 0.4904 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4558, allocations: 80.69 MB / 0.5691 GB, free: 43.42 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinearIndividual_N_2_M_2): time 0.005746/0.4616, allocations: 7.972 MB / 0.5769 GB, free: 37.03 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.4635, allocations: 1.46 MB / 0.5784 GB, free: 35.82 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003248/0.4639, allocations: 32.88 kB / 0.5784 GB, free: 35.82 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0006942/0.4646, allocations: 394.1 kB / 0.5788 GB, free: 35.55 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000429/0.465, allocations: 225.8 kB / 0.579 GB, free: 35.36 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.4662, allocations: 0.8349 MB / 0.5798 GB, free: 34.74 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0006918/0.4669, allocations: 0.952 MB / 0.5807 GB, free: 34.18 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005656/0.4675, allocations: 0.5303 MB / 0.5812 GB, free: 33.86 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002835/0.4678, allocations: 389.2 kB / 0.5816 GB, free: 33.63 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005013/0.4683, allocations: 0.5498 MB / 0.5822 GB, free: 33.27 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.4684, allocations: 81.47 kB / 0.5822 GB, free: 33.27 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000395/0.4688, allocations: 197.1 kB / 0.5824 GB, free: 33.22 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.4689, allocations: 205.6 kB / 0.5826 GB, free: 33.05 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.4693, allocations: 0.5293 MB / 0.5831 GB, free: 32.68 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.4703, allocations: 1.622 MB / 0.5847 GB, free: 31.41 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4703, allocations: 0 / 0.5847 GB, free: 31.41 MB / 462.3 MB Notification: Performance of FrontEnd: time 6.41e-07/0.4703, allocations: 1.25 kB / 0.5847 GB, free: 31.41 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.4703, allocations: 0 / 0.5847 GB, free: 31.41 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.003969/0.4743, allocations: 1.791 MB / 0.5865 GB, free: 30.15 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4743, allocations: 10.09 kB / 0.5865 GB, free: 30.15 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/0.4745, allocations: 179.5 kB / 0.5866 GB, free: 30 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.4747, allocations: 111.1 kB / 0.5868 GB, free: 29.95 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005655/0.4753, allocations: 0.563 MB / 0.5873 GB, free: 29.43 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/0.4753, allocations: 91.12 kB / 0.5874 GB, free: 29.39 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.4755, allocations: 121.2 kB / 0.5875 GB, free: 29.34 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.477, allocations: 1.161 MB / 0.5886 GB, free: 28.6 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.477, allocations: 5.062 kB / 0.5886 GB, free: 28.6 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.463e-05/0.4771, allocations: 46.28 kB / 0.5887 GB, free: 28.56 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.4771, allocations: 29 kB / 0.5887 GB, free: 28.56 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.4784, allocations: 0.8621 MB / 0.5896 GB, free: 28.12 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003969/0.4823, allocations: 4.472 MB / 0.5939 GB, free: 24.03 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007216/0.4831, allocations: 0.5315 MB / 0.5944 GB, free: 23.49 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.4834, allocations: 310.8 kB / 0.5947 GB, free: 23.18 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.4834, allocations: 12.38 kB / 0.5948 GB, free: 23.17 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.4834, allocations: 39 kB / 0.5948 GB, free: 23.12 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 2.385e-06/0.4834, allocations: 0 / 0.5948 GB, free: 23.12 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.004295/0.4877, allocations: 1.772 MB / 0.5965 GB, free: 21.32 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.4878, allocations: 55.84 kB / 0.5966 GB, free: 21.25 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.4881, allocations: 461.7 kB / 0.597 GB, free: 20.79 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.4881, allocations: 33.7 kB / 0.597 GB, free: 20.75 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.4883, allocations: 498 kB / 0.5975 GB, free: 20.26 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 8.083e-05/0.4884, allocations: 185.3 kB / 0.5977 GB, free: 20.07 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.4885, allocations: 126.5 kB / 0.5978 GB, free: 19.95 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.672e-05/0.4886, allocations: 362.7 kB / 0.5982 GB, free: 19.58 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.4888, allocations: 205.9 kB / 0.5984 GB, free: 19.38 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/0.4891, allocations: 427.7 kB / 0.5988 GB, free: 18.86 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005658/0.4897, allocations: 0.6783 MB / 0.5994 GB, free: 18.08 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.4897, allocations: 4 kB / 0.5994 GB, free: 18.08 MB / 462.3 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001235/0.4909, allocations: 0.9909 MB / 0.6004 GB, free: 17.08 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.491, allocations: 8 kB / 0.6004 GB, free: 17.07 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.491, allocations: 8.062 kB / 0.6004 GB, free: 17.06 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008606/0.4918, allocations: 388.6 kB / 0.6008 GB, free: 16.68 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.4921, allocations: 87.84 kB / 0.6009 GB, free: 16.59 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003855/0.4959, allocations: 3.905 MB / 0.6047 GB, free: 12.55 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/0.4962, allocations: 83.12 kB / 0.6048 GB, free: 12.46 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.4963, allocations: 28 kB / 0.6048 GB, free: 12.44 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.0002485/0.4965, allocations: 261.5 kB / 0.605 GB, free: 12.17 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.4966, allocations: 51.34 kB / 0.6051 GB, free: 12.12 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.466e-05/0.4967, allocations: 69.22 kB / 0.6052 GB, free: 12.05 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4967, allocations: 4 kB / 0.6052 GB, free: 12.05 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/0.4967, allocations: 8 kB / 0.6052 GB, free: 12.04 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4967, allocations: 7.922 kB / 0.6052 GB, free: 12.04 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006197/0.4974, allocations: 0.8019 MB / 0.606 GB, free: 11.18 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4974, allocations: 0 / 0.606 GB, free: 11.18 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.4975, allocations: 23.98 kB / 0.606 GB, free: 11.16 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000756/0.4983, allocations: 372.7 kB / 0.6063 GB, free: 10.79 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.4983, allocations: 12 kB / 0.6063 GB, free: 10.78 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003719/0.502, allocations: 3.924 MB / 0.6102 GB, free: 6.719 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.502, allocations: 3.984 kB / 0.6102 GB, free: 6.715 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.5034, allocations: 1.123 MB / 0.6113 GB, free: 5.566 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.5035, allocations: 140.4 kB / 0.6114 GB, free: 5.41 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.272e-05/0.5035, allocations: 4 kB / 0.6114 GB, free: 5.406 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.5037, allocations: 15.94 kB / 0.6114 GB, free: 5.391 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.5038, allocations: 52.3 kB / 0.6115 GB, free: 5.34 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.5038, allocations: 12 kB / 0.6115 GB, free: 5.328 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0002371/0.5041, allocations: 319.1 kB / 0.6118 GB, free: 5.02 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5041, allocations: 0 / 0.6118 GB, free: 5.02 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007711/0.5049, allocations: 310.9 kB / 0.6121 GB, free: 4.715 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.001519/0.5064, allocations: 1.684 MB / 0.6137 GB, free: 2.996 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.5075, allocations: 0.89 MB / 0.6146 GB, free: 2.094 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5075, allocations: 3.938 kB / 0.6146 GB, free: 2.09 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0006789/0.5082, allocations: 0.5998 MB / 0.6152 GB, free: 1.48 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.5087, allocations: 61.42 kB / 0.6153 GB, free: 1.418 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007208/0.5159, allocations: 6.848 MB / 0.6219 GB, free: 10.29 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.5164, allocations: 0.9728 MB / 0.6229 GB, free: 9.289 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.0001446/0.5166, allocations: 52.77 kB / 0.6229 GB, free: 9.234 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/0.5168, allocations: 298 kB / 0.6232 GB, free: 8.945 MB / 478.3 MB Notification: Performance of SimCode: time 5.71e-07/0.5168, allocations: 0 / 0.6232 GB, free: 8.945 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.5414, allocations: 14.29 MB / 0.6372 GB, free: 10.91 MB / 494.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/0.5416, allocations: 302 kB / 0.6375 GB, free: 10.52 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.099/2.641, allocations: 2.578 kB / 0.6375 GB, free: 10.52 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