Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_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.DistributionSystemLinear_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_N_2_M_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_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.001174/0.001174, allocations: 101 kB / 16.5 MB, free: 6.688 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.001119/0.001119, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.199/1.199, 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 0.8239/0.8239, allocations: 119.3 MB / 410.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 59.91 kB / 0.4904 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4649, allocations: 80.68 MB / 0.5692 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2): time 0.003354/0.4683, allocations: 3.636 MB / 0.5727 GB, free: 40.62 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009304/0.4692, allocations: 0.8753 MB / 0.5736 GB, free: 39.91 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.4694, allocations: 13.5 kB / 0.5736 GB, free: 39.91 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000436/0.4698, allocations: 196.2 kB / 0.5738 GB, free: 39.79 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.4699, allocations: 76.11 kB / 0.5738 GB, free: 39.72 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009018/0.4709, allocations: 0.6477 MB / 0.5745 GB, free: 39.25 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007629/0.4716, allocations: 1.023 MB / 0.5755 GB, free: 38.65 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007406/0.4724, allocations: 0.8212 MB / 0.5763 GB, free: 38.23 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.4726, allocations: 403.5 kB / 0.5767 GB, free: 38.01 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000486/0.4731, allocations: 0.5696 MB / 0.5772 GB, free: 37.64 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.4732, allocations: 81.94 kB / 0.5773 GB, free: 37.64 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.4736, allocations: 200 kB / 0.5775 GB, free: 37.59 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.4737, allocations: 208.3 kB / 0.5777 GB, free: 37.42 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003635/0.4741, allocations: 0.535 MB / 0.5782 GB, free: 37.05 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.4753, allocations: 1.83 MB / 0.58 GB, free: 35.8 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4753, allocations: 4 kB / 0.58 GB, free: 35.8 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4753, allocations: 0.9062 kB / 0.58 GB, free: 35.8 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.4753, allocations: 7.938 kB / 0.58 GB, free: 35.79 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.005317/0.4806, allocations: 2.763 MB / 0.5827 GB, free: 34.09 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.4807, allocations: 8.781 kB / 0.5827 GB, free: 34.09 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001901/0.4809, allocations: 189.2 kB / 0.5829 GB, free: 33.95 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.4811, allocations: 109.9 kB / 0.583 GB, free: 33.89 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.4821, allocations: 0.7958 MB / 0.5838 GB, free: 33.37 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.036e-05/0.4822, allocations: 91.02 kB / 0.5839 GB, free: 33.32 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.4823, allocations: 117.5 kB / 0.584 GB, free: 33.29 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.4847, allocations: 1.845 MB / 0.5858 GB, free: 32.27 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.4847, allocations: 5.219 kB / 0.5858 GB, free: 32.27 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.4848, allocations: 47.06 kB / 0.5858 GB, free: 32.23 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.4849, allocations: 28.31 kB / 0.5858 GB, free: 32.23 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.4867, allocations: 1.619 MB / 0.5874 GB, free: 30.98 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005425/0.4922, allocations: 6.039 MB / 0.5933 GB, free: 24.79 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.4933, allocations: 0.9894 MB / 0.5943 GB, free: 23.79 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004867/0.4938, allocations: 0.5533 MB / 0.5948 GB, free: 23.23 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.4938, allocations: 8.375 kB / 0.5948 GB, free: 23.22 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.4938, allocations: 42.94 kB / 0.5949 GB, free: 23.16 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 1.593e-06/0.4939, allocations: 4 kB / 0.5949 GB, free: 23.16 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.005894/0.4997, allocations: 3.404 MB / 0.5982 GB, free: 19.73 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.4998, allocations: 55.84 kB / 0.5983 GB, free: 19.66 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/0.5003, allocations: 0.6226 MB / 0.5989 GB, free: 19.03 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.5003, allocations: 41.64 kB / 0.5989 GB, free: 18.98 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.5005, allocations: 490.1 kB / 0.5994 GB, free: 18.5 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.531e-05/0.5006, allocations: 189.3 kB / 0.5996 GB, free: 18.31 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.5008, allocations: 150.6 kB / 0.5997 GB, free: 18.16 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.943e-05/0.5009, allocations: 370.8 kB / 0.6001 GB, free: 17.79 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004106/0.5013, allocations: 425.7 kB / 0.6005 GB, free: 17.37 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004776/0.5018, allocations: 0.6596 MB / 0.6011 GB, free: 16.61 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009357/0.5027, allocations: 1.147 MB / 0.6022 GB, free: 15.36 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.5027, allocations: 8 kB / 0.6022 GB, free: 15.35 MB / 462.3 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001896/0.5046, allocations: 1.709 MB / 0.6039 GB, free: 13.63 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.5046, allocations: 8 kB / 0.6039 GB, free: 13.62 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.5047, allocations: 8 kB / 0.6039 GB, free: 13.61 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.5057, allocations: 0.6023 MB / 0.6045 GB, free: 13.01 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.506, allocations: 115.8 kB / 0.6046 GB, free: 12.89 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005798/0.5118, allocations: 6.242 MB / 0.6107 GB, free: 6.508 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004408/0.5123, allocations: 182.9 kB / 0.6109 GB, free: 6.328 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.5123, allocations: 31.94 kB / 0.6109 GB, free: 6.297 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.0004787/0.5128, allocations: 0.4935 MB / 0.6114 GB, free: 5.793 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.597e-05/0.5129, allocations: 47.34 kB / 0.6114 GB, free: 5.746 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.513, allocations: 105.2 kB / 0.6115 GB, free: 5.645 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.513, allocations: 4 kB / 0.6115 GB, free: 5.641 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/0.513, allocations: 8 kB / 0.6116 GB, free: 5.633 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5131, allocations: 7.984 kB / 0.6116 GB, free: 5.625 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000824/0.5139, allocations: 1.052 MB / 0.6126 GB, free: 4.523 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5139, allocations: 3.984 kB / 0.6126 GB, free: 4.52 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.5141, allocations: 59.92 kB / 0.6126 GB, free: 4.461 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009833/0.5151, allocations: 0.5786 MB / 0.6132 GB, free: 3.879 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.5151, allocations: 16 kB / 0.6132 GB, free: 3.863 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006184/0.5213, allocations: 6.245 MB / 0.6193 GB, free: 13.48 MB / 478.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.5213, allocations: 4 kB / 0.6193 GB, free: 13.47 MB / 478.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/0.5239, allocations: 2.087 MB / 0.6214 GB, free: 11.36 MB / 478.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.524, allocations: 148.5 kB / 0.6215 GB, free: 11.2 MB / 478.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/0.5241, allocations: 15.98 kB / 0.6215 GB, free: 11.18 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/0.5245, allocations: 119.7 kB / 0.6216 GB, free: 11.07 MB / 478.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.5246, allocations: 48.3 kB / 0.6217 GB, free: 11.02 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.5246, allocations: 12 kB / 0.6217 GB, free: 11.01 MB / 478.3 MB Notification: Performance of sorting global known variables: time 0.000445/0.5251, allocations: 443 kB / 0.6221 GB, free: 10.58 MB / 478.3 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5251, allocations: 0 / 0.6221 GB, free: 10.58 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0009553/0.5261, allocations: 366.8 kB / 0.6225 GB, free: 10.22 MB / 478.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.002859/0.5289, allocations: 2.668 MB / 0.6251 GB, free: 7.516 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.5308, allocations: 1.424 MB / 0.6265 GB, free: 6.078 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5309, allocations: 4 kB / 0.6265 GB, free: 6.074 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.532, allocations: 0.9042 MB / 0.6274 GB, free: 5.156 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.5325, allocations: 71.55 kB / 0.6274 GB, free: 5.086 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/0.544, allocations: 10.27 MB / 0.6375 GB, free: 10.53 MB / 494.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007745/0.5448, allocations: 1.344 MB / 0.6388 GB, free: 9.156 MB / 494.3 MB Notification: Performance of simCode: alias equations: time 0.0003986/0.5452, allocations: 236.6 kB / 0.639 GB, free: 8.922 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/0.5455, allocations: 287.3 kB / 0.6393 GB, free: 8.645 MB / 494.3 MB Notification: Performance of SimCode: time 5.11e-07/0.5455, allocations: 0 / 0.6393 GB, free: 8.645 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.5745, allocations: 18.74 MB / 0.6576 GB, free: 6.148 MB / 0.4983 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/0.5748, allocations: 285.2 kB / 0.6578 GB, free: 5.766 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.111/2.686, allocations: 11.03 kB / 0.6578 GB, free: 5.758 MB / 0.4983 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_N_2_M_2_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_N_2_M_2.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches