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.001261/0.001261, allocations: 107.3 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.001199/0.001199, 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 0.9441/0.9441, allocations: 119.3 MB / 411 MB, free: 9.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001238, allocations: 63.89 kB / 0.491 GB, free: 13.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5424/0.5437, allocations: 80.69 MB / 0.5698 GB, free: 43.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2): time 0.00385/0.5476, allocations: 3.613 MB / 0.5734 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.5488, allocations: 0.8851 MB / 0.5742 GB, free: 39.73 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.549, allocations: 13.16 kB / 0.5743 GB, free: 39.73 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0005121/0.5495, allocations: 221 kB / 0.5745 GB, free: 39.58 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.5498, allocations: 92.03 kB / 0.5746 GB, free: 39.5 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.5508, allocations: 0.6667 MB / 0.5752 GB, free: 39 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0008673/0.5517, allocations: 1.087 MB / 0.5763 GB, free: 38.36 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009434/0.5526, allocations: 0.9619 MB / 0.5772 GB, free: 37.91 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004086/0.553, allocations: 0.492 MB / 0.5777 GB, free: 37.66 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005646/0.5536, allocations: 0.6235 MB / 0.5783 GB, free: 37.28 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001887/0.5538, allocations: 114.7 kB / 0.5784 GB, free: 37.28 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005422/0.5544, allocations: 238.2 kB / 0.5786 GB, free: 37.22 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002021/0.5546, allocations: 257.3 kB / 0.5789 GB, free: 37.02 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0005732/0.5551, allocations: 0.591 MB / 0.5795 GB, free: 36.62 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.5565, allocations: 1.878 MB / 0.5813 GB, free: 35.34 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.5565, allocations: 0 / 0.5813 GB, free: 35.34 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5565, allocations: 0 / 0.5813 GB, free: 35.34 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.5566, allocations: 5.25 kB / 0.5813 GB, free: 35.34 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.005985/0.5626, allocations: 2.753 MB / 0.584 GB, free: 33.64 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.5626, allocations: 13.8 kB / 0.584 GB, free: 33.64 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002021/0.5628, allocations: 192.6 kB / 0.5842 GB, free: 33.5 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002292/0.5631, allocations: 110.4 kB / 0.5843 GB, free: 33.44 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.5642, allocations: 0.7963 MB / 0.5851 GB, free: 32.92 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.453e-05/0.5643, allocations: 91.02 kB / 0.5851 GB, free: 32.88 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.5645, allocations: 120.8 kB / 0.5853 GB, free: 32.83 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/0.5669, allocations: 1.839 MB / 0.5871 GB, free: 31.81 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.5669, allocations: 3.938 kB / 0.5871 GB, free: 31.8 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.567, allocations: 51.98 kB / 0.5871 GB, free: 31.75 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.567, allocations: 28 kB / 0.5871 GB, free: 31.73 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.5688, allocations: 1.613 MB / 0.5887 GB, free: 30.11 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005942/0.5747, allocations: 6.035 MB / 0.5946 GB, free: 23.91 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.5759, allocations: 1.001 MB / 0.5956 GB, free: 22.9 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004915/0.5764, allocations: 0.5494 MB / 0.5961 GB, free: 22.34 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.5765, allocations: 16.36 kB / 0.5961 GB, free: 22.33 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.5765, allocations: 39 kB / 0.5962 GB, free: 22.28 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 2.033e-06/0.5765, allocations: 0 / 0.5962 GB, free: 22.28 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.006219/0.5827, allocations: 3.406 MB / 0.5995 GB, free: 18.84 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.5828, allocations: 59.78 kB / 0.5996 GB, free: 18.77 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005854/0.5834, allocations: 0.6226 MB / 0.6002 GB, free: 18.14 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.5834, allocations: 37.7 kB / 0.6002 GB, free: 18.1 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.5836, allocations: 490.1 kB / 0.6007 GB, free: 17.61 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.5837, allocations: 193.3 kB / 0.6009 GB, free: 17.42 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.5839, allocations: 146.6 kB / 0.601 GB, free: 17.27 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.746e-05/0.584, allocations: 370.8 kB / 0.6013 GB, free: 16.9 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004103/0.5844, allocations: 429.7 kB / 0.6018 GB, free: 16.48 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005024/0.5849, allocations: 0.6517 MB / 0.6024 GB, free: 15.72 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009475/0.5859, allocations: 1.147 MB / 0.6035 GB, free: 14.47 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.5859, allocations: 7.938 kB / 0.6035 GB, free: 14.46 MB / 462.3 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002001/0.5879, allocations: 1.709 MB / 0.6052 GB, free: 12.75 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.5879, allocations: 8 kB / 0.6052 GB, free: 12.74 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.588, allocations: 8 kB / 0.6052 GB, free: 12.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.5891, allocations: 0.6024 MB / 0.6058 GB, free: 12.12 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.5894, allocations: 123.8 kB / 0.6059 GB, free: 12 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006324/0.5957, allocations: 6.764 MB / 0.6125 GB, free: 5.09 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005822/0.5963, allocations: 186.9 kB / 0.6127 GB, free: 4.906 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.5964, allocations: 28 kB / 0.6127 GB, free: 4.879 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.00057/0.597, allocations: 0.5015 MB / 0.6132 GB, free: 4.371 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.272e-05/0.5971, allocations: 43.44 kB / 0.6133 GB, free: 4.328 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.5972, allocations: 97.23 kB / 0.6133 GB, free: 4.234 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.5972, allocations: 7.984 kB / 0.6134 GB, free: 4.227 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.006e-05/0.5972, allocations: 8 kB / 0.6134 GB, free: 4.219 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5972, allocations: 3.938 kB / 0.6134 GB, free: 4.215 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008719/0.5981, allocations: 1.052 MB / 0.6144 GB, free: 3.113 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5981, allocations: 0 / 0.6144 GB, free: 3.113 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.5983, allocations: 63.92 kB / 0.6145 GB, free: 3.051 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009661/0.5993, allocations: 0.5942 MB / 0.615 GB, free: 2.453 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.5994, allocations: 12 kB / 0.615 GB, free: 2.441 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007202/0.6066, allocations: 6.753 MB / 0.6216 GB, free: 11.54 MB / 478.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6066, allocations: 4 kB / 0.6216 GB, free: 11.54 MB / 478.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/0.6094, allocations: 2.099 MB / 0.6237 GB, free: 9.418 MB / 478.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.6096, allocations: 152.3 kB / 0.6238 GB, free: 9.25 MB / 478.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.57e-05/0.6096, allocations: 8 kB / 0.6238 GB, free: 9.242 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/0.61, allocations: 111.8 kB / 0.624 GB, free: 9.133 MB / 478.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.6102, allocations: 48.38 kB / 0.624 GB, free: 9.086 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-05/0.6102, allocations: 8 kB / 0.624 GB, free: 9.078 MB / 478.3 MB Notification: Performance of sorting global known variables: time 0.0005112/0.6107, allocations: 447 kB / 0.6244 GB, free: 8.648 MB / 478.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6107, allocations: 4 kB / 0.6244 GB, free: 8.645 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.001113/0.6119, allocations: 362.8 kB / 0.6248 GB, free: 8.289 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.00302/0.6149, allocations: 2.672 MB / 0.6274 GB, free: 5.578 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.002344/0.6172, allocations: 1.549 MB / 0.6289 GB, free: 4.02 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6173, allocations: 0 / 0.6289 GB, free: 4.02 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.6185, allocations: 0.8926 MB / 0.6298 GB, free: 3.113 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005573/0.6191, allocations: 82.09 kB / 0.6299 GB, free: 3.031 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/0.631, allocations: 9.879 MB / 0.6395 GB, free: 8.863 MB / 494.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008382/0.6319, allocations: 1.34 MB / 0.6408 GB, free: 7.492 MB / 494.3 MB Notification: Performance of simCode: alias equations: time 0.000421/0.6323, allocations: 240.5 kB / 0.641 GB, free: 7.254 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003454/0.6327, allocations: 291.3 kB / 0.6413 GB, free: 6.973 MB / 494.3 MB Notification: Performance of SimCode: time 9.12e-07/0.6327, allocations: 4 kB / 0.6413 GB, free: 6.969 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04686/0.6795, allocations: 19.11 MB / 0.66 GB, free: 4.082 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.953/10.63, allocations: 9.469 kB / 0.66 GB, free: 4.074 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","/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