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.0008713/0.0008713, allocations: 89.61 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.0008893/0.0008892, allocations: 182.5 kB / 17.56 MB, free: 6.203 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.24/1.24, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.863/0.863, allocations: 120.5 MB / 413.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002747/0.0002747, allocations: 4 kB / 0.495 GB, free: 11.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.466, allocations: 82.84 MB / 0.5759 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2): time 0.002558/0.4686, allocations: 3.221 MB / 0.5791 GB, free: 38.73 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.4697, allocations: 0.8623 MB / 0.5799 GB, free: 38.03 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.4699, allocations: 9.625 kB / 0.5799 GB, free: 38.03 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0004402/0.4703, allocations: 195.6 kB / 0.5801 GB, free: 37.9 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.4705, allocations: 77.05 kB / 0.5802 GB, free: 37.84 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009599/0.4715, allocations: 0.6327 MB / 0.5808 GB, free: 37.38 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000797/0.4723, allocations: 1.032 MB / 0.5818 GB, free: 36.77 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000793/0.4731, allocations: 0.7981 MB / 0.5826 GB, free: 36.38 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003502/0.4734, allocations: 347.6 kB / 0.5829 GB, free: 36.2 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005147/0.474, allocations: 0.4929 MB / 0.5834 GB, free: 35.9 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.897e-05/0.474, allocations: 50.06 kB / 0.5834 GB, free: 35.9 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003574/0.4744, allocations: 165.7 kB / 0.5836 GB, free: 35.85 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 9.671e-05/0.4745, allocations: 166.6 kB / 0.5837 GB, free: 35.72 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003639/0.4749, allocations: 0.5112 MB / 0.5842 GB, free: 35.36 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.4761, allocations: 1.773 MB / 0.586 GB, free: 34.16 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4761, allocations: 0 / 0.586 GB, free: 34.16 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4761, allocations: 1.25 kB / 0.586 GB, free: 34.16 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.4761, allocations: 0 / 0.586 GB, free: 34.16 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.005626/0.4817, allocations: 2.546 MB / 0.5885 GB, free: 32.59 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4818, allocations: 8.875 kB / 0.5885 GB, free: 32.59 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003078/0.4821, allocations: 193.2 kB / 0.5887 GB, free: 32.45 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002203/0.4823, allocations: 110.7 kB / 0.5888 GB, free: 32.39 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.4834, allocations: 0.8041 MB / 0.5896 GB, free: 31.86 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.046e-05/0.4834, allocations: 89.42 kB / 0.5896 GB, free: 31.82 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.4836, allocations: 122.7 kB / 0.5898 GB, free: 31.78 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/0.4858, allocations: 1.836 MB / 0.5915 GB, free: 30.04 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.4858, allocations: 3.938 kB / 0.5915 GB, free: 30.03 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.4859, allocations: 51.98 kB / 0.5916 GB, free: 29.98 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.486, allocations: 32 kB / 0.5916 GB, free: 29.95 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.4878, allocations: 1.621 MB / 0.5932 GB, free: 28.32 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005971/0.4938, allocations: 6.058 MB / 0.5991 GB, free: 22.1 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.495, allocations: 0.9933 MB / 0.6001 GB, free: 21.1 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005018/0.4955, allocations: 0.5533 MB / 0.6006 GB, free: 20.54 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.4955, allocations: 8.375 kB / 0.6006 GB, free: 20.53 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.4955, allocations: 46.94 kB / 0.6007 GB, free: 20.47 MB / 462.3 MB Notification: Performance of pre-optimization done (n=53): time 2.475e-06/0.4955, allocations: 0 / 0.6007 GB, free: 20.47 MB / 462.3 MB Notification: Performance of matching and sorting (n=53): time 0.00628/0.5018, allocations: 3.426 MB / 0.604 GB, free: 17.02 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.5019, allocations: 63.84 kB / 0.6041 GB, free: 16.94 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005801/0.5025, allocations: 0.611 MB / 0.6047 GB, free: 16.32 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.5025, allocations: 33.7 kB / 0.6047 GB, free: 16.29 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.5027, allocations: 0.4902 MB / 0.6052 GB, free: 15.79 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.811e-05/0.5028, allocations: 193.3 kB / 0.6054 GB, free: 15.59 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.199e-05/0.5029, allocations: 69.62 kB / 0.6055 GB, free: 15.52 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.091e-05/0.503, allocations: 370.8 kB / 0.6058 GB, free: 15.15 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.5034, allocations: 425.7 kB / 0.6062 GB, free: 14.73 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004728/0.5038, allocations: 0.6557 MB / 0.6069 GB, free: 13.97 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009434/0.5048, allocations: 1.154 MB / 0.608 GB, free: 12.71 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5048, allocations: 4 kB / 0.608 GB, free: 12.71 MB / 462.3 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001967/0.5068, allocations: 1.709 MB / 0.6097 GB, free: 10.99 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.5068, allocations: 8 kB / 0.6097 GB, free: 10.98 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.5068, allocations: 4 kB / 0.6097 GB, free: 10.98 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.5079, allocations: 0.5943 MB / 0.6102 GB, free: 10.38 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.5082, allocations: 127.8 kB / 0.6104 GB, free: 10.26 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006554/0.5147, allocations: 6.262 MB / 0.6165 GB, free: 3.852 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009389/0.5158, allocations: 174.9 kB / 0.6167 GB, free: 3.68 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.5159, allocations: 32 kB / 0.6167 GB, free: 3.648 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.001175/0.5171, allocations: 0.495 MB / 0.6172 GB, free: 3.145 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.5173, allocations: 47.44 kB / 0.6172 GB, free: 3.098 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.5175, allocations: 97.23 kB / 0.6173 GB, free: 3.004 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5175, allocations: 4 kB / 0.6173 GB, free: 3 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/0.5175, allocations: 11.94 kB / 0.6173 GB, free: 2.988 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5175, allocations: 7.922 kB / 0.6173 GB, free: 2.98 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008571/0.5184, allocations: 1.048 MB / 0.6183 GB, free: 1.883 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5184, allocations: 0 / 0.6183 GB, free: 1.883 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.5186, allocations: 67.91 kB / 0.6184 GB, free: 1.816 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009585/0.5196, allocations: 0.5942 MB / 0.619 GB, free: 1.219 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/0.5196, allocations: 12 kB / 0.619 GB, free: 1.207 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007223/0.5268, allocations: 6.261 MB / 0.6251 GB, free: 10.81 MB / 478.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5269, allocations: 0 / 0.6251 GB, free: 10.81 MB / 478.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/0.5297, allocations: 2.095 MB / 0.6272 GB, free: 8.691 MB / 478.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.5299, allocations: 144.5 kB / 0.6273 GB, free: 8.531 MB / 478.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-05/0.53, allocations: 16 kB / 0.6273 GB, free: 8.516 MB / 478.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/0.5304, allocations: 111.7 kB / 0.6274 GB, free: 8.406 MB / 478.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.5305, allocations: 48.31 kB / 0.6275 GB, free: 8.359 MB / 478.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.5305, allocations: 15.98 kB / 0.6275 GB, free: 8.344 MB / 478.3 MB Notification: Performance of sorting global known variables: time 0.0005127/0.5311, allocations: 443 kB / 0.6279 GB, free: 7.91 MB / 478.3 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5311, allocations: 0 / 0.6279 GB, free: 7.91 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.001079/0.5321, allocations: 362.8 kB / 0.6283 GB, free: 7.555 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.003104/0.5353, allocations: 2.66 MB / 0.6309 GB, free: 4.859 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.002185/0.5375, allocations: 1.432 MB / 0.6323 GB, free: 3.418 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5375, allocations: 4 kB / 0.6323 GB, free: 3.414 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.5388, allocations: 0.9081 MB / 0.6331 GB, free: 2.488 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005775/0.5394, allocations: 65.47 kB / 0.6332 GB, free: 2.422 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.5524, allocations: 10.3 MB / 0.6433 GB, free: 7.828 MB / 494.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008877/0.5533, allocations: 1.344 MB / 0.6446 GB, free: 6.457 MB / 494.3 MB Notification: Performance of simCode: alias equations: time 0.0004283/0.5538, allocations: 236.6 kB / 0.6448 GB, free: 6.223 MB / 494.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/0.5542, allocations: 295.3 kB / 0.6451 GB, free: 5.938 MB / 494.3 MB Notification: Performance of SimCode: time 1.082e-06/0.5542, allocations: 0 / 0.6451 GB, free: 5.938 MB / 494.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/0.5896, allocations: 18.22 MB / 0.6629 GB, free: 3.984 MB / 0.4983 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.5899, allocations: 284.7 kB / 0.6632 GB, free: 3.602 MB / 0.4983 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.566, allocations: 0 / 0.6632 GB, free: 3.602 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