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.001254/0.001254, allocations: 109.6 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.00119/0.00119, 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.312/1.312, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.01/1.01, allocations: 119.3 MB / 411 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 59.91 kB / 0.4911 GB, free: 13.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5273/0.5286, allocations: 80.69 MB / 0.5699 GB, free: 43.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2): time 0.003664/0.5323, allocations: 3.608 MB / 0.5734 GB, free: 40.48 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.5336, allocations: 0.8922 MB / 0.5743 GB, free: 39.75 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.5338, allocations: 9.281 kB / 0.5743 GB, free: 39.75 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0005019/0.5343, allocations: 220.7 kB / 0.5745 GB, free: 39.6 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.5345, allocations: 100 kB / 0.5746 GB, free: 39.51 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.5355, allocations: 0.6663 MB / 0.5752 GB, free: 39.01 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008924/0.5364, allocations: 1.074 MB / 0.5763 GB, free: 38.38 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008802/0.5373, allocations: 0.9705 MB / 0.5772 GB, free: 37.92 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004417/0.5378, allocations: 0.4908 MB / 0.5777 GB, free: 37.67 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005719/0.5384, allocations: 0.6202 MB / 0.5783 GB, free: 37.29 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.5385, allocations: 112.8 kB / 0.5784 GB, free: 37.29 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005703/0.5391, allocations: 234.7 kB / 0.5786 GB, free: 37.24 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.5393, allocations: 266.2 kB / 0.5789 GB, free: 37.04 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0005739/0.5399, allocations: 0.5873 MB / 0.5795 GB, free: 36.63 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.5414, allocations: 1.874 MB / 0.5813 GB, free: 35.36 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5414, allocations: 0 / 0.5813 GB, free: 35.36 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5414, allocations: 0 / 0.5813 GB, free: 35.36 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.165e-05/0.5414, allocations: 1.281 kB / 0.5813 GB, free: 35.36 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.006085/0.5475, allocations: 2.762 MB / 0.584 GB, free: 33.66 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.5476, allocations: 8.969 kB / 0.584 GB, free: 33.66 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002136/0.5478, allocations: 193.1 kB / 0.5842 GB, free: 33.52 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.548, allocations: 110.9 kB / 0.5843 GB, free: 33.46 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.5492, allocations: 0.7951 MB / 0.5851 GB, free: 32.94 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-05/0.5492, allocations: 91.61 kB / 0.5851 GB, free: 32.89 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.5494, allocations: 121.1 kB / 0.5853 GB, free: 32.85 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/0.5518, allocations: 1.837 MB / 0.5871 GB, free: 31.8 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.5518, allocations: 15.88 kB / 0.5871 GB, free: 31.78 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.552, allocations: 51.98 kB / 0.5871 GB, free: 31.73 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.552, allocations: 28 kB / 0.5871 GB, free: 31.7 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/0.5538, allocations: 1.625 MB / 0.5887 GB, free: 30.07 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006113/0.5599, allocations: 6.027 MB / 0.5946 GB, free: 23.88 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.5611, allocations: 0.9933 MB / 0.5956 GB, free: 22.88 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004968/0.5616, allocations: 0.5572 MB / 0.5961 GB, free: 22.32 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.5617, allocations: 8.375 kB / 0.5961 GB, free: 22.31 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.5617, allocations: 39 kB / 0.5962 GB, free: 22.26 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 3.366e-06/0.5617, allocations: 0 / 0.5962 GB, free: 22.26 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.006128/0.5679, allocations: 3.414 MB / 0.5995 GB, free: 18.81 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.5679, allocations: 55.84 kB / 0.5996 GB, free: 18.75 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006142/0.5685, allocations: 0.6187 MB / 0.6002 GB, free: 18.12 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.5686, allocations: 41.7 kB / 0.6002 GB, free: 18.07 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.5688, allocations: 498.1 kB / 0.6007 GB, free: 17.58 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.5689, allocations: 185.3 kB / 0.6009 GB, free: 17.39 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.5691, allocations: 146.6 kB / 0.601 GB, free: 17.25 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.036e-05/0.5691, allocations: 366.8 kB / 0.6014 GB, free: 16.88 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004158/0.5696, allocations: 429.7 kB / 0.6018 GB, free: 16.46 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004806/0.57, allocations: 0.6557 MB / 0.6024 GB, free: 15.7 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009467/0.571, allocations: 1.151 MB / 0.6035 GB, free: 14.45 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.571, allocations: 0 / 0.6035 GB, free: 14.45 MB / 462.3 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001981/0.573, allocations: 1.705 MB / 0.6052 GB, free: 12.73 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.573, allocations: 8 kB / 0.6052 GB, free: 12.72 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.573, allocations: 12.06 kB / 0.6052 GB, free: 12.71 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.5741, allocations: 0.602 MB / 0.6058 GB, free: 12.11 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.5744, allocations: 123.8 kB / 0.6059 GB, free: 11.98 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006387/0.5808, allocations: 6.764 MB / 0.6125 GB, free: 5.07 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006405/0.5815, allocations: 182.9 kB / 0.6127 GB, free: 4.891 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.15e-05/0.5815, allocations: 28 kB / 0.6127 GB, free: 4.863 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.0006285/0.5822, allocations: 0.4937 MB / 0.6132 GB, free: 4.363 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.739e-05/0.5823, allocations: 47.44 kB / 0.6133 GB, free: 4.316 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.5824, allocations: 97.23 kB / 0.6133 GB, free: 4.223 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5824, allocations: 8 kB / 0.6134 GB, free: 4.215 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.277e-05/0.5824, allocations: 8 kB / 0.6134 GB, free: 4.207 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.5825, allocations: 7.922 kB / 0.6134 GB, free: 4.199 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008847/0.5833, allocations: 1.044 MB / 0.6144 GB, free: 3.105 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5834, allocations: 8 kB / 0.6144 GB, free: 3.098 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.5836, allocations: 67.78 kB / 0.6145 GB, free: 3.031 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009742/0.5845, allocations: 0.5942 MB / 0.615 GB, free: 2.434 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.5846, allocations: 16 kB / 0.6151 GB, free: 2.418 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007504/0.5921, allocations: 6.756 MB / 0.6217 GB, free: 11.52 MB / 478.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5921, allocations: 4 kB / 0.6217 GB, free: 11.51 MB / 478.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003501/0.5957, allocations: 2.091 MB / 0.6237 GB, free: 9.398 MB / 478.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004508/0.5962, allocations: 148.4 kB / 0.6238 GB, free: 9.234 MB / 478.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/0.5964, allocations: 15.98 kB / 0.6239 GB, free: 9.219 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006713/0.5971, allocations: 115.8 kB / 0.624 GB, free: 9.105 MB / 478.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002746/0.5974, allocations: 44.38 kB / 0.624 GB, free: 9.062 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.882e-05/0.5976, allocations: 12 kB / 0.624 GB, free: 9.051 MB / 478.3 MB Notification: Performance of sorting global known variables: time 0.0008503/0.5984, allocations: 447 kB / 0.6244 GB, free: 8.621 MB / 478.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5984, allocations: 0 / 0.6244 GB, free: 8.621 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.001149/0.5996, allocations: 362.8 kB / 0.6248 GB, free: 8.266 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.003076/0.6027, allocations: 2.664 MB / 0.6274 GB, free: 5.562 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.002272/0.605, allocations: 1.538 MB / 0.6289 GB, free: 4.016 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.605, allocations: 0 / 0.6289 GB, free: 4.016 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.6062, allocations: 0.9043 MB / 0.6298 GB, free: 3.098 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005436/0.6068, allocations: 71.45 kB / 0.6298 GB, free: 3.031 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/0.6194, allocations: 9.901 MB / 0.6395 GB, free: 8.84 MB / 494.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009665/0.6205, allocations: 1.34 MB / 0.6408 GB, free: 7.469 MB / 494.3 MB Notification: Performance of simCode: alias equations: time 0.0004369/0.6209, allocations: 236.6 kB / 0.641 GB, free: 7.234 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003783/0.6213, allocations: 291.3 kB / 0.6413 GB, free: 6.953 MB / 494.3 MB Notification: Performance of SimCode: time 1.152e-06/0.6213, allocations: 0 / 0.6413 GB, free: 6.953 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04356/0.6649, allocations: 19.11 MB / 0.66 GB, free: 4.059 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.844/10.51, allocations: 25.16 kB / 0.66 GB, free: 4.039 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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches